All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keith Keller <kkeller@sonic.net>
To: xfs@oss.sgi.com
Subject: Re: xfs_growfs doesn't resize (update)
Date: Mon, 25 Jul 2011 11:28:51 -0700	[thread overview]
Message-ID: <20110725182851.GA30626@sonic.net> (raw)
In-Reply-To: <20110720190819.GA14910@sonic.net>

Hi again all,

I thought about this a bit more over the past few days, and did 
some more testing this morning.  I am currently thinking that I
really don't have as many paths to follow as I originally thought.

It seems like, whether I modify sb 0 with xfs_db or not, xfs_repair
still wants to see an 11TB filesystem--I did an mdrestore and mount
on the metadump image, which saw a 21TB filesystem, then did a umount
and xfs_repair, which modified the superblock.  On mounting again, the
filesystem was back to 11TB.  So I think there must be a definite
risk of data loss if I try to mount what the latest kernel thinks is
a 21TB filesystem, then need to run a repair at a later date, and
therefore I have to run an xfs_repair before trying to use the new
free space.

So, here is what I think is my plan for the actual filesystem:

--take another backup
--umount all XFS filesystems (the OS filesystems are ext3)
--remove the kmod-xfs CentOS package
--update to the latest CentOS kernel and reboot, making sure
  the target XFS fs does not have a mount attempted
--run xfs_repair from xfsprogs-3.1.5
--cross fingers :)
--mount and check what's in lost+found
--if all seems well, attempt another xfs_growfs using xfsprogs-3.1.5

Does this seem like a reasonable plan of attack?  If so, is there
a way to estimate how long the actual xfs_repair will take from my
xfs_repair sessions on the metadump image?  Obviously the hardware
isn't the same, but I'd just hope for a back of the envelope estimate,
not necessarily something terribly accurate.

Finally, are there other things I can try on the metadump image first
to give me more information on what'll happen on the live filesystem?

Thanks again!

--keith

-- 
kkeller@wombat.san-francisco.ca.us

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2011-07-25 18:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-06 22:51 xfs_growfs doesn't resize kkeller
2011-07-07 18:25 ` Keith Keller
2011-07-07 19:34   ` Eric Sandeen
2011-07-07 22:23     ` Keith Keller
2011-07-07 22:30       ` Eric Sandeen
2011-07-20 19:08         ` xfs_growfs doesn't resize (update) Keith Keller
2011-07-25 18:28           ` Keith Keller [this message]
2011-08-01  4:46             ` xfs_growfs doesn't resize (partial resolution) Keith Keller

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=20110725182851.GA30626@sonic.net \
    --to=kkeller@sonic.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.