Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mailinglists35/8cec903ee4f6f733233bd59b1c747fd2 to your computer and use it in GitHub Desktop.
Save mailinglists35/8cec903ee4f6f733233bd59b1c747fd2 to your computer and use it in GitHub Desktop.
zpool create \
-o ashift=13 \
-o failmode=continue \
-o autotrim=on \
-O atime=off \
-O dnodesize=auto \
-O mountpoint=/srv/zfs \
-O xattr=sa \
-O acltype=posixacl \
-O compression=on \
zfs mirror /dev/nvme0n1 /dev/nvme1n1
#-O compression=on - we are wasting time with compression so it's faster with default compression off on fast nvme drives.
reads are faster from nvme than decompressing...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment