Error wiping device when formatting lvm in gnome disks
@kparal
Submitted by Kamil Páral Link to original bug (#742847)
Description
I have standard installation of Fedora with lvm (in virtual machine). When trying to format (virtual) disk in Fedora 21 Live I get error:
Error wiping device: Command-line `wipefs -a "/dev/vda"' exited with non-zero exit status 1: wipefs: error: /dev/vda: probing initialization failed: Device or resource busy (udisks-error-quark, 0)
Fedora 21 Live activates lvm, but it is not recognized by gnome-disk-utility.
In other words, sometimes it is useful to be able to erase a disk which contains LVM partitions. However, gnome-disk-utility displays just a weird warning. It should either deactivate the volume group and erase the disk, or tell us (or somehow display) that the LVM partitions are in use (even though not mounted) and the user needs to manually deactivate the volume group first.
gnome-disk-utility-3.14.0-1.fc21.x86_64
Downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=969453 (some logs attached there, from an older version)
Version: 3.14.x