Description of problem: Getting an error with system-config-lvm-0.9.3-1.0 when attempting to remove a logical volume which is currently in use (in this case, / was on the LV I was trying to remove.) Looks like some more traps are needed to notify the user they are attempting to remove an LV currently in use, as well as "errorMessage" needs to be defined. Can't remove open logical volume "LogVol01" Traceback (most recent call last): File "/usr/share/system-config-lvm/InputController.py", line 365, in on_lv_rm errorMessage(e.getMessage()) NameError: global name 'errorMessage' is not defined Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This is actually two bugs - the 'global name errorMessage not defined' is now fixed in 0.9.4-1.0, but the lv rm portion of this report still needs looking into. Note to self!
This issue will be ready for QA on or before 11-05-04
Will be checked in today, 11-10-04 :-/
The errorMessage issue is fixed for this ticket, and now if you try and remove an LV with a mounted filesystem on it, you are warned. Here is an example warning message: "BIG WARNING: Logical Volume /dev/adder/NewLV has an ext2 file system on it and is currently mounted on /lv_test_mnt. Are you absolutely certain that you wish to discard the data on this mounted filesystem?"
Oops: Forgot to say that this fix is in the upcoming 0.9.10-1.0 build
Verified in system-config-lvm-0.9.11-1.0.