From: Thomas Arthur Oehser <tom@toms.net>
To: linux-raid@vger.kernel.org
Subject: -G to smaller doesn't move superblock... is there _any_ way to shrink?
Date: Fri, 6 Nov 2009 07:53:34 -0500 [thread overview]
Message-ID: <20091106125334.GC6212@Toms.NET> (raw)
So, I thought the logical sequence was:
resize2fs <smaller>
mdadm -G -z <smaller>
fdisk <smaller>
... but ...
the mdadm -G -z <smaller> seems to leave the superblock at the end of the partition...
Is there _any_ way to do what I'm trying to do? I don't see options to tell it I want
the superblock to be at offset X or that the partition is "going to be" smaller... and
I don't see options for switching the superblock format and moving stuff around... and
I'm really not wanting to do --create and cross my fingers that everything "just works".
-Tom
--
"Let us do our duty in our shop or our kitchen, the market, the street, the
office, the school, the home, just as faithfully as if we stood in the front
rank of some great battle, and we knew that victory for mankind depended upon
our bravery, strength, and skill. When we do that the humblest of us will be
serving in that great army which achieves the welfare of the world."
--Theodore Parker
next reply other threads:[~2009-11-06 12:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-06 12:53 Thomas Arthur Oehser [this message]
2009-11-06 19:14 ` -G to smaller doesn't move superblock... is there _any_ way to shrink? NeilBrown
2009-11-06 22:37 ` Michael Evans
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=20091106125334.GC6212@Toms.NET \
--to=tom@toms.net \
--cc=linux-raid@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).