All of lore.kernel.org
 help / color / mirror / Atom feed
* raid5 - adding journal to an existing device?
@ 2017-02-25 14:12 Tomasz Chmielewski
  2017-03-02 18:39 ` Shaohua Li
  0 siblings, 1 reply; 3+ messages in thread
From: Tomasz Chmielewski @ 2017-02-25 14:12 UTC (permalink / raw)
  To: linux-raid

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: raid5 - adding journal to an existing device?
  2017-02-25 14:12 raid5 - adding journal to an existing device? Tomasz Chmielewski
@ 2017-03-02 18:39 ` Shaohua Li
  2017-03-02 19:19   ` Song Liu
  0 siblings, 1 reply; 3+ messages in thread
From: Shaohua Li @ 2017-03-02 18:39 UTC (permalink / raw)
  To: Tomasz Chmielewski; +Cc: linux-raid, songliubraving, jes.sorensen

On Sat, Feb 25, 2017 at 11:12:21PM +0900, Tomasz Chmielewski wrote:
> 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

Cc: Song and Jes.

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

Thanks,
Shaohua

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: raid5 - adding journal to an existing device?
  2017-03-02 18:39 ` Shaohua Li
@ 2017-03-02 19:19   ` Song Liu
  0 siblings, 0 replies; 3+ messages in thread
From: Song Liu @ 2017-03-02 19:19 UTC (permalink / raw)
  To: Shaohua Li; +Cc: Tomasz Chmielewski, linux-raid, jes.sorensen


> On Mar 2, 2017, at 10:39 AM, Shaohua Li <shli@kernel.org> wrote:
> 
> On Sat, Feb 25, 2017 at 11:12:21PM +0900, Tomasz Chmielewski wrote:
>> 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
> 
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-02 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-25 14:12 raid5 - adding journal to an existing device? Tomasz Chmielewski
2017-03-02 18:39 ` Shaohua Li
2017-03-02 19:19   ` Song Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.