Bug 105205 - Deleting logical volume failed -3002
Summary: Deleting logical volume failed -3002
Status: VERIFIED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Beta 2
Hardware: i386 SUSE Other
: P5 - None : Normal
Target Milestone: Beta 3
Assignee: Thomas Fehr
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-17 14:13 UTC by Forgotten User vd_J2WSqeK
Modified: 2006-11-20 18:52 UTC (History)
0 users

See Also:
Found By: System Test
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Logs (254.33 KB, application/x-gtar)
2005-08-17 14:13 UTC, Forgotten User vd_J2WSqeK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User vd_J2WSqeK 2005-08-17 14:13:06 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
Comment 1 Forgotten User vd_J2WSqeK 2005-08-17 14:13:57 UTC
Created attachment 46323 [details]
Logs
Comment 2 Thomas Fehr 2005-08-18 09:28:09 UTC
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.