[linux-lvm] lv extend

James james at fr.clara.net
Mon Feb 5 12:24:35 UTC 2001


That would be great :-)

On Mon, 5 Feb 2001, Tom Dawes-Gamble wrote:

> Hi,
> 
> 	This seems a Frequent problem we get it on HP-UX LVM too.
> People do an lvextend and then wonder why the filesystem has not grown
> to fill the lvol.
> 
> 	Perhaps a message like.
> 
> [root at ocalhost /root]# lvextend -l 256 /dev/vg01/lvol2
> lvextend -- extending logical volume "/dev/vg01/lvol2" to 1 GB
> lvextend -- doing automatic backup of volume group "vg01"
> lvextend -- logical volume "/dev/vg01/lvol2" successfully extended
> 
> Note:  You need to run a resize utility such as ext2resize before
> 	the space is available in the file system.
> 
> [root at localhost /root]#
> 
> Or lvextend could check the mount table and offer to run ext2resize
> for you.  If that seems like a neat idea I would be willing to write
> the code.
> 
> Regards,
> Tom.
> 
> > 
> > James wrote:
> > > 
> > > Hello
> > > 
> > > Is it normal after growing an LV not to see the change with df -h ? But it
> > > can be seen with vgdisplay -v ?
> > Did you also resize the filesystem? df shows filesystem sizes. If so,
> > maybe a remount of the filesystem could help.
> > 
> > Bye...
> > 
> > 	Dirk
> > -- 
> > Dirk Heinrichs		| Tel:	+49 (0)241 413 260
> > QIS Systemhaus GmbH	| Fax:	+49 (0)241 413 2640
> > Jülicher Str. 338b	| Mail:	heinrichs at qis-systemhaus.de
> > D-52070 Aachen		| Web:	http://www.qis-systemhaus.de
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm at sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > 
> 
> 
> --
>  int/* PROCEDURE DIVISION.*>*/b,g,l,n='/'/'/'<<2;extern void printf();int main
>  (int d,char**z){char*o,*c="%.9s%.7s%.7s\n";l=*(c+d+d)-*(c+d);g=*c-d-l;b=l+n++;
>    o="  DISPLAY'tmdg at uksr'    '.hp.com' *>"+g++;printf(c,o-b++,o+l,o);l=~++n;
>    o="  DISPLAY'http://www.itrc.hp.com/' *>"+g++;printf(c,o-b++,o+l,o);exit();}
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> 




More information about the linux-lvm mailing list