public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Louis-David Mitterrand <vindex+lists-xfs@apartia.org>
To: xfs@oss.sgi.com
Subject: can I shrink an xfs?
Date: Tue, 11 Mar 2008 18:29:58 +0100	[thread overview]
Message-ID: <20080311172958.GA31833@apartia.fr> (raw)

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,

             reply	other threads:[~2008-03-11 17:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-11 17:29 Louis-David Mitterrand [this message]
2008-03-11 17:47 ` can I shrink an xfs? Eric Sandeen
2008-03-11 18:02 ` Josef 'Jeff' Sipek
2008-03-12  9:17   ` David Chinner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080311172958.GA31833@apartia.fr \
    --to=vindex+lists-xfs@apartia.org \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox