besides:
head -2 /dev/dm-16 | strings | grep ^id
how can I find that which device belongs to a given MD RAID1 array?
besides:
head -2 /dev/dm-16 | strings | grep ^id
how can I find that which device belongs to a given MD RAID1 array?
How about
mdadm -D /dev/mdX
replacing X
by your actual RAID-1 device number.
mdadm -D /dev/mdX
show on your box? and what you expected it to show?
– Joseph R.
Aug 20 '13 at 19:10
since RAID1 means there are two identical disks, so checksums need to match
[root@SERVER ~]# head -100 /dev/sdb3|cksum
2207220453 6836
[root@SERVER ~]# head -100 /dev/sda3|cksum
2207220453 6836
[root@SERVER ~]#
sdb2, sda2 ? isn't that what you're referring to by "pair"? – Shimi Aug 20 '13 at 19:15