meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| vm:proxmox:zfs [2021/05/14 16:06] – niziak | vm:proxmox:zfs [2023/12/13 14:54] (current) – niziak | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| ===== Glossary ===== | ===== Glossary ===== | ||
| - | * ZPool is the logical unit of the underlying disks, what zfs use. | + | * ZPool is the logical unit of the underlying disks, what zfs use. | 
| - | * ZVol is an emulated Block Device provided by ZFS | + | * ZVol is an emulated Block Device provided by ZFS | 
| - | * ZIL is ZFS Intent Log, it is a small block device ZFS uses to write faster | + | * ZIL is ZFS Intent Log, it is a small block device ZFS uses to write faster | 
| - |   * SLOG is Seprate  | + |   * SLOG is Separate  | 
| - | * ARC is Adaptive Replacement Cache and located in Ram, its the Level 1 cache. | + | * ARC is Adaptive Replacement Cache and located in Ram, its the Level 1 cache. | 
| - | * L2ARC is Layer2 Adaptive Replacement Cache and should be on an fast device (like SSD). | + | * L2ARC is Layer2 Adaptive Replacement Cache and should be on an fast device (like SSD). | 
| ===== Resources ==== | ===== Resources ==== | ||
| Line 108: | Line 108: | ||
| zpool checkpoint --discard pve3-nvm | zpool checkpoint --discard pve3-nvm | ||
| </ | </ | ||
| + | |||
| + | ===== clean old replication snapshots ===== | ||
| + | |||
| + | <code bash> | ||
| + | zfs list -t all | grep @__replicate | cut -f 1 -d ' ' | while read N; do zfs destroy ${N}; done | ||
| + | </ | ||
| + | |||
| + | ===== trim free space ===== | ||
| + | |||
| + | <code bash> | ||
| + | # Trim with speed 50M/s | ||
| + | zpool trim -r 50M nvmpool | ||
| + | |||
| + | # And monitor progress: | ||
| + | zpool status nvmpool -t | ||
| + | </ | ||
| + | |||