Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 260ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
s

samba

Recently created Least recently created Recently updated Least recently updated

stm / [WIP] ZFS commands

Last active 1 hour ago samba zfs

Commands to create new ZFS pool and datasets on Linux

0 0 1
1 # RAIDZ2 pool creation
2 #
3 # -o (lowercase) is a _pool_ setting, -O (uppercase) is a _root dataset_ setting
4 #
5 # ashift=12: 2^12 = 4KiB sectors, for certain NVMe drives use 13 (8KiB)
6 # autotrim: TRIM for SSDs
7 # encryption=on: Defaults to aes-256-gcm (since 0.8.4)
8 # pbkdf2iters=700000: Double the default PBKDF2-SHA1(?) iterations, default is 350000
9 # dnodesize=auto: Is supposed to be used on systems running SAMBA with xattr=sa
10 # compression=on: Defaults to lz4 (when lz4_compress is enabled, see `zpool get feature@lz4_compress ${NAME}`)