zfs

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
zfs [2025-11-27 14:06] weichbrzfs [2026-02-09 17:21] (current) weichbr
Line 12: Line 12:
  
 A good set of defaults for a new pool: A good set of defaults for a new pool:
-''-o autotrim=on -O acltype=posixacl -O xattr=sa -O normalization=formD -O compression=zstd -O atime=on -O relatime=on''+''-o autotrim=on -O acltype=posixacl -O xattr=sa -O normalization=formD -O compression=zstd -O atime=on -O relatime=on -O %%"%%com.sun:auto-snapshot%%"%%=false''
  
  
Line 22: Line 22:
    * Enable comporession: ''-o compression=zstd''    * Enable comporession: ''-o compression=zstd''
    * ''recordsize'' of 128K is default. When storing large files, e.g., media, set this higher, e.g., 1M    * ''recordsize'' of 128K is default. When storing large files, e.g., media, set this higher, e.g., 1M
 +
 +Creating a dataset with encryption:
 +'' echo -n password | zfs create pool/dataset -o compression=zstd -o normalization=formD -o xattr=sa -o acltype=posixacl -o atime=on -o relatime=on -o %%"%%com.sun:auto-snapshot%%"%%=false -o encryption=on -o keyformat=passphrase -o keylocation=file:/%%//%%dev/stdin''
  • zfs.1764248770.txt.gz
  • Last modified: 2025-11-27 14:06
  • by weichbr