Re: mdraid will no start at boot

2017-03-07 Thread Patrick Zaloum
I suspect you may need to rebuild your initrd image by running
update-initramfs to reflect any changes in the mdadm.conf that may involve
md2.
Also check your DEVICE entry in mdadm.conf that it includes the correct
wildcard.

Good luck
Patrick

On Mon, Feb 27, 2017 at 12:59 PM, deloptes  wrote:

> basti wrote:
>
> > ARRAY /dev/md0 metadata=1.2 name=srv01:0
> > UUID=42c30af1:e6986757:2c6bf608:34582a76
> > ARRAY /dev/md1 metadata=1.2 name=srv01:1
> > UUID=05b45cf9:2bf2dae8:8b4ea488:8cb4c214
> > # this line dones not start on boot
> > ARRAY /dev/md2 metadata=0.90 UUID=63226122:8d9b97bb:99109359:8e81e636
> >
> >
> > When I run mdadm --assemble --run /dev/md2 /dev/sdc1 /dev/sdd1 the array
> > is start.
>
> Check and update if needed /etc/default/mdadm, /etc/mdadm/mdadm.conf
>
>
>
>
>


Re: mdraid will no start at boot

2017-02-27 Thread deloptes
basti wrote:

> ARRAY /dev/md0 metadata=1.2 name=srv01:0
> UUID=42c30af1:e6986757:2c6bf608:34582a76
> ARRAY /dev/md1 metadata=1.2 name=srv01:1
> UUID=05b45cf9:2bf2dae8:8b4ea488:8cb4c214
> # this line dones not start on boot
> ARRAY /dev/md2 metadata=0.90 UUID=63226122:8d9b97bb:99109359:8e81e636
> 
> 
> When I run mdadm --assemble --run /dev/md2 /dev/sdc1 /dev/sdd1 the array
> is start.

Check and update if needed /etc/default/mdadm, /etc/mdadm/mdadm.conf






Re: mdraid will no start at boot

2017-02-27 Thread Andy Smith
Hi basti,

On Mon, Feb 27, 2017 at 10:21:51AM +0100, basti wrote:
> on one of my debian machine i have a error with one md raid.
> 
> There are
> md0 => /
> md1 => /backup
> md2 => /samba
> 
> md2 is not start/assemble after reboot,

I had a similar issue when I did not include the driver for some of
my devices (mpt3sas) in the initramfs:

http://www.spinics.net/lists/raid/msg54466.html
http://www.spinics.net/lists/raid/msg54522.html

There was much back and forth with Neil Brown (former md maintainer and
still developer) because my arrays still should have been assembled
as soon as userland was booted as then mpt3sas was loaded. i.e.
incremental assembly should have kicked in and assembled my arrays
as soon as loading mpt3sas made the devices visible.

Ultimately though it seems that Debian disables this incremental
assembly because of other problems:

http://www.spinics.net/lists/raid/msg54615.html

So I have to stick with my workaround of loading mpt3sas in the
initramfs.

If your problem is not related to that, you'll probably find more
assistance by posting on linux-raid. As you can see, Neil put a lot
of effort into getting to the source of my issue there.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



mdraid will no start at boot

2017-02-27 Thread basti
Hello,
on one of my debian machine i have a error with one md raid.

There are
md0 => /
md1 => /backup
md2 => /samba

md2 is not start/assemble after reboot, my mdadm.conf looks like

ARRAY /dev/md0 metadata=1.2 name=srv01:0
UUID=42c30af1:e6986757:2c6bf608:34582a76
ARRAY /dev/md1 metadata=1.2 name=srv01:1
UUID=05b45cf9:2bf2dae8:8b4ea488:8cb4c214
# this line dones not start on boot
ARRAY /dev/md2 metadata=0.90 UUID=63226122:8d9b97bb:99109359:8e81e636


When I run mdadm --assemble --run /dev/md2 /dev/sdc1 /dev/sdd1 the array
is start.