Opengist

Explore

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

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

stm

Joined 3 months ago

All gists 2
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}`)

stm / [WIP] steam.Dockerfile

Last active 3 months ago

Work in progress

0 0 1
1 FROM debian:trixie
2
3 ENV DEBIAN_FRONTEND=noninteractive
4 ENV LANG=en_US.UTF-8
5 ENV LANGUAGE=en_US:en
6 ENV LC_ALL=en_US.UTF-8
7
8 # Set locale
9 RUN apt-get update && apt-get install -y --no-install-recommends \
10 locales && \