1 Mar 2011 04:19
Impact of missing parameter during mdadm create
Mike Viau <viaum <at> sheridanc.on.ca>
2011-03-01 03:19:58 GMT
2011-03-01 03:19:58 GMT
Hello mdadm hackers,
I was wondering what (if any) impact would creating an array with the missing parameter have on subsequent
assemblies of a mdadm array?
When the array was created, I used a command like:
mdadm --create -l5 -n3 /dev/md0 /dev/sda1 missing /dev/sdb1
And then loaded some initial data on the md0 array from /dev/sdd1, and then I zeroed out /dev/sdd1 and added
it to the md0 array.
Details on each drive seem to show they all belong to the same Array UUID, but when the array is (re)assembled
(on boot or manually), only /dev/sd{a,b}1 are added to mdadm array automatically, and /dev/sdd1 must be
re-added manually.
> mdadm --examine /dev/sd{a,b,d}1
> /dev/sda1:
> Magic : a92b4efc
> Version : 1.2
> Feature Map : 0x0
> Array UUID : 7d8a7c68:95a230d0:0a8f6e74:4c8f81e9
> Name : XEN-HOST:0 (local to host XEN-HOST)
> Creation Time : Mon Dec 20 09:48:07 2010
> Raid Level : raid5
> Raid Devices : 3
>
> Avail Dev Size : 1953517954 (931.51 GiB 1000.20 GB)
> Array Size : 3907035136 (1863.02 GiB 2000.40 GB)
(Continue reading)
RSS Feed