Skip to contentSkip to conversation

raid5 - adding journal to an existing device?

DISCUSSION Tomasz Chmielewski 3 participants 3 messages Feb 25, 2017 – Mar 2, 2017 MD RAID

lore
Share & tools
lore
#0 lore raw

mdadm manual specifies the following for create, build and grow modes:

--write-journal
Specify journal device for the RAID-4/5/6 array.

However:

# mdadm --grow /dev/md2 --write-journal /dev/sdc1
mdadm: :option --write-journal not valid in grow mode

Is it not yet supported, will never be supported, or am I simply trying to use it in a wrong way?

Tried the following versions:

# ./mdadm -V
mdadm - v3.4-115-ge22fe3a - 29th November 2016
# mdadm -V
mdadm - v3.4 - 28th January 2016

Tomasz Chmielewski
https://lxadm.com

#1 lore raw
Quoted 16 lines · Tomasz Chmielewski

mdadm manual specifies the following for create, build and grow modes:

--write-journal
Specify journal device for the RAID-4/5/6 array.

However:

# mdadm --grow /dev/md2 --write-journal /dev/sdc1
mdadm: :option --write-journal not valid in grow mode

Is it not yet supported, will never be supported, or am I simply trying to use it in a wrong way?

Quoted 7 lines

Tried the following versions:

# ./mdadm -V
mdadm - v3.4-115-ge22fe3a - 29th November 2016
# mdadm -V
mdadm - v3.4 - 28th January 2016
Cc Song and Jes.

I think we support hotadd journal. Will let Song clarify.

Thanks,
Shaohua

#2 lore raw
Quoted 28 lines · Shaohua Li
Quoted 16 lines · Tomasz Chmielewski

mdadm manual specifies the following for create, build and grow modes:

--write-journal
Specify journal device for the RAID-4/5/6 array.

However:

# mdadm --grow /dev/md2 --write-journal /dev/sdc1
mdadm: :option --write-journal not valid in grow mode

Is it not yet supported, will never be supported, or am I simply trying to use it in a wrong way?

Quoted 7 lines

Tried the following versions:

# ./mdadm -V
mdadm - v3.4-115-ge22fe3a - 29th November 2016
# mdadm -V
mdadm - v3.4 - 28th January 2016
Quoted 6 lines
Cc Song and Jes.

I think we support hotadd journal. Will let Song clarify.

Thanks,
Shaohua

We have support for hotadd journal to an array with broken/missing journal. We haven't implement hotted journal to arrays with no journal ever. We do plan to add the feature.

Thanks,
Song