Sunday, May 15, 2005

Shrink ext3 filesystem

: "I am finding that e2fsadm will resize both the ext3 partition and the LVM.
Here's the command I'm running:
umount /dev/fileshare/share
e2fsck -f /dev/fileshare/share
e2fsadm -L 45G /dev/fileshare/share

Then to remove the unused volumes, run vgreduce:

vgreduce -a /dev/fileshare"

0 Comments:

Post a Comment

<< Home