RH AS 4U2 - LVM extend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I recall in the past that I was able to extend a lvm file system
without the need of reformatting and restoring the contents, but
I don't seem to be able to do under RH AS 4U2.

Below are the steps that I take.  vgdisplay shows the volume group
capacity is extended, but lvdisplay shows the logical volume is not.
Have I missed something here?

Thanks.

fdisk /dev/had to make new partitions 7 and 8 with type 8e

pvcreate /dev/hda7
vgcreate peter-vg /dev/hda7
lvcreate -L 2G /dev/peter-vg -n peter-lv
mke2fs -j /dev/peter-vg/peter-lv
mount /dev/peter-vg/peter-lv /data
- A 2GB /data is mounted and works ok.

umount /data
pvcreate /dev/hda8
vgextend peter-vg /dev/hda8
lvextend -L 4G /dev/peter-vg/peter-lv 

The last command is accepted but no action is taken.
The /dev/peter-vg/peter-lv is still mounted as a 2GB file system.
Tried reboot, vgscan and vgchange -ay, no luck.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux