GNU GRUB - Bugs: bug #41380, grub2, mdadm 1.2 superblocks, gpt,...
You are not allowed to post comments on this tracker with your current authentication level.
bug #41380: grub2, mdadm 1.2 superblocks, gpt, lvm, grub2-probe, degraded array
Submitter: | oblu123 <oblu123> | ||
Submitted: | Wed 29 Jan 2014 01:16:17 AM UTC | ||
Category: | Configuration | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Software Error |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | kitty the cutest |
Open/Closed: | Open | Release: | 2.00 |
Release: | Reproducibility: | Every Time | |
Planned Release: | 2.03+ |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-03-05 | phcoder | Planned Release | 2.02 | 2.03+ | |
2016-03-02 | phcoder | Planned Release | None | 2.02 | |
2014-01-29 | oblu123 | Attached File | - | Added grub-probe_degraded.txt, #30401 | |
Attached File | - | Added grub-probe_nondegraded.txt, #30402 |
Powered by Savane 3.13-02a9.
Corresponding source code
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