Re: Adding Journal device to existing RAID6 array.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/21/2018 10:04 AM, Matt Wallis wrote:
> That sounds like even after adding a journal device, I need to change the 
> policy to journal, but currently can only change to ppl and resync.

Successfully adding a journal device will change the consistency policy
to journal, there is no need to use --grow --consistency-policy= after
that.

> [ 6870.886900] md: md1 stopped.
> [ 6871.096814] md/raid:md1: array cannot have both journal and bitmap
> [ 6871.096816] md: pers->run() failed ...
> [ 6892.528471] md/raid:md1: array cannot have both journal and bitmap
> [ 6892.528474] md: pers->run() failed …

So the problem is that your array had a write-intent bitmap before you
added the journal device. Using bitmap and journal was blocked some time
ago in the kernel: 230b55fa8d64 ("md: forbid a RAID5 from having both a
bitmap and a journal."), but apparently not in mdadm. Assemble the array
with --update=no-bitmap, that should fix it.



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux