lister171254
November 25th, 2012, 07:38 AM
Ive create a raid1 array, but when the array name is /dev/md127 after reoot.
Found a few threads, and the general consensu seems to be that I can rename /dev/md127 to what I think it should be; in this case /dev/md2
Have tried the following:
mdadm --assemble /dev/md2 /dev/sd[cd]6 --update=name
but end up with this when I do a mdadm --examine --scan
ARRAY /dev/md/2 metadata=1.2 UUID=809b6fc3:6a99fd91:75cc2e78:78a75baf name=ml.zudiewiener.com:2
ARRAY /dev/md0 UUID=af456ebc:d5eeedc4:bddefb1d:3bdaff5e
spares=4
ARRAY /dev/md1 UUID=d680e291:8dd417d0:bb760188:679e16e6
spares=1
if I do the following (as suggested in one of the threads)
sudo mdadm --assemble /dev/md2 /dev/sd[cd]6 --update=name --name=md2
I then get this when I do a mdadm --examine --scan
ARRAY /dev/md/md2 metadata=1.2 UUID=809b6fc3:6a99fd91:75cc2e78:78a75baf name=ml.zudiewiener.com:md2
ARRAY /dev/md0 UUID=af456ebc:d5eeedc4:bddefb1d:3bdaff5e
spares=4
ARRAY /dev/md1 UUID=d680e291:8dd417d0:bb760188:679e16e6
What I need is for the array to be /dev/md2 (as there is no /dev/md/md2)
Appreciate any help
Found a few threads, and the general consensu seems to be that I can rename /dev/md127 to what I think it should be; in this case /dev/md2
Have tried the following:
mdadm --assemble /dev/md2 /dev/sd[cd]6 --update=name
but end up with this when I do a mdadm --examine --scan
ARRAY /dev/md/2 metadata=1.2 UUID=809b6fc3:6a99fd91:75cc2e78:78a75baf name=ml.zudiewiener.com:2
ARRAY /dev/md0 UUID=af456ebc:d5eeedc4:bddefb1d:3bdaff5e
spares=4
ARRAY /dev/md1 UUID=d680e291:8dd417d0:bb760188:679e16e6
spares=1
if I do the following (as suggested in one of the threads)
sudo mdadm --assemble /dev/md2 /dev/sd[cd]6 --update=name --name=md2
I then get this when I do a mdadm --examine --scan
ARRAY /dev/md/md2 metadata=1.2 UUID=809b6fc3:6a99fd91:75cc2e78:78a75baf name=ml.zudiewiener.com:md2
ARRAY /dev/md0 UUID=af456ebc:d5eeedc4:bddefb1d:3bdaff5e
spares=4
ARRAY /dev/md1 UUID=d680e291:8dd417d0:bb760188:679e16e6
What I need is for the array to be /dev/md2 (as there is no /dev/md/md2)
Appreciate any help