F16: Raid1 /home failing to restart cleanly

Reindl Harald h.reindl at thelounge.net
Sat Apr 7 17:50:37 UTC 2012



Am 07.04.2012 19:45, schrieb 'Chris Hall':
> Reindl Harald wrote (on Sat 07-Apr-2012 at 16:22 +0100):
>> 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
> 
> Thanks for the suggestion.  I fiddled with /etc/default/grub so that it says:
> 
>   GRUB_CMDLINE_LINUX="rd.md.uuid=4f1c8224:cab0d0b2:f3ea7c36:7853abb8 rd.lvm=0 rd.dm=0 ....."
> 
> replacing an "rd.md=0" which was there before.  That generates the following in grub.cfg:
> 
>   menuentry 'Fedora Linux, with Linux 3.3.0-8.fc16.x86_64' --class fedora --class gnu-linux --class gnu --class os {
>   .....
>     linux   /vmlinuz-3.3.0-8.fc16.x86_64 root=UUID=76b8f7f4-f9ba-47cb-9a4b-ac0ad8c33b8a ro rd.md.uuid=4f1c8224:cab0d0b2:f3ea7c36:7853abb8 rd.lvm=0 rd.dm=0 quiet SYSFONT=latarcyrheb-sun16 rhgb  KEYTABLE=uk rd.luks=0 LANG=en_US.UTF-8
> 
> Unfortunately, this has not helped.  The /dev/md0 came up with just one half running.  All the stuff in the /var/log/messages which appears relevant:

please post your /etc/default/grub, /etc/mdadm.conf and /boot/grub2/grub.cfg
and do not strip content you may think it is not important, it could
and maybe someone sees the problem if you do not hide it

-------------- 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/24d2beae/attachment.sig>


More information about the users mailing list