Resizing of a LVM partition

Tom Spec samag70-ignore at yahoo.ca
Wed Jan 10 20:57:24 UTC 2007


USE THIS INFORMATION AT YOUR OWN RISK!!

Assuming you are sure you know which disk you added, this is how you expand...

1) Make the disk LVM aware
pvcreate /dev/sd<x> [if you have a problem you can force with -f]

2) Add the Disk into the Volume Group
vgextend <Volume Group Name> /dev/sd<x>

3) Extend the Logical Volume
lvextend -L +yG /dev/<Volume Group>/<Logical Volume> [ Where y is the size in GB of the new disk ]

4) Extend the filesystem
ext2online <mountpoint>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070110/3ec76780/attachment-0001.htm>


More information about the fedora-list mailing list