
On 12/27/2009 01:20 AM, Ben DJ pecked at the keyboard and wrote:
Hi,
I've successfully resized (grow & decrease) LVMs within a given Volume Group numerous times.
Now I'd like to resize a Volume Group AND its parent partition, and am unclear as to the right/safe method.
I have:
/dev/sda 500 GB "/boot" /dev/sda1 200 MB LinuxNative, Ext4 (unallocated space) 100 GB /dev/sda3 200 GB LinuxLVM VG0 200 GB "/" (root) LV_A 50 GB Ext4 "/home" LV_B 100 GB Ext4
I'd like to
(1) grow /dev/sda3 at the "front end" to use up the available 100 GB (2) grow the VG0 to use 100% of the now-larger /dev/sda3
Since "/" is ON the target partition, I've tried booting from the Opensuse 11.2 Live KDE CD and using its Partition Manager, but it tells me that /dev/sda4 is "in use", and unavailable for edit/resize.
Before I go trying more brute-force methods, and subsequently losing my data, I thought I'd ask -- what's the RIGHT way to get this expansion done?
Thanks,
BenDJ
Create a partition with the unused space and add it to VG0 then you will be able to grow your LV with the unused space. That is how logical volumes are supposed to work. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org