[Top] [All Lists]

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

To: xfs@xxxxxxxxxxx
Subject: What is a recommended XFS sector size for hybrid (512e) advanced format hard drives?
From: Hillel Lubman <shtetldik@xxxxxxxxx>
Date: Sun, 04 Jan 2015 19:56:01 -0500
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=aYBeW9NNThRwFH5hiVAQZ5tOPcp6bsITf7Rj++VrdPI=; b=V81JB02tIZY6wQV5lUJ0QFHy+thKM+qMA3epeAkEQV5rmCGRpfqFR8ilqH4bAV2LOw gcCFh/IC6EtltzCgTQrGLRIPwKVjyDj9kNRnSUC+HNmYABYGcshR2NW+dCDXwtZuBzX5 Fa86niov+wFPyEV60yl/kt4K+5zRKorfEvEsNe7nOVsHf3bieAxd145y42X+IsaGRK3J pZ2jSxn4ZLxtMtrX0h2Y4qAP3hp4WTDza+5YpxPBkQDJiD2QabKR13YzVNbxY3X7RWK5 gc/XkwqbZT5BX5Fq5KYYi3+mQVBTWW78rhHbPZ2sAh9MZuuFjoqgHYjChkMtp4ZozMk/ 56Kg==
User-agent: KMail/4.14.1 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; )



Looking around I saw some references that it's preferable to use sector size (sectsz) of 4 KB when creating XFS partitions on hybrid (512e) advanced format hard drives and also some mentions of making that a default in mkfs.xfs. However I noticed that my current mkfs.xfs (3.2.1) used with current Debian testing (Linux 3.16.0) still uses 512 B sectors by default.


Can you please clarify what after all is the recommended sector size for such drives and why isn't it a default in mkfs.xfs (since supposedly defaults are generally recommended optimal settings unless you have some special use case).


Can you please also add this topic to the XFS FAQ (http://www.xfs.org/index.php/XFS_FAQ), since I couldn't find any information about it there.




Hillel Lubman.

<Prev in Thread] Current Thread [Next in Thread>