Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Handles ZFS filesystem administration on Linux and macOS, covering pool creation, dataset configuration, snapshots, replication, encryption, and performance tuning. Follows OpenZFS best practices, including correct ashift settings, stable device naming, and production-safe pool layouts.
ZFS has many footguns (wrong ashift, file-backed pools, missing compression) that this skill explicitly guards against with production-ready defaults.
When to use it
- Setting up a mirrored or raidz2 pool on a new NAS
- Automating daily snapshots with recursive dataset coverage
- Encrypting a dataset before storing sensitive backups
- Replacing a failed disk and monitoring resilver progress
- Tuning recordsize and compression for a PostgreSQL workload
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: set up a ZFS pool with two disks and enable encryption for my backup dataset
- 1Identifies stable device paths under /dev/disk/by-id/ for both disks
- 2Creates a mirrored pool with ashift=12: zpool create -o ashift=12 tank mirror /dev/disk/by-id/disk1 /dev/disk/by-id/disk2
- 3Sets pool-level defaults: compression=lz4, atime=off, xattr=sa
- 4Creates an encrypted backup dataset with aes-256-gcm and a passphrase or key file
- 5Verifies pool status with zpool status and confirms encryption with zfs get encryption
A mirrored pool named tank with an encrypted tank/backups dataset ready for use