[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with mdadm and a usb harddrive.



On Wed, Oct 03, 2007 at 12:07:53PM -0400, William Lynch wrote:
> 
> I have a question that I was hoping someone could help with. I'm  
> using a RAID5 for storage. 3 disks. However, 2 of the discs are  
> internal, and 1 is an external usb drive. When I restart the  
> machine, /dev/sda1 (the usb drive) is never brought back up with the  
> rest of the drive, and it's in a degraded state. It seems to do this  
> (off of dmesg) because the usb drive is brought up after the raid5 is  
> brought up. Is there any way to delay the startup of the raid5 until  
> after usb drives are seen?
> 

At what point in boot is the raid5 setup?  At what point are USB drives
detected?  If your root is on raid5, it likely has to be setup prior to
detecting USB devices.

Why not write a boot-time script that adds it back into the array?

Doug.



Reply to: