LVM extend how (vmware)
Bryn M. Reeves
bmr at redhat.com
Mon Nov 24 17:04:01 UTC 2008
roland wrote:
> If I do this then df still gives the old capacity.
> I found a site:
> http://fedoranews.org/mediawiki/index.php/Expanding_Linux_Partitions_with_LVM
>
>
> and if you look for this text:
> "At this point we have only extend the VG and not the actual size of LV"
>
> You'll see that they use lvextend
This was Chris's point (3):
"Use the space as you see fit -- extend logical volumes, create"
> They umount also the volume.
> In my case it is '/'; I don't know if this can be unmounted.
So you'll need to issue an lvextend for the logical volume that contains
your root file system.
If you are using any of the common, modern file systems for your root
file system it will support online expansion (ext3, XFS, jfs, reiser all
support this) - i.e. you can extend your root file system without
unmounting it.
The LVM2 how to covers basic tasks like this (it's not been updated in a
couple of years, but is still correct for simple things like expanding
VGs/LVs):
http://tldp.org/HOWTO/LVM-HOWTO/
Regards,
Bryn.
More information about the fedora-list
mailing list