linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* -G to smaller doesn't move superblock... is there _any_ way to shrink?
@ 2009-11-06 12:53 Thomas Arthur Oehser
  2009-11-06 19:14 ` NeilBrown
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Arthur Oehser @ 2009-11-06 12:53 UTC (permalink / raw)
  To: linux-raid


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

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

end of thread, other threads:[~2009-11-06 22:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-06 12:53 -G to smaller doesn't move superblock... is there _any_ way to shrink? Thomas Arthur Oehser
2009-11-06 19:14 ` NeilBrown
2009-11-06 22:37   ` Michael Evans

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).