public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: Per Mellander <per.m@mmtab.se>
Cc: xfs@oss.sgi.com
Subject: Re: xfs_growfs after lvextend don't increase mounted size.
Date: Thu, 2 Nov 2006 14:42:54 +1100	[thread overview]
Message-ID: <20061102034254.GC11034@melbourne.sgi.com> (raw)
In-Reply-To: <4549218B.2020807@mmtab.se>

On Wed, Nov 01, 2006 at 11:36:59PM +0100, Per Mellander wrote:
> Hi!
> 
> I've got a 6.5TB xfs filesystem on a LVM2 volume. I wanted to increase 
> the size of the fs so I added another ~10TB to the volume. Every step 
> taken was successfull, (ie no errors) but the filesystem size remained 
> unchanged even after the xfs_growfs.

There's a 32 bit overflow in the growfs code (and transaction code
on 32 bit systems) so you can't grow by more than 2TB at a time.
I've got a fix under test for this at the moment.

Can you see if you can grow using:

# xfs_growfs -D <current size + (2TB / FSB) - 1> </path/to/mntpt>

FSB = filesystem block size, and the current size is also in FSB.
You can get both the current size and the FSB from xfs_growfs -n <mtpt>

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

      parent reply	other threads:[~2006-11-02  3:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-01 22:36 xfs_growfs after lvextend don't increase mounted size Per Mellander
2006-11-01 23:59 ` Shailendra Tripathi
2006-11-02  3:42 ` David Chinner [this message]

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=20061102034254.GC11034@melbourne.sgi.com \
    --to=dgc@sgi.com \
    --cc=per.m@mmtab.se \
    --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