F16: Raid1 /home failing to restart cleanly

Reindl Harald h.reindl at thelounge.net
Sat Apr 7 15:21:49 UTC 2012



Am 07.04.2012 17:10, schrieb 'Chris Hall':
> 
> I have a /home partition which is set up as a Software RAID1, using /dev/md0.
> 
> When I reboot the /dev/md0 fails to come up cleanly.  So far it has come back each time, but nearly every time it comes up with one of the two members of the RAID array missing.  I can mdadm /dev/md0 --re-add /dev/sdb3 -- and all is apparently well again.  But I have this partition as RAID for a reason, and it scares the bejazus out of me each time :-(
> 
> Any clues as to what spells I have failed to cast?

that was discussed several times and is a bug you can workaround easy
as you see below all raid-uuids are passed with "rd_MD_UUID=" as
additional kernel-parameters, after that this will not happen again

(ignore the ton of other kernel-params in my setup)

[root at srv-rhsoft:~]$ cat /etc/mdadm.conf
MAILADDR root
AUTO +imsm +1.x -all
ARRAY /dev/md0 level=raid1 num-devices=4 UUID=1d691642:baed26df:1d197496:4fb00ff8
ARRAY /dev/md1 level=raid10 num-devices=4 UUID=b7475879:c95d9a47:c5043c02:0c5ae720
ARRAY /dev/md2 level=raid10 num-devices=4 UUID=ea253255:cb915401:f32794ad:ce0fe396
______________________

menuentry 'Fedora (3.3.1-2.fc16.x86_64)' --class fedora --class gnu-linux --class gnu --class os {
        linux   /vmlinuz-3.3.1-2.fc16.x86_64 root=UUID=b935b5db-0051-4f7f-83ac-6a6651fe0988 ro
rd_MD_UUID=b7475879:c95d9a47:c5043c02:0c5ae720 rd_MD_UUID=1d691642:baed26df:1d197496:4fb00ff8
rd_MD_UUID=ea253255:cb915401:f32794ad:ce0fe396 rd_NO_LUKS rd_NO_LVM rd_NO_DM LANG=de_DE.UTF-8 elevator=cfq
selinux=0 ipv6.disable=1 clocksource=hpet noisapnp noresume nf_conntrack.acct=1 printk.time=0 nmi_watchdog=0
pcie_aspm=force i915.i915_enable_rc6=1 i915.semaphores=1 i915.i915_enable_fbc=1 consoleblank=0 acpi_osi=Linux
SYSFONT=latarcyrheb-sun16 KEYTABLE=de-latin1-nodeadkeys




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120407/c1a47774/attachment.sig>


More information about the users mailing list