[linux-lvm] resize LV
harri.haataja at smilehouse.com
Wed Jan 29 05:08:01 UTC 2003
On Tue, Jan 28, 2003 at 03:08:12PM -0600, Alexander Lazarevich wrote:
> JFS can totally do it. I've been using AIX before we moved to Linux,
> and I did it all the time.
> There must be a way to do it on linux systems using ext3. Anyone?
> On Tue, 28 Jan 2003, Thomas Kleffel wrote:
> > > I know how to expand the LV while the LV is mounted, piece of cake
> > > (lvextend -L+50GB /dev/homevg/userslv - expands userslv by 50GB).
> > > But how do I expand the filesystem while it is mounted? I don't
> > > want to umount the filesystem down to do this.
> > >
> > > The filesystem is an ext3 filesystem. Can I use resize2fs?
> > No, afaik neither ext2 nor ext3 support resizing while being
> > mounted. And if I'm not wrong JFS and ReiserFS can't do this either
> > but XFS can.
> > I'm using XFS for this reason and it works fine for me.
On the kernels I've used (no JFS patches, notably), ext3, xfs, reiserfs
resize on the fly and jfs (which requires a weird remount option) still
doesn't. IIRC ICBW
And I'm absolutely sure that the reiserfs's I resize while mount every
now and then do so and don't even require force switches anymore.
More information about the linux-lvm