public:managing_zfs_on_debian
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:managing_zfs_on_debian [2024/04/19 22:07] – [Creating a pool] thomas | public:managing_zfs_on_debian [2024/05/03 21:29] (current) – [Transferring a snapshot to a pool on another server] thomas | ||
|---|---|---|---|
| Line 42: | Line 42: | ||
| If a filesystem is already detected on the disks, use the '' | If a filesystem is already detected on the disks, use the '' | ||
| - | :!: To easily identify devices later on, instead of adding them as ''/ | + | :!: To easily identify devices later on, instead of adding them as ''/ |
| < | < | ||
| Line 65: | Line 65: | ||
| </ | </ | ||
| + | ===== Destroying a zpool ===== | ||
| + | |||
| + | < | ||
| + | zpool destroy tank | ||
| + | </ | ||
| ===== Listing snapshots ===== | ===== Listing snapshots ===== | ||
| Line 93: | Line 98: | ||
| nc -l -p 7777 | zfs recv -F tank/ | nc -l -p 7777 | zfs recv -F tank/ | ||
| </ | </ | ||
| + | |||
| + | :!: Apparently, when using '' | ||
| If you have '' | If you have '' | ||
| Line 108: | Line 115: | ||
| </ | </ | ||
| - | :!: If you kill the receiving process, it might take a while before it exits. I suspect this is because it is cleaning up what it has already received, so there is no incomplete dataset on the receiving system. | + | If you want to send the difference between two snapshots, you can do so as follows: |
| + | |||
| + | < | ||
| + | zfs send -i tank/ | ||
| + | </ | ||
| + | |||
| + | This also works with the '' | ||
| ====== References ====== | ====== References ====== | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | * https:// | ||
| {{tag> | {{tag> | ||
public/managing_zfs_on_debian.1713564474.txt.gz · Last modified: by thomas
