GNOME Bugzilla – Bug 702461
LVM partitions are locked
Last modified: 2013-09-24 02:07:15 UTC
I created a CentOS 6.4 VM with two partitions: /boot and LVM. I used VMware to increase the size of the disk then rebooted from a gparted 0.16.1-1 LiveCD. gparted showed the LVM partition as locked. I opened the shell and ran 'vgchange -an'. The LVM was then unlocked. Used gparted to add the new space to the LVM partition. It seems the LiveCD should either not activate LVM partitions or it should deactivate them before starting gparted.
Hi Ed, FYI. You can activate and deactivate the volume groups from the GParted Partition menu and it will run the 'vgchange -ay' and 'vgchange -an' commands respectively. I know this is not the same as the GParted LiveCD image not automatically starting LVM Volume Groups, but hopefully it covers most of what you want. Thanks, Mike
Thanks, I missed that. It's a step up from typing vgchange but I would still recommend the change. The LiveCD doesn't use LVM and has no reason to activate LVM Volume Groups. /Ed
Agree. I will disable lvm2 service in the next release of GParted live (> 0.16.2-beta1). Thanks for reporting this. Steven.
This enhancement is included in the GParted Live 0.16.2-1b stable release issued on September 23, 2013.