Re: md0: bitmap file is out of date, resync

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

 



Hi Song

On 21.06.19 21:51, Mathias G wrote:
>> Question: are you running the two drives with write cache on?
>> If yes, and if your application is not heavy on writes, could you try
>> turn off HDD write cache and see if the issue repros?
> Thanks for this. I just disabled the write cache with hdparm in rc.local
> for both RAID members and will let you know if the problem occurs again.

Today the problem occurred again:

kern.log
> Jun 28 12:39:11 $hostname kernel: [    2.098096] md/raid1:md0: not clean -- starting background reconstruction
> Jun 28 12:39:11 $hostname kernel: [    2.098099] md/raid1:md0: active with 2 out of 2 mirrors
> Jun 28 12:39:11 $hostname kernel: [    2.098201] md0: bitmap file is out of date (236662 < 236663) -- forcing full recovery
> Jun 28 12:39:11 $hostname kernel: [    2.098252] md0: bitmap file is out of date, doing full recovery

And the write cache is disabled for both RAID members:
> # hdparm -i /dev/sdb |grep WriteCache
>  AdvancedPM=yes: disabled (255) WriteCache=disabled

> # hdparm -i /dev/sdc |grep WriteCache
>  AdvancedPM=no WriteCache=disabled

I'm a little at a loss..
-- 
kind regards
 mathias



[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