{ "meta": { "title": "ZFS-Befehle auf Proxmox — zpool, zfs snapshot, send/receive, scrub | ProxMenux", "description": "ZFS-Verwaltungsbefehle auf Proxmox VE: zpool create / status / history, zfs list / get / set, Snapshots, clone, zfs send und receive, scrub, clear, replace, zpool iostat und ARC-Übersicht.", "ogTitle": "ZFS-Befehle auf Proxmox — zpool, zfs snapshot, send/receive, scrub", "ogDescription": "Referenz der Befehle zpool und zfs auf Proxmox VE — Pools, Datensätze, Snapshots, Replikation, Wartung.", "twitterTitle": "ZFS-Befehle auf Proxmox | ProxMenux", "twitterDescription": "zpool und zfs Befehle für Proxmox VE: Pools, Datensätze, Snapshots, Replikation, Wartung." }, "header": { "title": "ZFS-Verwaltung", "description": "Ausgewählte zpool- und zfs-Befehle: Poolprüfung, Erstellen, Lesen, Ändern und Löschen von Datasets, Snapshots, clone und inkrementelles oder rekursives send/receive, Wartung mit scrub / clear / replace sowie I/O-Statistiken und ARC-Übersicht.", "section": "Hilfe und Informationen" }, "intro": { "title": "Zwei Kommandofamilien", "body": "zpool * verwaltet die Speicherpools (physische Schicht – Festplatten, vdevs, Redundanz). zfs * verwaltet die Datensätze und Snapshots, die sich in diesen Pools befinden (logische Schicht – Dateisysteme, Volumes, Snapshots, Eigenschaften)." }, "commandGroups": [ { "title": "Poolinformationen", "commands": [ { "command": "zpool list", "description": "Alle ZFS Pools auflisten" }, { "command": "zpool status", "description": "Detaillierter Poolstatus und Gesundheit anzeigen" }, { "command": "zpool status -v", "description": "Ausführlichen Poolstatus mit Fehlern anzeigen" }, { "command": "zpool history", "description": "Befehlshistorie für alle Pools anzeigen" }, { "command": "zpool history ", "description": "Befehlshistorie für bestimmten Pool anzeigen" }, { "command": "zpool get all ", "description": "Alle Eigenschaften eines Pools anzeigen" } ] }, { "title": "Datensatzverwaltung", "commands": [ { "command": "zfs list", "description": "Alle ZFS-Datensätze auflisten" }, { "command": "zfs list -r ", "description": "Alle Datensätze in einem Pool rekursiv auflisten" }, { "command": "zfs create /", "description": "Erstellen eines neuen Datensatzes" }, { "command": "zfs destroy /", "description": "Zerstören Sie einen Datensatz" }, { "command": "zfs rename / /", "description": "Umbenennen eines Datasets" }, { "command": "zfs get all /", "description": "Alle Eigenschaften eines Datasets anzeigen" }, { "command": "zfs set compression=on /", "description": "Komprimierung in einem Dataset ermöglichen" } ] }, { "title": "Snapshot-Verwaltung", "commands": [ { "command": "zfs list -t snapshot", "description": "Alle Snapshots auflisten" }, { "command": "zfs list -t snapshot -r ", "description": "Liste alle Snapshots in einem Pool" }, { "command": "zfs snapshot /@", "description": "Erstellen Sie einen Snapshot" }, { "command": "zfs destroy /@", "description": "Löschen eines Snapshots" }, { "command": "zfs rollback /@", "description": "Rollback zu einem Snapshot" }, { "command": "zfs hold /@", "description": "Snapshot mit einem Hold vor dem Löschen schützen" }, { "command": "zfs release /@", "description": "Hold-Schutz eines Snapshots aufheben" } ] }, { "title": "Klonen und Send/Receive", "commands": [ { "command": "zfs clone /@ /", "description": "Erstellen Sie einen Klon aus einem Snapshot" }, { "command": "zfs send /@ > backup.zfs", "description": "Schnappschuss an eine Datei senden" }, { "command": "zfs receive / < backup.zfs", "description": "Erhalten Sie einen Snapshot aus einer Datei" }, { "command": "zfs send -i /@ /@ > incr.zfs", "description": "Senden Sie inkrementellen Snapshot" }, { "command": "zfs send -R /@ > full-recursive.zfs", "description": "Rekursive Snapshots senden" } ] }, { "title": "Wartung und Reparatur", "commands": [ { "command": "zpool scrub ", "description": "Scrub-Prüfung eines Pools starten" }, { "command": "zpool scrub -s ", "description": "Laufenden Scrub stoppen" }, { "command": "zpool clear ", "description": "Fehlerzähler eines Pools zurücksetzen" }, { "command": "zpool clear ", "description": "Fehlerzähler eines bestimmten Geräts zurücksetzen" }, { "command": "zpool replace ", "description": "Ein ausgefallenes Gerät ersetzen" }, { "command": "zpool offline ", "description": "Nehmen Sie ein Gerät offline" }, { "command": "zpool online ", "description": "Bringen Sie ein Gerät online" } ] }, { "title": "Leistung und Überwachung", "commands": [ { "command": "zpool iostat", "description": "I/O-Statistiken für Pools anzeigen" }, { "command": "zpool iostat -v", "description": "Detaillierte I/O-Statistiken anzeigen" }, { "command": "zpool iostat 5", "description": "I/O Statistiken alle 5 Sekunden anzeigen" }, { "command": "arc_summary", "description": "ARC-Statistik anzeigen (falls installiert)" }, { "command": "zfs get compressratio /", "description": "Komprimierungsverhältnis anzeigen" }, { "command": "zfs get used,available,referenced /", "description": "Speicherplatznutzung anzeigen" } ] } ], "bestPractices": { "title": "Best Practices für den Betrieb", "bodyRich": "Planen Sie regelmäßig zpool scrub zur Prüfsummenprüfung ein und kontrollieren Sie das Ergebnis. Halten Sie Kapazität frei: Die Auswirkungen eines fast vollen Pools hängen von Last und Aufbau ab. Verwenden Sie zpool replace für ausgefallene Geräte und das Verfahren für den jeweiligen vdev-Typ. Detach + add ist kein gleichwertiger Austausch und kann die Topologie verändern oder Redundanz aufheben." }, "related": { "heading": "Verwandte Themen", "items": [ { "href": "/docs/help-info/storage-commands", "label": "Speicher und Datenträger", "tail": " — allgemeine Blockgeräte- und LVM-Befehle." }, { "href": "/docs/help-info/backup-commands", "label": "Sicherung und Wiederherstellung", "tail": " — vzdump, qmrestore." }, { "href": "/docs/help-info", "label": "Übersicht über Hilfe und Informationen", "tail": "." } ] } }