Re: raid5: switching cache buffer size

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

 



Gordon Henderson wrote:
Anyone know what this means?

My big server is currently fscking a lvm partition which sits on-top of a
raid5 device and the console is scrolling these messages as fast as it can.
It says it's switching from 0 to 512, from 512 to 0 and 0 to 1024 ( or
maybe 512 to 1024, its hard to tell).

What's happening and how do I stop it?
hi,
you probably have filesystems of different block in the volume group,
raid cache cannot cope with requests of varying block size so it has to flush the cache each time, this only hurts performance and is not problem for data safety.

fix:
1) make sure everything on your raid5 is the same block size, if you have swap you are locked to using 4k blocks, if you are using snapshots 1k blocks, if you use both jump.
2) comment the printk in the raid5 source

L.


-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

[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