xfs
[Top] [All Lists]

Re: can I shrink an xfs?

To: "Josef 'Jeff' Sipek" <jeffpc@xxxxxxxxxxxxxx>
Subject: Re: can I shrink an xfs?
From: David Chinner <dgc@xxxxxxx>
Date: Wed, 12 Mar 2008 20:17:55 +1100
Cc: xfs@xxxxxxxxxxx, ruben.porras@xxxxxxxxxxx
In-reply-to: <20080311180210.GB5767@xxxxxxxxxxxxxx>
References: <20080311172958.GA31833@xxxxxxxxxx> <20080311180210.GB5767@xxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Tue, Mar 11, 2008 at 02:02:10PM -0400, Josef 'Jeff' Sipek wrote:
> On Tue, Mar 11, 2008 at 06:29:58PM +0100, Louis-David Mitterrand wrote:
> > Hi,
> > 
> > Is it possible to shrink an xfs? I tried using xfs_growfs to no avail.
>  
> There's no official/supported way to do it. There might be some tool to do
> it, but I'm not aware of any.
> 
> Dave, et. al.: why not support shrinking? I know, inode numbers and whatnot,
> but that's already being messed up (at least to a degree) with the noikeep
> mount option. I think that shrinking would be useful to have - even if you
> have to pass it --i-know-what-i-am-doing kind of option. Maybe a offline
> shrink via repair would be more viable?

It's being worked on - have a look in the achives at what Ruben Porras has
been doing (and the patches he recently sent). Shrinking involves a lot of
bits to come together sucessful, and we're slowly getting them together.
If you want to get it done faster - help Ruben ;)

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group


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