Re: RAID5 alignment issues with 4K/AF drives (WD green ones)
From: Marcus Sorensen <hidden>
Date: 2011-12-31 22:20:29
From: Marcus Sorensen <hidden>
Date: 2011-12-31 22:20:29
WTF is the jumper for then ? (on 512B drive) Does it change somehow: /sys/block/sdX/queue/physical_block_size /sys/block/sdX/queue/logical_block_size /sys/block/sdX/alignment_offset
No, it doesn't change what the OS sees at all. Off the top of my head I think it just changes how the drive maps internally, so an OS that normally starts the 1st partition on sector 63 will align correctly, hence XP mode. That might not be exactly what's going on but something along those lines.
Could you explain how I could look into the stripe-cache settings?
In /sys/block/md0/md/stripe_cache_size, this allows the system to keep the contents of recently read stripes in memory, so if they need to be modified again it doesn't have to read from disk to calculate parity.