Resizing est4 filesystem while mounted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Greetings -

I had a logical volume that was running out of space on a virtual machine. 
I successfully expanded the LV using lvextend, and lvdisplay shows that it 
has been expanded.  Then I went to expand the filesystem to fill the new 
space (# resize2fs -p /dev/vde1) and I get the results that the filesystem 
is already xx blocks long, nothing to do.  If I do a # df -h, I can see that 
the filesystem has not been extended.  I could kick the users off the VM, 
reboot the VM using a GParted live CD and extend the filesystem that way, 
but I thought that it was possible to do this live and mounted?  The RH docs 
say this is possible; the man page for resize2fs also says it is possible 
with ext4.  What am I missing here?  This is a Centos 6.2 VM with an ext4 
filesystem.  The logical volumes are setup on the host system which is also 
a Centos 6.2 system.

Jeff Boyce
Meridian Environmental

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux