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

Bug#382602: Breaks Root-on-RAID when /boot != /root)



On Sat, Aug 12, 2006 at 02:43:00AM -0400, Daniel Dickinson wrote:
> 
> Upgrading initramfs (when package in testing changed) resulted in
> non-booting system.  I managed to fix things by adding a script to
> init-premount that activates (mdam -assemble's) the raid5 device
> (/dev/md1) that contains my root filessystem.  This probably won't
> occur on systems where /boot is on the root filesystem because (AIUI)
> the boot raid device is automagically activated.
> 
> The reason that the root device isn't activated by mdadm in local-top
> is that it is trying to use /etc/mdadm.conf which it doesn't find.
> (I don't know if /etc/mdadm/mdadm.conf is what it's trying to use, or
> if it is supposed to copy that file to /etc in the initramfs file).

urgs yes there is a typo in scripts/local-top/mdraid,
needs to use /conf/mdadm.conf that is created by mkinitramfs,
instead of /etc/mdadm.conf.

please post which mdadm version you are using?
dpkg -l mdadm
also please post the output of 
mdadm --examine --scan


 
> The script I added is (less the <script></script> tags):

looks sane and nice quick workaround.
 
thanks for report!

--
maks



Reply to: