[CentOS] /dev/sda

Tue Dec 6 19:21:09 UTC 2011
m.roth at 5-cent.us <m.roth at 5-cent.us>

Reindl Harald wrote:
>
>
> Am 06.12.2011 19:28, schrieb m.roth at 5-cent.us:
>> We're just using Linux software RAID for the first time - RAID1, and the
>> other day, a drive failed. We have a clone machine to play with, so it's
>> not that critical, but....
>>
>> I partitioned a replacement drive. On the clone, I marked the RAID
>> partitions on /dev/sda failed, and remove, and pulled the drive.
<snip>
>> several iterations, I waited a minute or two, until all messages had
>> stopped, and there was only /dev/sdb*, and then put the new one in...
>> and it appears as /dev/sdc.
>
> the device name is totally uninteresting, the IDs are
> mdadm /dev/mdx --add /dev/sdex

No, it's not uninteresting. I can't be sure that when it reboots, it won't
come back as /dev/sda. And the few places I find that have howtos on
replacing failed RAID drives don't seem to have run into this issue with
udev (I assume) and /dev/sda.

          mark