Closed smira closed 1 week ago
need tests?
need tests?
yes... good idea, I will do
need tests?
yes... good idea, I will do
added some tests for secondary disks detection
The test works (when using encrypted volumes):
volumes.go:174: disk: dm-0 secondaries: [vda]
volumes.go:174: disk: dm-1 secondaries: [vda]
/m
This is going to be used to detect disks that are safe to wipe.
For blockdevices, track secondaries as direct references, e.g. encrypted
STATE
partition might have secondaryvda5
.For disks, re-map secondaries to be whole devices names, e.g.
vda
.