Re: INITRDSTART replacement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/13/2017 08:22 AM, Caspar Smit wrote:
> "I'm using debian Jessie"
> 
> Sorry, i meant Debian Stretch (9.2)

>> I've always used the INITRDSTART directive in the /etc/default/mdadm
>> config file to prevent any md from starting during the initram phase
>> of boot (INITRDSTART=none). Some disk controller drivers do not always
>> present their disks in time before the md_mod, raid1, etc.. drivers
>> are loaded, leaving you with a degraded assembled array. I do not need
>> to boot from an md device so i don't need the md drivers during the
>> initram phase.
>>
>> I noticed in the changelog that INITRDSTART support was dropped in
>> version 3.4-2 (I'm using debian Jessie)
>>
>> Is there any new method to prevent md's from starting in the initram
>> phase or am i doing something completely wrong here?

Just arrange to have your initramfs contain a different mdadm.conf file,
with a line showing AUTO=-all and no ARRAY statements.

This approach is quite flexible, as it allows an initramfs to assemble
one or more specific arrays (needed for boot) with ARRAY= while
leaving any non-critical arrays for post-initramfs.  In your case, all
of them.

Phil
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux