Hard drive weirdness.

Rashkae ubuntu at tigershaunt.com
Wed Jul 23 18:20:05 UTC 2008


Rashkae wrote:
> David Gibb wrote:
>> In case it wasn't obvious, what would really be awesome is if the
>> first sata drive _always_ pointed to /dev/sda, the second sata drive
>> _always_ pointed to /dev/sdb, and the pata drive _always_ pointed to
>> /dev/sdc. That way, the software raid (and I!) wouldn't get so
>> confused. In addition, if mdadm tells me that /dev/sda failed, for
>> example, I'd actually know what that meant. Is that possible?
>>
> 
> Possible, but not practical.,, it would involved lots of deep magic of
> modifying the hotplug scripts....
> 
> mdadm is not getting confused by the changing drive letters.  By
> default, mdadm scans all devices to find members of it's raid array,,
> but it may need a bit of convincing to start a degraded array if one of
> the drives is simply missing out of the blue..
> 
> try mdadm assemble -R /dev/md0
> 
> 

I just wanted to add, things might well be messy again when you try to
re-introduce the drive that was pulled, because now you'll have two raid
arrays claiming to be part of the same UUID, both think they are active
and healthy, but no longer match.





More information about the ubuntu-users mailing list