This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
computing:zfsreminders [2022/11/13 04:25] – oemb1905 | computing:zfsreminders [2023/12/25 21:21] – oemb1905 | ||
---|---|---|---|
Line 47: | Line 47: | ||
zfs mount pool/ | zfs mount pool/ | ||
| | ||
- | If you need to delete a snapshot, do the following: | + | If you need to delete a dataset, do the following: |
- | zfs destroy -r -n pool/ | + | zfs destroy -r pool/ |
| | ||
To create snapshots, here is a reasonable template: | To create snapshots, here is a reasonable template: | ||
Line 83: | Line 83: | ||
zpool status -v | zpool status -v | ||
zpool iostat -v | zpool iostat -v | ||
- | zpool list | + | zpool list -v |
| | ||
Also, to see whether cache volume is necessary, run and look at cache hit/miss ratio: | Also, to see whether cache volume is necessary, run and look at cache hit/miss ratio: | ||
Line 92: | Line 92: | ||
sudo zfs set keylocation=file:/// | sudo zfs set keylocation=file:/// | ||
+ | | ||
+ | Send and receive entire pool to new pool | ||
+ | |||
+ | zfs snapshot -r pool1@latestsnap | ||
+ | zfs send -R pool1@latestsnap | zfs receive -F pool2 | ||
- | --- // | + | --- // |