Red Hat Bugzilla – Bug 41913
Last modified: 2014-03-16 22:20:53 EDT
Description of Problem:
at boot-up /etc/rc.d/rc.sysinit starts up the raiddevices from
/etc/raidtab (if this file exists) and falls back to a raid-repair-shell
if it can't find/load the devices. This is behaviour is correct and
should be like that, but I use personally sometimes a raid-array on a
external scsi-storage, which I don't want to use every time. So if I
leave my /etc/raidtab the boot-up stops everytime with a repair-shell if
I haven't enabled the external storage and I need to remove or rename
/etc/raidtab and reboot the machine.
Instead rc.sysinit should verify in /etc/fstab if this raid-device should
really be loaded at bootup (via the "noauto" flag in /etc/fstab) and
_only_ if "noauto" is _not_ given on the fstab-line start the
raid-services on this device.
The attached patch does this and skips initialization of raid-devices,
which have the "noauto" flag set in /etc/fstab.
Created attachment 19350 [details]
patch against rc.sysinit
Will be in 5.88-1 - thanks.