User Tools

Site Tools


zfs:structure:sectors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

zfs:structure:sectors [2021/10/13 00:52] – created peterzfs:structure:sectors [2021/10/13 00:52] (current) peter
Line 5: Line 5:
   * For several decades, most disks used 512 byte sectors.   * For several decades, most disks used 512 byte sectors.
   * More recently, most disks use 4KiB sectors, and some, particularly SSDs, use 8KiB sectors, or even larger.   * More recently, most disks use 4KiB sectors, and some, particularly SSDs, use 8KiB sectors, or even larger.
 +  * ZFS has a property which allows you to manually set the sector size, called **ashift**.
  
 ---- ----
Line 10: Line 11:
 ===== ashift ===== ===== ashift =====
  
-ZFS has a property which allows you to manually set the sector size, called **ashift**.+Somewhat confusingly, ashift is actually the binary exponent which represents sector size.
  
-  * Somewhat confusingly, ashift is actually the binary exponent which represents sector size. 
   * For example, setting **ashift=9** means your sector size will be 2^9, or 512 bytes.   * For example, setting **ashift=9** means your sector size will be 2^9, or 512 bytes.
  
zfs/structure/sectors.1634086332.txt.gz · Last modified: 2021/10/13 00:52 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki