[linux-lvm] Help: Mount point does not report full size of LV.

Matt P slarty.tj at gmail.com
Wed Feb 28 18:43:41 UTC 2007


To be safe unmount the filesystem you want to grow. Then you'll use
the resize2fs command. From what you've provided so far, and assuming
you want to use all the available space on the LV, the command line
will probably look something like:

resize2fs -p /dev/VGforMyth/video

I'd recommending reading the man page for resize2fs before proceeding.

On 2/28/07, Nick Gyma <nickgyma at gmail.com> wrote:
>
>
> Thanks for the reply.  The other two disks are file system ext3.  Is it possible to change this 3rd disk to be ext3 as well from the current state i'm in?  and then resize to fill?
>
> Thanks for helping.  here are the results of vgdisplay:  (the 208.31GB is correct)
>
> nick at ubuntu:~$ sudo vgdisplay -v
> Finding all volume groups
> Finding volume group "VGforMyth"
> --- Volume group ---
> VG Name VGforMyth
> System ID
> Format lvm2
> Metadata Areas 3
> Metadata Sequence No 5
> VG Access read/write
> VG Status resizable
> MAX LV 0
> Cur LV 1
> Open LV 0
> Max PV 0
> Cur PV 3
> Act PV 3
> VG Size 208.31 GB
> PE Size 64.00 MB
> Total PE 3333
> Alloc PE / Size 3333 / 208.31 GB
> Free PE / Size 0 / 0
> VG UUID C8kSGQ-rAw1-GmUi-7oKx-zatX-8D1A-bYuK35
>
> --- Logical volume ---
> LV Name /dev/VGforMyth/video
> VG Name VGforMyth
> LV UUID q6mYAL-6r5u-92bK-xeIc-qttc-Zmxk-00e0rS
> LV Write Access read/write
> LV Status available
> # open 0
> LV Size 208.31 GB
> Current LE 3333
> Segments 3
> Allocation inherit
> Read ahead sectors 0
> Block device 253:0
>
> --- Physical volumes ---
> PV Name /dev/hda4
> PV UUID 9VmJ6M-UxhP-7LRF-SAOE-ix3l-pSWe-a2ueRL
> PV Status allocatable
> Total PE / Free PE 950 / 0
>
> PV Name /dev/hdb1
> PV UUID tCKbgt-nBvc-r8FS-OxEd-u9XW-NiOA-00q0BI
> PV Status allocatable
> Total PE / Free PE 1192 / 0
>
> PV Name /dev/hdd1
> PV UUID KEBtSE-LKcc-l79g-2NSh-6VLQ-HKoG-l0zciX
> PV Status allocatable
> Total PE / Free PE 1191 / 0
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>




More information about the linux-lvm mailing list