linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RAID5 not being reassembled correctly after device swap
@ 2007-07-01 21:21 Michael Frotscher
  2007-07-01 22:12 ` Neil Brown
  2007-07-03 17:16 ` Michael Frotscher
  0 siblings, 2 replies; 12+ messages in thread
From: Michael Frotscher @ 2007-07-01 21:21 UTC (permalink / raw)
  To: linux-raid

Hello RAID-Experts,

I have three RAID5 consisting of different partitions on 3 disks (Debian 
stable) running the root-filesystem on a md (/boot is a separate non-raid 
partition) which is running rather nicely. For convenience I plugged all 
drives into the first ide controller making them hda, hdb and hdc. So far, so 
good. The partitions are flagged "fd", i.e. Linux raid autodetect.

As I have another builtin-ide-controller onboard, I'd like to distribute the 
disks for performance reasons, moving hdb to hde and hdc to hdg. The arrays 
would then consist of drives hda, hde and hdg.

This should not be a problem, as the arrays should assemble themselves using 
the superblocks on the partitions, shouldn't it? 

However, when I switch one drive (hdc), the array starts degraded with two 
drives present because it is still looking for hdc, which of course now is 
hdg. This shouldn't be happening. 

Well, then I re-added hdg to the degraded array, which went well and the array 
rebuilded itself. I now had healthy arrays consisting of hda, hdb and hdg. 
But after a reboot the array was degraded again and the system wanted its hdc 
drive.

And yes, I edited /boot/grub/device.map and changed hdc to hdg, so that can't 
be the reason.

I seem to be missing something here, but what is it?
-- 
YT,
Michael

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

end of thread, other threads:[~2007-07-04 16:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-01 21:21 RAID5 not being reassembled correctly after device swap Michael Frotscher
2007-07-01 22:12 ` Neil Brown
2007-07-02  6:35   ` Michael Frotscher
2007-07-02  6:50     ` Michael Frotscher
2007-07-03 17:16 ` Michael Frotscher
2007-07-03 17:22   ` Patrik Jonsson
2007-07-03 18:43   ` David Greaves
2007-07-03 19:20     ` Michael Frotscher
2007-07-03 19:29     ` Michael Frotscher
2007-07-04  8:45       ` David Greaves
2007-07-04 16:31         ` Michael Frotscher
2007-07-04 13:35       ` Bill Davidsen

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