VolumeGroup.Delete doesn't remove wiped PVs from LVM devices file
vojtechtrefny opened this issue · comments
Vojtech Trefny commented
When running org.freedesktop.UDisks2.VolumeGroup.Delete
with wipe
set to true, the PV header is removed from the PVs with wipefs
(bd_fs_clean
to be precise) and not with pvremove
so the PVs are not removed from the new LVM devices file /etc/lvm/devices/system.device
this leaves invalid devices entries in the file that needs to be removed manually.