Re: RAID5 alignment issues with 4K/AF drives (WD green ones)

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

 



> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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