Description of problem:
1) When I create a snapshot of my home partition, then, I cannot delete the
snapshot partition. I get the following message:
'lvchange command failed. Command attempted "/usr/sbin/lvchange -an
/dev/VolGroup00/cliche" - System error message: Can't change snapshot logical
volume "cliche" '
But if I use the webmin LVM manager, I can delete the snapshot partition without
2) another time, I made a snapshot, but forgot to give it enough space. Then
after some works it came out of memory. Then I gave it more space, and after
tried to delete the snapshot. As before it was not possible to delete it. Then I
left the snapshot and reboot the PC. After the reboot, it was not possible to
start the machine: I got errors related to the snapshot LVM partition on
power-on and the boot process stopped and proposed me to correct errors with
fsck. after answering yes, the system never stopped to print y.
Fortunately, I am on a dual boot machine and could start ubuntu with which I
could delete the snapshot partition. Then all was OK with Fedora
Version-Release number of selected component (if applicable): 1.1.1-1.0.fc7
Steps to Reproduce:
1.create a snapshot of the home LVM partition
2.delete the snapshot:
Actual results:Fails to delete
This message is a reminder that Fedora 7 is nearing the end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 7. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '7'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 7's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 7 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug. If you are unable to change the version, please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. If possible, it is recommended that you try the newest available Fedora distribution to see if your bug still exists.
Please read the Release Notes for the newest Fedora distribution to make sure it will meet your needs:
The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Still exists in rawhide.
One possiblity. Don't try the deactivate step, but use a "force" option on
lvremove. This option will skip confirmation checks if the LV is active, but
before removal will deactivate the LV. This should be safe as long as the VG is
not clustered. In the clustered case, the "force" option would also skip a test
for activation on other cluster nodes, which is perhaps not desired here.
I believe this is the code:
def remove_lv(self, lvpath):
args = list()
cmdstr = ' '.join(args)
Other bzs covering same/similar issue:
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
The bug applies to fedora 10:
lvchange command failed. Command attempted: "/sbin/lvchange -an
/dev/vg1/lv1-snapshot" - System Error Message:
Can't change snapshot logical volume "testA1"
Step to reproduce the error (from system-config-lvm):
* Create a logical volume (don't even mount it).
* Create a snapshot of that LV.
* Select the snapshot
* Click on "Remove logical volume"
The problem also occurs when I run the command line manually
/sbin/lvchange -an /dev/vg1/lv1-snapshot
Use the command "lvremove VolumeGroupName/Snapshotname" from the
Created attachment 358065 [details]
Snapshot cannot be deactivated before its origin is deactivated. Workaround proposed by Frank is correct solution.
system-config-lvm-1.1.8-1.fc10 has been submitted as an update for Fedora 10.
system-config-lvm-1.1.9-1.fc10 has been submitted as an update for Fedora 10.
system-config-lvm-1.1.9-1.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update system-config-lvm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-8861
system-config-lvm-1.1.9-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.