[Top] [All Lists]

Re: Anyone use xfs_growfs under Linux?

To: linux-xfs@xxxxxxxxxxx
Subject: Re: Anyone use xfs_growfs under Linux?
From: Rainer Krienke <krienke@xxxxxxxxxxxxxx>
Date: Mon, 10 Jul 2006 08:37:12 +0200
In-reply-to: <20060707034833.GB12908@xxxxxxxxxxxxxxxxxxxxx>
References: <20060706233538.GA9665@xxxxxxxxxxxxxxxxxxxxx> <5908.1152229923@xxxxxxxxxxxxxxx> <20060707034833.GB12908@xxxxxxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: KMail/1.9.3
Am Freitag, 7. Juli 2006 05:48 schrieb Chris Wedgwood:
> On Fri, Jul 07, 2006 at 09:52:03AM +1000, Keith Owens wrote:
> > AFAIK you cannot change the kernel's view of the partition size
> > while the partition is mounted.  Adding the extra disk has to be
> > done with the partition (and hence the filesystem) offline.
> > xfs_growfs works on mounted filesystems.  My comment mistakenly
> > merged the two, quite separate, requirements.
> for parition tables that's correct, but if he is using LVM or similar
> it should work w/o needing to remount

It does. I am doing exactly this on several XFS filesystems that reside on 
LVM2 logical volumes. In this case there is no need for umounting the fs. 
Without taking the fs out of service in any way  I can simply resize the LV 
and then run xfs_growfs.

Have a nice day
Rainer Krienke, Universitaet Koblenz, Rechenzentrum, Raum A022
Universitaetsstrasse 1, 56070 Koblenz, Tel: +49 261287 -1312, Fax: -1001312
Mail: krienke@xxxxxxxxxxxxxx, Web: http://www.uni-koblenz.de/~krienke
Get my public PGP key: http://www.uni-koblenz.de/~krienke/mypgp.html

Attachment: pgpmrA72Ly58J.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>