bugGNU GRUB - Bugs: bug #41380, grub2, mdadm 1.2 superblocks, gpt,...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #41380: grub2, mdadm 1.2 superblocks, gpt, lvm, grub2-probe, degraded array

Submitted by:  oblu123 <oblu123>
Submitted on:  Wed 29 Jan 2014 01:16:17 AM UTC  
 
Category: ConfigurationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: kitty the cutest
Open/Closed: OpenRelease: 
Release: 2.00Reproducibility: Every Time
Planned Release: None

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

oblu123 <oblu123>

 

Attached Files
file #30401:  grub-probe_degraded.txt added by oblu123 (72kB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by oblu123 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 29 Jan 2014 01:16:17 AM UTCoblu123Attached File-=>Added grub-probe_degraded.txt, #30401
      Attached File-=>Added grub-probe_nondegraded.txt, #30402

    Back to the top


    Powered by Savane 3.1-cleanup