What is a recommended XFS sector size for hybrid (512e) advanced format hard drives?

Chris Murphy lists at colorremedies.com
Tue Jan 6 13:55:47 CST 2015


What's sectsz= used for? Historically this would be sectsz=512,
bsize=4096 before AF hard drives appeared. So is sectsz used for
optimizing sub blocksize changes? e.g. if only 50 bytes needs
changing, the fs doesn't need to read modify and write the entire 4096
block, just change the affected sector?

If that's true, then sectsz=512 for a 4096 physical sector drive would
cause a lot of in-drive RMW, depending on the workdlow. On older AF
drives this can be a huge penalty hit.


Chris Murphy



More information about the xfs mailing list