[ale] LVM Question

Joey Rutledge joey at joeyrutledge.com
Wed Sep 24 10:11:15 EDT 2008


Gene Poole wrote, On 09/24/2008 09:36 AM:
>
> I performed an extend (lvextend) on a file system that was running out
> of space.  All of the return codes and messages showed a good
> completion.  However, when I did a display on the file system (df -m
> /work) it didn't show that the file system had been extended.
>
> The first display command was:
>
>    lvdisplay /dev/DataVG00/DataLV01
>
> And it return the following messages:
>
>      --- Logical volume ---
>  LV Name                /dev/DataVG00/DataLV01
>  VG Name                DataVG00
>  LV UUID                hU4l3x-QLGB-Bcat-rFo3-V7Oo-uKDT-1d1od9
>  LV Write Access        read/write
>  LV Status              available
>  # open                 1
>  LV Size                46.00 GB
>  Current LE             1472
>  Segments               3
>  Allocation             inherit
>  Read ahead sectors     0
>  Block device           253:16
>  
> The second display command was:
>
>    df -m /work
>
> And it returned the following message:
>  
> Filesystem           1M-blocks      Used Available Use% Mounted on
> /dev/mapper/DataVG00-DataLV01
>                         31742     20998      9107  70% /work
>
> Should I be concerned?  What can I do to make the available space show
> up?  I've even re-booted the machine before I drafted the message.
>
> TIA
> Gene Poole
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>   
Did you resize the actual file system once you resized the volume?  If 
you are using ext2/3 you can use resize2fs to grow the file system.

Check this page out:  http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html

Joey


More information about the Ale mailing list