After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 702461 - LVM partitions are locked
LVM partitions are locked
Status: RESOLVED FIXED
Product: gparted
Classification: Other
Component: livecd
0.16.1
Other Linux
: Normal enhancement
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2013-06-17 13:36 UTC by Ed Symanzik
Modified: 2013-09-24 02:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ed Symanzik 2013-06-17 13:36:20 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.
Comment 1 Mike Fleetwood 2013-06-17 18:45:31 UTC
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
Comment 2 Ed Symanzik 2013-06-17 20:37:43 UTC
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
Comment 3 Steven Shiau 2013-09-12 01:06:55 UTC
Agree. I will disable lvm2 service in the next release of GParted live (> 0.16.2-beta1).
Thanks for reporting this.

Steven.
Comment 4 Curtis Gedak 2013-09-24 02:07:15 UTC
This enhancement is included in the GParted Live 0.16.2-1b stable release issued on September 23, 2013.