linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jules Bean <jules@jellybean.co.uk>
To: linux-raid@vger.kernel.org
Subject: Re: After partition resize, RAID5 array does not assemble on boot
Date: Tue, 03 Jun 2008 22:19:47 +0100	[thread overview]
Message-ID: <4845B573.7090801@jellybean.co.uk> (raw)
In-Reply-To: <4844E994.8020808@jellybean.co.uk>

Jules Bean wrote:
> Help? What next ;) Is there enough information in /dev/sdd2 and 
> /dev/sdc2 to reconstruct the apparently missing superblocks on /dev/sda2 
> and /dev/sdb2? Do I need to try to resize my partitions back to their 
> old size so it can find the old superblock? Even if by adding /dev/sda2 
> as a spare I've corrupted its superblock entirely, sdb2 should still 
> have enough to save my array with 3 out of 4 devices?

I have become convinced (correct me if you think I'm wrong) that the 
problem was cfdisk resizing the partitions but the kernel tables not 
being updated.

Therefore although I thought the partitions were 400G, the kernel still 
thought they were 250G, and presumably the raid subsystem used that figure.

So the raid subsytem probably recorded its superblock as if the 
partitions were still only 250G long? So I ought to be able to find that 
superblock again by resizing the partitions back?

Alas I didn't take precise notes of my old partition table (stupid 
error). I have tried a couple of cylinder counts near 250G but no luck. 
Is there any good way to 'search for' somethign which looks like a RAID 
superblock?

Does the mdadm --detail output I pasted in my last message hold any clues?

Jules

  reply	other threads:[~2008-06-03 21:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-03  6:49 After partition resize, RAID5 array does not assemble on boot Jules Bean
2008-06-03 21:19 ` Jules Bean [this message]
2008-06-03 21:27   ` NeilBrown
2008-06-04  6:31     ` Jules Bean
2008-06-04  6:36       ` Peter Rabbitson
2008-06-04  7:58       ` David Greaves
2008-06-04  8:30         ` Jules Bean
2008-06-04 11:51           ` David Greaves
2008-06-04 13:14             ` Jules Bean
2008-06-06 13:52               ` Bill Davidsen
2008-06-06 14:42                 ` David Greaves
2008-06-06 14:46                   ` Jules Bean
2008-06-12  3:59             ` Neil Brown
2008-06-03 21:46   ` Peter Rabbitson

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=4845B573.7090801@jellybean.co.uk \
    --to=jules@jellybean.co.uk \
    --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).