xfs
[Top] [All Lists]

Re: xfs_shrinkfs ?

To: Derek Glidden <dglidden@xxxxxxxxxxxxxxx>
Subject: Re: xfs_shrinkfs ?
From: "Martin K. Petersen" <mkp@xxxxxxxxxxxxx>
Date: 01 Feb 2001 19:38:48 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <3A79FB34.7406CB7C@illusionary.com>
Organization: Linuxcare, Inc.
References: <3A79FB34.7406CB7C@illusionary.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Canyonlands)
>>>>> "Derek" == Derek Glidden <dglidden@xxxxxxxxxxxxxxx> writes:

Derek> Now the question: I've got a big XFS LVM volume on my file
Derek> server and I'm just curious if there is a utility that can
Derek> shrink an XFS filesystem, if I decide for whatever reason to
Derek> shrink the LVM volume the filesystem happens to be on. 

Unfortunately, no.  XFS does not support shrinking.  Only growing the
filesystem is supported.

Technically, I guess it would be possible to write something which
would migrate data to the first allocation groups of the fs and chop
off/truncate the allocation group(s) at the end.  It's just that
nobody has done it yet :)

-- 
Martin K. Petersen, Principal Linux Consultant, Linuxcare, Inc.
mkp@xxxxxxxxxxxxx, http://www.linuxcare.com/
SGI XFS for Linux Developer, http://oss.sgi.com/projects/xfs/

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