On 06/11/2009 19:30, Goswin von Brederlow wrote:
Thomas Arthur Oehser <tom@xxxxxxxx> writes:
On Fri, Nov 06, 2009 at 06:32:15PM +0000, John Robinson wrote:
[...]
Are you sure it hasn't already put a copy of the superblock in the right
place, within the <smaller> size, as well as leaving a copy at the end
of the original larger partition?
[...]
Far as I can tell, no, because when I then shrink the partition, it can't
find the superblock.
And you would have to shrink it to exactly the right size to the block
so that the shrunk superblock ends up at the end of the resized
device. Something most people won't be able to do right.
The thing is, I'm sure I've done it, and while I don't remember the
details, I don't think I had to either recreate the array nor drop and
re-add members. You're right though, getting the numbers right is the
tricky bit, because the filesystem's smaller than the md, which in turn
may be smaller than the partition, even when everything's "tight".
Cheers,
John.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html