{ "meta": { "title": "ZFS Commands on Proxmox — zpool, zfs snapshot, send/receive, scrub | ProxMenux", "description": "Reference of ZFS management commands on Proxmox VE: zpool create / status / history, zfs list / get / set, snapshots, clone, zfs send and receive, scrub, clear, replace, zpool iostat, ARC summary.", "ogTitle": "ZFS Commands on Proxmox — zpool, zfs snapshot, send/receive, scrub", "ogDescription": "Reference of zpool and zfs commands on Proxmox VE — pools, datasets, snapshots, replication, maintenance.", "twitterTitle": "ZFS Commands on Proxmox | ProxMenux", "twitterDescription": "zpool and zfs commands for Proxmox VE: pools, datasets, snapshots, replication, maintenance." }, "header": { "title": "ZFS Management", "description": "Curated reference for zpool and zfs commands: pool inspection, dataset CRUD, snapshots, clone and send/receive (incremental and recursive), scrub / clear / replace for maintenance, plus I/O statistics and ARC summary.", "section": "Help and Info" }, "intro": { "title": "Two command families", "body": "zpool * manages the storage pools (physical layer — disks, vdevs, redundancy). zfs * manages the datasets and snapshots that live inside those pools (logical layer — filesystems, volumes, snapshots, properties)." }, "commandGroups": [ { "title": "Pool Information", "commands": [ { "command": "zpool list", "description": "List all ZFS pools" }, { "command": "zpool status", "description": "Show detailed pool status and health" }, { "command": "zpool status -v", "description": "Show verbose pool status with errors" }, { "command": "zpool history", "description": "Show command history for all pools" }, { "command": "zpool history ", "description": "Show command history for specific pool" }, { "command": "zpool get all ", "description": "Show all properties of a pool" } ] }, { "title": "Dataset Management", "commands": [ { "command": "zfs list", "description": "List all ZFS datasets" }, { "command": "zfs list -r ", "description": "List all datasets in a pool recursively" }, { "command": "zfs create /", "description": "Create a new dataset" }, { "command": "zfs destroy /", "description": "Destroy a dataset" }, { "command": "zfs rename / /", "description": "Rename a dataset" }, { "command": "zfs get all /", "description": "Show all properties of a dataset" }, { "command": "zfs set compression=on /", "description": "Enable compression on a dataset" } ] }, { "title": "Snapshot Management", "commands": [ { "command": "zfs list -t snapshot", "description": "List all snapshots" }, { "command": "zfs list -t snapshot -r ", "description": "List all snapshots in a pool" }, { "command": "zfs snapshot /@", "description": "Create a snapshot" }, { "command": "zfs destroy /@", "description": "Delete a snapshot" }, { "command": "zfs rollback /@", "description": "Rollback to a snapshot" }, { "command": "zfs hold /@", "description": "Place a hold on a snapshot" }, { "command": "zfs release /@", "description": "Release a hold on a snapshot" } ] }, { "title": "Clone and Send/Receive", "commands": [ { "command": "zfs clone /@ /", "description": "Create a clone from a snapshot" }, { "command": "zfs send /@ > backup.zfs", "description": "Send a snapshot to a file" }, { "command": "zfs receive / < backup.zfs", "description": "Receive a snapshot from a file" }, { "command": "zfs send -i /@ /@ > incr.zfs", "description": "Send incremental snapshot" }, { "command": "zfs send -R /@ > full-recursive.zfs", "description": "Send recursive snapshot" } ] }, { "title": "Maintenance and Repair", "commands": [ { "command": "zpool scrub ", "description": "Start a scrub operation on a pool" }, { "command": "zpool scrub -s ", "description": "Stop a running scrub" }, { "command": "zpool clear ", "description": "Clear error counts in a pool" }, { "command": "zpool clear ", "description": "Clear errors on a specific device" }, { "command": "zpool replace ", "description": "Replace a failed device" }, { "command": "zpool offline ", "description": "Take a device offline" }, { "command": "zpool online ", "description": "Bring a device online" } ] }, { "title": "Performance and Monitoring", "commands": [ { "command": "zpool iostat", "description": "Show I/O statistics for pools" }, { "command": "zpool iostat -v", "description": "Show detailed I/O statistics" }, { "command": "zpool iostat 5", "description": "Show I/O statistics every 5 seconds" }, { "command": "arc_summary", "description": "Show ARC statistics (if installed)" }, { "command": "zfs get compressratio /", "description": "Show compression ratio" }, { "command": "zfs get used,available,referenced /", "description": "Show space usage" } ] } ], "bestPractices": { "title": "Operational best practices", "bodyRich": "Run zpool scrub weekly or monthly to detect silent corruption. Keep at least 10-15% of pool space free — ZFS performance degrades sharply over 80% full. Always replace failed devices with zpool replace (in-place) rather than detach + add (which loses redundancy temporarily)." }, "related": { "heading": "Related", "items": [ { "href": "/docs/help-info/storage-commands", "label": "Storage and Disks", "tail": " — generic block-device and LVM commands." }, { "href": "/docs/help-info/backup-commands", "label": "Backup and Restore", "tail": " — vzdump, qmrestore." }, { "href": "/docs/help-info", "label": "Help and Info overview", "tail": "." } ] } }