xfs
[Top] [All Lists]

Re: can I shrink an xfs?

To: xfs@xxxxxxxxxxx
Subject: Re: can I shrink an xfs?
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 11 Mar 2008 12:47:39 -0500
In-reply-to: <20080311172958.GA31833@xxxxxxxxxx>
References: <20080311172958.GA31833@xxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (X11/20080226)
Louis-David Mitterrand wrote:
> Hi,
> 
> Is it possible to shrink an xfs? I tried using xfs_growfs to no avail.

Nope.

 http://oss.sgi.com/projects/xfs/faq.html#resize

-Eric

>       zenon:~# xfs_growfs -D 650000000 /backup
>       meta-data=/dev/md2               isize=256    agcount=32, 
> agsize=20539552 blks
>                        =                       sectsz=4096  attr=1
>       data     =                       bsize=4096   blocks=657265248, 
> imaxpct=25
>                        =                       sunit=16     swidth=48 blks
>       naming   =version 2              bsize=4096  
>       log      =internal               bsize=4096   blocks=32768, version=2
>                        =                       sectsz=4096  sunit=1 blks, 
> lazy-count=0
>       realtime =none                   extsz=196608 blocks=0, rtextents=0
>       data size 650000000 too small, old size is 657265248
> 
> ... even though the fs is 80% full only.
> 
> Thanks,
> 
> 


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