Thread (12 messages) 12 messages, 4 authors, 2017-11-16

Re: RAID 5 array with journal device does not automatically assemble at boot

From: Tobx <hidden>
Date: 2017-11-16 07:31:52

Larkin Lowrey wrote:
The "spares=1" is for the journal device. The "mdadm --examine --scan" command produced that for me as well but since it seemed odd I deleted that part. Since there isn't actually a spare it seems incorrect. I've never tried to boot with "spares=1" so I don't know if removing it will make any difference.
Yes, I tried that, seemed odd to me too, I also tried just:
ARRAY /dev/md/test UUID=d59de5cc:02f560ed:ebcb9400:491955d7

Rudy Zijlstra wrote:
Did you update the initrd after creating the array?
Yes.
Tobx wrote:
quoted
I tried this with Debian Stretch (4.9.0-4), Debian Stretch (4.13.0-0) and Ubuntu 17.10 (4.13.0-16).
Tobx wrote:
quoted
I compiled mdadm from source and tried again with:

# mdadm --version
mdadm - v4.0 - 2017-01-09
Song Liu wrote:
Your mdadm is a little old. Could you please try rebuild it from
latest source code?
Do you have something newer?

It always works without the journal option (except I set something very wrong of course) and also with the option, but then it never assembles automatically after reboot.

I am testing everything in VMware mostly on a clean Debian installation. Might VMware be the problem? I have no other test system in place.

Cheers,
Tobi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help