/homelab-ops:zfs-resumable-transfersfrom homelab-ops
Always send large ZFS datasets as resumable (zfs receive -s / zfs send -t), never plain zfs send | zfs receive -F. An interrupted transfer discards everything sent, turning a blip into hours of retransfer. Use for non-trivial zfs send/receive.
Ships in homelab-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Any zfs send | zfs receive moving a non-trivial dataset must be
resumable. Receive with -s (saves a resume token on interruption) and
retry an interrupted transfer with -t <token>:
zfs receive -s pool/dataset
# on interruption, resume instead of restarting. receive_resume_token lives
# on the RECEIVING dataset; zfs send -t must run on the SENDING host — for a
# local-to-local transfer that's the same host:
zfs send -t "$(zfs get -H -o value receive_resume_token pool/dataset)" | \
zfs receive -s pool/dataset
# for the common case where send and receive are on different hosts, fetch
# the token from the receiving host and run zfs send -t over ssh to the
# source host instead:
TOKEN=$(zfs get -H -o value receive_resume_token pool/dataset)
ssh source-host "zfs send -t '$TOKEN'" | zfs receive -s pool/dataset
zfs receive -F alone is not resumable. Without -s, any interruption —
a dropped SSH session, a reboot on either end, a network blip — discards the
entire partial transfer. The next attempt starts over from zero, not from
where it left off. This is documented, stable OpenZFS behavior (see
man zfs-receive for the same -s/-t contract on any host).
The failure mode is not "the transfer is slower." It's "the transfer has no
partial credit." A 90%-complete multi-terabyte transfer that gets
interrupted in the last minute is exactly as expensive to retry as one
interrupted in the first minute. On a large dataset, that turns a brief
unrelated hiccup — a reboot, a flaky link, a maintenance window — into hours
of repeated, wasted retransfer. One real migration lost 1.52 TiB of an
already-sent 3.48 TiB dataset to an unrelated host reboot, purely because
-s was omitted.
-s — always, even for transfers expected to be short. The
interruption that matters is the one nobody planned for.zfs hold <tag> pool/dataset@snap) so it can't be pruned mid-resume.zfs get -H -o value receive_resume_token pool/dataset. A non-empty
value means resume, not restart.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jacobpevans-ai/claude-code-plugins --plugin homelab-ops9 skills in this plugin
/dell-idrac-bmc-opsBring a Dell PowerEdge BMC (iDRAC) onto the network headlessly, standardize settings, stage firmware, drive an unattended install — Redfish/racadm gotchas, identity-before-power, phantom-drive from stale firmware. Use bringing up/diagnosing a BMC./homelab-runbooksUse when powering on a sleeping DR node, converging DNS records for a new ingress vhost, or bringing up OpenBao/Terrakube JWT identity — homelab operational runbooks for power management, DNS, and secrets-engine bring-up./llm-router-opsOperate a self-hosted OpenAI-compatible LLM router — client-wiring per client, context-window ad gotcha, env-vs-persisted-config gotcha, why an unauth health probe should 401. Use wiring a client, adding a backend, diagnosing misbehavior.