All of lore.kernel.org
 help / color / mirror / Atom feed
* array degraded after reboot
@ 2003-05-02  3:59 Jeremy Huddleston
  2003-05-02  4:47 ` Neil Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Huddleston @ 2003-05-02  3:59 UTC (permalink / raw)
  To: linux-raid

[-- Attachment #1: Type: text/plain, Size: 748 bytes --]

I wanted to remove /dev/hdk6 from my array and replace it with a new 
drive at /dev/hdj6 (I know about the efficiency problems involved with 
this, but trust me that this is what I want to do for some other 
reasons), so I did the following:

mdadm -f /dev/md6 /dev/hdk6
mdadm -r /dev/md6 /dev/hdk6
mdadm -a /dev/md6 /dev/hdj6

The RAID reonsctucted itself, and it was working fine, so I rebooted the 
machine and removed the /dev/hdk hard drive from my computer.  When 
linux started up again, I checked /proc/mdstat, and it said that the 
RAID was running in degraded mode without /dev/hdj6.

I did the process again and stored information at each step (you can see 
this in the tarball).

I am using mdadm 1.2.0.

Thanks for the help.

--jeremy

[-- Attachment #2: mdebug.tar.gz --]
[-- Type: application/x-gzip, Size: 1921 bytes --]

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

* Re: array degraded after reboot
  2003-05-02  3:59 array degraded after reboot Jeremy Huddleston
@ 2003-05-02  4:47 ` Neil Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2003-05-02  4:47 UTC (permalink / raw)
  To: Jeremy Huddleston; +Cc: linux-raid

On Thursday May 1, jeremyhu@uclink4.berkeley.edu wrote:
> I wanted to remove /dev/hdk6 from my array and replace it with a new 
> drive at /dev/hdj6 (I know about the efficiency problems involved with 
> this, but trust me that this is what I want to do for some other 
> reasons), so I did the following:
> 
> mdadm -f /dev/md6 /dev/hdk6
> mdadm -r /dev/md6 /dev/hdk6
> mdadm -a /dev/md6 /dev/hdj6
> 
> The RAID reonsctucted itself, and it was working fine, so I rebooted the 
> machine and removed the /dev/hdk hard drive from my computer.  When 
> linux started up again, I checked /proc/mdstat, and it said that the 
> RAID was running in degraded mode without /dev/hdj6.

At a guess, I would say that you are depending on in-kernel
auto-detect to assemble your arrays, and you haven't set the partition
type of hdj6 to "Linux Raid Autodetect"

NeilBrown

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

end of thread, other threads:[~2003-05-02  4:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-02  3:59 array degraded after reboot Jeremy Huddleston
2003-05-02  4:47 ` Neil Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.