Re: md*_raid5 keeps writing to disks

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

 



Hi,

short update:
Seems nothing is wrong here, except I didn't look carefully enough and missed that ext4lazyinit is actually
still running and thus causing those writes. I assume, once it finishes its job everything will be as expected.

Sorry for the noise.

Happy New Year.

Thanks,
Norbert

Am 30.12.19 um 04:11 schrieb Norbert Weinhold:
> Hi,
> 
> I currently experience a "problem" with a raid5 I built. As soon as I have mounted the filesystem on it (ext4)
> a md127_raid5 process will do writes every few seconds to all the members:
> 
> md127_raid5(4044): WRITE block 16 on sdb1 (8 sectors)
> md127_raid5(4044): WRITE block 16 on sdc1 (8 sectors)
> md127_raid5(4044): WRITE block 16 on sda1 (8 sectors)
> md127_raid5(4044): WRITE block 16 on sdg1 (8 sectors)
> md127_raid5(4044): WRITE block 16 on sdh1 (8 sectors)
> md127_raid5(4044): WRITE block 8 on sdb1 (1 sectors)
> md127_raid5(4044): WRITE block 8 on sdc1 (1 sectors)
> md127_raid5(4044): WRITE block 8 on sda1 (1 sectors)
> md127_raid5(4044): WRITE block 8 on sdg1 (1 sectors)
> md127_raid5(4044): WRITE block 8 on sdh1 (1 sectors)
> 
> Disabling the journal of the filesystem does not make a difference. Same for changing the bitmap to none for
> the RAID. I'm wondering what is happening here that keeps my drives active. This only stops when unmounting
> the filesystem. There are no logged writes/reads to the md devices itself at the same time.
> 
> I'm currently running Kernel 4.9.0-11
> 
> /dev/md127:
>         Version : 1.2
>   Creation Time : Sat Dec 21 22:20:21 2019
>      Raid Level : raid5
>      Array Size : 19534553088 (18629.60 GiB 20003.38 GB)
>   Used Dev Size : 4883638272 (4657.40 GiB 5000.85 GB)
>    Raid Devices : 5
>   Total Devices : 5
>     Persistence : Superblock is persistent
> 
>   Intent Bitmap : Internal
> 
>     Update Time : Mon Dec 30 03:31:26 2019
>           State : clean
>  Active Devices : 5
> Working Devices : 5
>  Failed Devices : 0
>   Spare Devices : 0
> 
>          Layout : left-symmetric
>      Chunk Size : 512K
> 
>            Name : mediapc:myraid5  (local to host mediapc)
>            UUID : 386efd19:1cc165f6:937ac197:810a3afa
>          Events : 68301
> 
>     Number   Major   Minor   RaidDevice State
>        0       8      113        0      active sync   /dev/sdh1
>        1       8       97        1      active sync   /dev/sdg1
>        3       8        1        2      active sync   /dev/sda1
>        5       8       17        3      active sync   /dev/sdb1
>        4       8       33        4      active sync   /dev/sdc1
> 
> Thanks,
> Norbert
> 




[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