[Bug 271732] New: initrd mounts individual elements of a RAID-1 array if mount-by-UUID is used
https://bugzilla.novell.com/show_bug.cgi?id=271732 Summary: initrd mounts individual elements of a RAID-1 array if mount-by-UUID is used Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: teheo@novell.com QAContact: qa@suse.de CC: hare@novell.com, jeffm@novell.com, kasievers@novell.com Each element of a RAID-1 array apparently has the same image as the array itself. It seems initrd (or udev in it) doesn't care whether a partition is a member of a RAID-1 array or not. During boot, for some reason, initrd mounts one of the elements after loading the disk driver but before loading md. This makes md fail to claim the partition and run in degraded mode. After loading md, initrd mounts md as root again (probably on top of the previous mount). Last night, while trying to determine what's going on (as I wasn't able to add back one of the element into the array), I updated the kernel and the filesystem exploded. I'm still not sure how things went down exactly but after a while I was left with half destroyed filesystem. Anyways, recognizing a member of RAID-1 array as independent filesystem is inherently dangerous. It's also likely that the same problem exists for mount-by-volID. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=271732 jeffm@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |hare@novell.com |screening@forge.provo.novell| |.com | ------- Comment #1 from jeffm@novell.com 2007-05-05 14:02 MST ------- Kay, Hannes - I looked into this briefly when Tejun mentioned it in #suse. If I had to guess, I'd say what's happening is that the udev rules for UUID=/LABEL= are establishing the links in /dev/disk/by-{uuid,label} and md isn't getting started. If md were started, the two constituent disks would be locked out. Also, I suspect that the uuid/label on the md device would override the original ones. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=271732 kasievers@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |teheo@novell.com ------- Comment #2 from kasievers@novell.com 2007-05-05 14:42 MST ------- MD does not create label/uuid links, because the MD lifetime-rules do not fit into udev's expectations. It is hopefully fixed for openSUSE 10.3 by sending additional "change" events. The udev version in openSUSE 10.3 has special rules to handle MD-devices. There have been improvements in libvolume_id which recognize md devices more relibly. Tejun, can I log into the box, or give you instructions how to test the new version? On your box, what hat does: /lib/udev /dev/sd* (raid member) print? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=271732 kasievers@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|hare@novell.com |kasievers@novell.com Status|NEEDINFO |ASSIGNED Info Provider|teheo@novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=271732 kasievers@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |teheo@novell.com ------- Comment #3 from kasievers@novell.com 2007-05-05 14:48 MST ------- Oops: /lib/udev/vol_id /dev/sdX I mean. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=271732 ------- Comment #4 from teheo@novell.com 2007-05-06 03:24 MST ------- Created an attachment (id=137783) --> (https://bugzilla.novell.com/attachment.cgi?id=137783&action=view) details This is my primary workstation, so I reinstalled it yesterday but it's still in similar setup except that the RAID-1 array is mounted by device name (/dev/md0) instead of UUID. I'm attaching the result of 'fdisk -l', 'mdadm --detail /dev/md0', '/lib/udev/vol_id /dev/md0', 'lib/udev/vol_id /dev/sda3' and 'lib/udev/vol_id /dev/sdb3'. If you still need a login, just lemme know. I'll create an account for you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=271732 teheo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|teheo@novell.com | ------- Comment #5 from teheo@novell.com 2007-05-06 03:24 MST ------- Created an attachment (id=137784) --> (https://bugzilla.novell.com/attachment.cgi?id=137784&action=view) details This is my primary workstation, so I reinstalled it yesterday but it's still in similar setup except that the RAID-1 array is mounted by device name (/dev/md0) instead of UUID. I'm attaching the result of 'fdisk -l', 'mdadm --detail /dev/md0', '/lib/udev/vol_id /dev/md0', 'lib/udev/vol_id /dev/sda3' and 'lib/udev/vol_id /dev/sdb3'. If you still need a login, just lemme know. I'll create an account for you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=271732 ------- Comment #6 from teheo@novell.com 2007-05-06 03:25 MST ------- Oops, sorry about the double posting. Shaky hand. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=271732 kasievers@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |teheo@novell.com ------- Comment #7 from kasievers@novell.com 2007-05-06 03:32 MST ------- Yeah, that looks bad. Could you try the most recent fixes? By following these few steps: https://bugzilla.novell.com/attachment.cgi?id=137426&action=view And post the output of the new vol_id. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=271732 teheo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|teheo@novell.com | ------- Comment #8 from teheo@novell.com 2007-05-06 04:27 MST ------- Created an attachment (id=137785) --> (https://bugzilla.novell.com/attachment.cgi?id=137785&action=view) updated-result Yeap, the output looks much saner now, so it will be fixed in SL103? Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=271732 ------- Comment #9 from kasievers@novell.com 2007-05-06 04:36 MST ------- Ah, nice. Thanks for testing. Yes, it is already submitted for openSUSE 10.3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=271732 kasievers@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #10 from kasievers@novell.com 2007-06-04 12:39 MST ------- This should be fine in 10.3 Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com