Wed 29 Jan 2014 01:16:17 AM UTC, original submission:
hello,
reproduced on 2.00_p5107-r2, 2.01-22, beta version as well.
below follows nondegraded and degraded test, both of them have attached result of grub-probe.
nondegraded test
------------------
root@basement4:/tmp# mdadm --verbose --create --level=10 --raid-devices=4 --spare=0 /dev/md0 /dev/mapper/vg0-testv0 /dev/mapper/vg0-testv1 /dev/mapper/vg0-testv2 /dev/mapper/vg0-testv3
mdadm: layout defaults to n2
mdadm: layout defaults to n2
mdadm: chunk size defaults to 512K
mdadm: /dev/mapper/vg0-testv0 appears to be part of a raid array:
level=raid10 devices=4 ctime=Wed Jan 29 00:56:36 2014
mdadm: /dev/mapper/vg0-testv1 appears to be part of a raid array:
level=raid10 devices=4 ctime=Wed Jan 29 00:55:17 2014
mdadm: /dev/mapper/vg0-testv2 appears to be part of a raid array:
level=raid10 devices=4 ctime=Wed Jan 29 00:56:36 2014
mdadm: /dev/mapper/vg0-testv3 appears to be part of a raid array:
level=raid10 devices=4 ctime=Wed Jan 29 00:55:17 2014
mdadm: size set to 101376K
Continue creating array? y
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md0 started.
root@basement4:/tmp# cat /proc/mdstat
Personalities : [raid10]
md0 : active raid10 dm-15[3] dm-14[2] dm-13[1] dm-12[0]
202752 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
root@basement4:/tmp# grub-probe --target=abstraction -d /dev/md0 -vvv 1>/tmp/grub-probe_nondegraded.txt 2>&1
root@basement4:/tmp# find /dev/ -name "4f6"
/dev/disk/by-id/md-uuid-4f6ca543:d8739e24:54baaa2f:f45aa75e
root@basement4:/tmp# mdadm --stop /dev/md0
mdadm: stopped /dev/md0
degraded test
------------------
root@basement4:/tmp# mdadm --verbose --create --level=10 --raid-devices=4 --spare=0 /dev/md0 /dev/mapper/vg0-testv0 missing /dev/mapper/
vg0-testv2 missing
mdadm: layout defaults to n2
mdadm: layout defaults to n2
mdadm: chunk size defaults to 512K
mdadm: /dev/mapper/vg0-testv0 appears to be part of a raid array:
level=raid10 devices=4 ctime=Wed Jan 29 01:00:17 2014
mdadm: /dev/mapper/vg0-testv2 appears to be part of a raid array:
level=raid10 devices=4 ctime=Wed Jan 29 01:00:17 2014
mdadm: size set to 101376K
Continue creating array? y
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md0 started.
root@basement4:/tmp#
root@basement4:/tmp# cat /proc/mdstat
Personalities : [raid10]
md0 : active raid10 dm-14[2] dm-12[0]
202752 blocks super 1.2 512K chunks 2 near-copies [4/2] [U_U_]
root@basement4:/tmp# cat /proc/mdstat
Personalities : [raid10]
md0 : active raid10 dm-14[2] dm-12[0]
202752 blocks super 1.2 512K chunks 2 near-copies [4/2] [U_U_]
root@basement4:/tmp# grub-probe --target=abstraction -d /dev/md0 -vvv 1>/tmp/grub-probe_degraded.txt 2>&1
root@basement4:/tmp# find /dev/ -name "ad1"
/dev/disk/by-id/md-uuid-ad1c1d66:87dec672:afd3e543:ccb5a190
root@basement4:/tmp# mdadm --stop /dev/md0
mdadm: stopped /dev/md0
regards,
- sh
|