Bugzilla – Bug 105205
Deleting logical volume failed -3002
Last modified: 2006-11-20 18:52:10 UTC
code10 beta2 on i386 Installed on a single ide drive Created a 200M /boot partition created 2 5G LVM (type 8E) partitions as group "system" within "system" I created 2 logical volumes: / as "rot" and /usr as "user". continued the installation. next I attempted one of the yast2 test cases: - Try to edit a LVM partition w/ normal partitioner (it should tell you to first unlink the LVM volume) - Try to unlink a group/volume/partition from LV - Try to delete complete LVM stuff This TC would lead me to beleive that I'm not supposed to be able to delete a logical volume outside of the LVM code. I was infact allowed to do this (up until the error that is). The Critical Assumption on my part: I assume that if I delete a file system "logical volume" such as /usr, the files\directories will be moved to / and the deletion of the logical volume would be allowed. I attempted to delete the logical volume by simply pressing the delete button on the main partition screen ( not within LVM sub menu) I was asked to confirm the deletion and then an error popped up. error Storage modification failed system errorcode was -3002 Failure occured during the following action: deleting logical volume /dev/system/user Will attach yast logs
Created attachment 46323 [details] Logs
The Volume you wanted to delete was mounted to /usr. YaST2 tried umounting it but failed therefore the removal could not be done. I changed the code now to check for a mounted LVM volume the same way as for a mounted disk partition. The user will get a popup that tells him about the device being mounted.