Commands to create new ZFS pool and datasets on Linux
0
0
1
| 1 | # Notes |
| 2 | # |
| 3 | # ashift=12: 2^12 = 4KiB sectors, for certain NVMe drives use 13 (8KiB) |
| 4 | # autotrim=on: TRIM for SSDs |
| 5 | # encryption=on: Defaults to aes-256-gcm (since 0.8.4) |
| 6 | # pbkdf2iters=1400000: PBKDF2-SHA1 iterations recommendation by OWASP, default is only 350000 |
| 7 | # dnodesize=auto: Is supposed to be used on systems running SAMBA with xattr=sa |
| 8 | # compression=on: Defaults to lz4 |
| 9 | # normalization=formD: Decomposed Unicode normalization, implies utf8only=on, so UTF-8 filenames only |
| 10 | # longname=on: Allows filenames up to 1023 bytes, default is off meaning 255 bytes (supported since 2.3.0) |