Answer the question
In order to leave comments, you need to log in
Soft raid Mdadm using UUID
I have Ubuntu 10.04 on my home server, with a 5-disk raid array raised
. After a reboot, the disks often change their names. For example, in this case /dev/sde --> /dev/sdf.
Due to which you have to rebuild the raid. Is it possible to specify UUIDs instead of names?
Or make it so that the names would not change?
ARRAY /dev/md0 level=raid5 num-devices=5 metadata=00.90 spares=1 UUID=29718a57:0a99fc9e:a5fb95b0:71b97db1
devices=/dev/sda,/dev/sdb,/dev/sdc,/dev/sdd,/dev/sdf
Answer the question
In order to leave comments, you need to log in
In principle, I don’t have the second line in mdadm.conf in centos
, and everything itself is always located,
I don’t rebuild anything.
Well, specify devices=/dev/disk/by-uuid/992ea351-e276-47d5-bed0-9630ade5bb3f… etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question