Last active
April 9, 2024 20:39
-
-
Save FireEgl/eb76f327ac14d02da3136cc7a30c6ff5 to your computer and use it in GitHub Desktop.
ZFS zpool create example using my preferred options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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