Re: Shrinking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 09, 2024 at 06:51:30PM +0100, Roy Sigurd Karlsbakk wrote:
> Hi all
> 
> As the docs say, "currently, xfs cannot be shrunk…". It's been saying
> that for 20 years or so, but I thought I read something about works in
> progress on this. Is this right or was it something in the vicinity of
> https://xkcd.com/806/?

Shrink is partially supported -- if there's free space at the end of the
filesystem, you can reduce the filesystem by the size of that extent.

To make shrink more useful, the codebase will need to gain the ability
to offline an entire AG, move metadata structures, and perform free
space defragmentation.

Alpha-quality implementations of those last two things are in my
development tree, but the entire thing is on ice while we try to merge
the online repair code.

--D

> roy




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux