xfs
[Top] [All Lists]

Re: Anyone use xfs_growfs under Linux?

To: Chris Wedgwood <cw@xxxxxxxx>
Subject: Re: Anyone use xfs_growfs under Linux?
From: Keith Owens <kaos@xxxxxxx>
Date: Fri, 07 Jul 2006 09:52:03 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: Your message of "Thu, 06 Jul 2006 16:35:38 MST." <20060706233538.GA9665@tuatara.stupidest.org>
Sender: xfs-bounce@xxxxxxxxxxx
Chris Wedgwood (on Thu, 6 Jul 2006 16:35:38 -0700) wrote:
>(off the list)
>
>On Fri, Jul 07, 2006 at 07:40:39AM +1000, Keith Owens wrote:
>
>> Several times.  Not a problem, as long as the filesystem is not
>> mounted at the time.
>
>growfs should work when mounted
>
>why the caveat?

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.


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