Re: resize2fs
On Wed, Jan 09, 2008 at 10:26:54PM -0500, Rick Pasotto <rick@niof.net> was heard to say:
> I would like to increase the size of my /var partition. It is a logical
> volume so I made it bigger with lvexpand. I then ran resize2fs, which
> according to the man page works on mounted file systems with kernels
> after 2.6 and my kernel is 2.6.22-3-k7. However, this is the output of
> the command:
>
> resize2fs 1.40.3 (05-Dec-2007)
> Filesystem at /dev/vg0/var is mounted on /var; on-line resizing required
> old desc_blocks = 1, new_desc_blocks = 2
> resize2fs: Filesystem does not support online resizing
AIUI this means you didn't create the filesystem with "-O resize_inode",
so you can't do online resizing. Unfortunately there's no way to change
this after the filesystem is created (see bug #351720), so you're stuck
booting into single-user mode and unmounting /var, or making a boot disk
and running resize2fs from there.
Daniel
Reply to: