Skip to content

Instantly share code, notes, and snippets.

@FireEgl
Last active April 9, 2024 20:39
Show Gist options
  • Select an option

  • Save FireEgl/eb76f327ac14d02da3136cc7a30c6ff5 to your computer and use it in GitHub Desktop.

Select an option

Save FireEgl/eb76f327ac14d02da3136cc7a30c6ff5 to your computer and use it in GitHub Desktop.
ZFS zpool create example using my preferred options
zpool create \
-o ashift=12 \
-o autotrim=on \
-o autoexpand=on \
-o failmode=continue \
-o listsnapshots=on \
-O recordsize=16k \
-O redundant_metadata=most \
-O compression=on \
-O dedup=on \
-O xattr=sa \
-O acltype=posixacl \
-O aclmode=groupmask \
-O dnodesize=auto \
-O atime=off \
-O relatime=on \
-O utf8only=on \
-O normalization=formD \
-O casesensitivity=mixed \
-O encryption=on -O keylocation=prompt -O keyformat=passphrase \
-O canmount=noauto \
-O mountpoint=legacy \
-m /mnt/zfs \
flex /dev/disk/by-partlabel/NVMeP4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment