Aller au contenu
TakoAPI
Retour aux skills

zfs

par mightybyte

Coding Agents & IDEs
367Téléchargements rapportés par clawskills.sh
0Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

ZFS filesystem administration, pool management, dataset configuration, snapshots, replication, encryption.

Description

Ce que fait ce skill

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.

Quand l'utiliser

  • 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

Exemple de workflow

ENTRÉE

User asks: set up a ZFS pool with two disks and enable encryption for my backup dataset

AGENT
  1. 1

    Identifies stable device paths under /dev/disk/by-id/ for both disks

  2. 2

    Creates a mirrored pool with ashift=12: zpool create -o ashift=12 tank mirror /dev/disk/by-id/disk1 /dev/disk/by-id/disk2

  3. 3

    Sets pool-level defaults: compression=lz4, atime=off, xattr=sa

  4. 4

    Creates an encrypted backup dataset with aes-256-gcm and a passphrase or key file

  5. 5

    Verifies pool status with zpool status and confirms encryption with zfs get encryption

SORTIE

A mirrored pool named tank with an encrypted tank/backups dataset ready for use

Installation

clawhub install mightybyte/zfs

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens