[CentOS] /dev/sda

Reindl Harald h.reindl at thelounge.net
Tue Dec 6 19:47:18 UTC 2011



Am 06.12.2011 20:21, schrieb 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.

IT IS UNINTERESTING

try it!

you can switch the disks of a software-raid even between different device-types
because they are identified by UUID and so /dev/sdx does not matter

it does even not matter in a non-raid as long the referenced per UUID in /etc/fstab


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20111206/d58000fb/attachment.sig>


More information about the CentOS mailing list