public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* can I shrink an xfs?
@ 2008-03-11 17:29 Louis-David Mitterrand
  2008-03-11 17:47 ` Eric Sandeen
  2008-03-11 18:02 ` Josef 'Jeff' Sipek
  0 siblings, 2 replies; 4+ messages in thread
From: Louis-David Mitterrand @ 2008-03-11 17:29 UTC (permalink / raw)
  To: xfs

Hi,

Is it possible to shrink an xfs? I tried using xfs_growfs to no avail.

	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,

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-12  9:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-11 17:29 can I shrink an xfs? Louis-David Mitterrand
2008-03-11 17:47 ` Eric Sandeen
2008-03-11 18:02 ` Josef 'Jeff' Sipek
2008-03-12  9:17   ` David Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox