storaged-project / udisks

The UDisks project provides a daemon, tools and libraries to access and manipulate disks, storage devices and technologies.

Home Page:https://storaged.org/doc/udisks2-api/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VolumeGroup.Delete doesn't remove wiped PVs from LVM devices file

vojtechtrefny opened this issue · comments

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.