Skip to content

Instantly share code, notes, and snippets.

@myers
Created July 11, 2021 17:23
Show Gist options
  • Save myers/bc30f04984adfc5a21250e85d8ac2afd to your computer and use it in GitHub Desktop.
Save myers/bc30f04984adfc5a21250e85d8ac2afd to your computer and use it in GitHub Desktop.
zpool create \
-o cachefile=/etc/zfs/zpool.cache \
-o ashift=12 -o autotrim=on -d \
-o feature@async_destroy=enabled \
-o feature@bookmarks=enabled \
-o feature@embedded_data=enabled \
-o feature@empty_bpobj=enabled \
-o feature@enabled_txg=enabled \
-o feature@extensible_dataset=enabled \
-o feature@filesystem_limits=enabled \
-o feature@hole_birth=enabled \
-o feature@large_blocks=enabled \
-o feature@lz4_compress=enabled \
-o feature@spacemap_histogram=enabled \
-O acltype=posixacl -O canmount=off -O compression=lz4 \
-O devices=off -O normalization=formD -O relatime=on -O xattr=sa \
-O mountpoint=/boot -R /mnt \
bpool ${DISK}-part3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment