Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Automatic RAID array assemblying at boot with Journal

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Toxiro
Posts: 2
Joined: 2017-11-07 13:18

Automatic RAID array assemblying at boot with Journal

#1 Post by Toxiro »

Hello,

I am running a freshly installed Debian in VMware and I cannot get my RAID array assembled at boot (only if I use the option --write-journal). So the following is working without any issues:

Code: Select all

mdadm --create /dev/md/test --level=5 --raid-devices=3 /dev/sd[bcd]1
/usr/share/mdadm/mkconf > /etc/mdadm/mdadm.conf
update-initramfs -u -k all
reboot
If I try the same with a journal device:

Code: Select all

mdadm --create /dev/md/test --level=5 --raid-devices=3 --write-journal=/dev/sde1 /dev/sd[bcd]1
the array gets assembled without any issues, but after the reboot:

Code: Select all

mdadm --detail /dev/md/test
mdadm: cannot open /dev/md/test: No such file or directory
I can get it running manually with:

Code: Select all

mdadm --stop /dev/md127
mdadm --assemble --scan
I tried the same without an mdadm.conf file with the same result: it worked without a journal device, but not with a journal device.

Post Reply