| Main index | Section 8 | Options |
| zfs
destroy
[ | |
| | |
| Recursively destroy all dependents, including cloned file systems outside the target hierarchy. | |
| | |
| Forcibly unmount file systems. This option has no effect on non-file systems or unmounted file systems. | |
| | |
|
Do a dry-run
("No-op")
deletion.
No data will be deleted.
This is useful in conjunction with the
| |
| | |
| Print machine-parsable verbose information about the deleted data. | |
| | |
| Recursively destroy all children. | |
| | |
| Print verbose information about the deleted data. | |
Extreme care should be taken when applying either the
| zfs
destroy
[ If a snapshot does not qualify for immediate destruction, it is marked for deferred deletion. In this state, it exists as a usable, visible snapshot until both of the preconditions listed above are met, at which point it is destroyed. An inclusive range of snapshots may be specified by separating the first and last snapshots with a percent sign. The first and/or last snapshots may be left blank, in which case the filesystem's oldest or newest snapshot will be implied. Multiple snapshots (or ranges of snapshots) of the same filesystem or volume may be specified in a comma-separated list of snapshots. Only the snapshot's short name (the part after the @ ) should be specified when using a range or comma-separated list to identify multiple snapshots. | |
| | |
|
Recursively destroy all clones of these snapshots, including the clones,
snapshots, and children.
If this flag is specified, the
| |
| | |
| Destroy immediately. If a snapshot cannot be destroyed now, mark it for deferred destruction. | |
| | |
|
Do a dry-run
("No-op")
deletion.
No data will be deleted.
This is useful in conjunction with the
| |
| | |
| Print machine-parsable verbose information about the deleted data. | |
| | |
| Destroy (or mark for deferred deletion) all snapshots with this name in descendent file systems. | |
| | |
|
Print verbose information about the deleted data.
Extreme care should be taken when applying either the
| |
| zfs destroy filesystem|volume#bookmark The given bookmark is destroyed. | |
# zfs
# zfs
# zfs populate /pool/project/production with data # zfs # zfs make changes to /pool/project/beta and test them # zfs # zfs # zfs once the legacy version is no longer needed, it can be destroyed # zfs
# zfs # zfs # zfs # zfs # zfs # zfs # zfs # zfs # zfs
| ZFS-DESTROY (8) | March 16, 2022 |
| Main index | Section 8 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | This philosophy, in the hands of amateurs, leads to inexplicably mind-numbing botches like the existence of two programs, “head” and “tail,” which print the first part or the last part of a file, depending. Even though their operations are duals of one another, “head” and “tail” are different programs, written by different authors, and take different options! | ” |
| — The Unix Haters' handbook | ||