FreeBSD Fortune on Nostr: Before deleting a dataset or snapshot, perform a dry run using the -n parameter. This ...
Before deleting a dataset or snapshot, perform a dry run using the -n
parameter. This is to make sure you really want to delete just that
dataset/snapshot and not any dependent ones. ZFS will display the resulting
action when -n is combined with the -v option without actually performing
it:
zfs destroy -nrv mypool@mysnap
Once you are sure this is exactly what you intend to do, remove the -n
parameter to execute the destroy operation.
-- Benedict Reuschling <bcr@FreeBSD.org>
Published at
2026-09-03 17:00:13 UTCEvent JSON
{
"id": "b117ab038ad6aad92f0e052e4de9e6b9fe127b0c218c592b31f9203aabd58bad",
"pubkey": "f2109a2ec815cbe07780977b0fccf2a30e32ba94b480e29f7946569b3ce5e644",
"created_at": 1788454813,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.bsd.cafe/@fbfortune/117208174655671520",
"web"
],
[
"proxy",
"https://mastodon.bsd.cafe/users/fbfortune/statuses/117208174655671520",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.bsd.cafe/users/fbfortune/statuses/117208174655671520",
"pink.momostr"
],
[
"-"
]
],
"content": "Before deleting a dataset or snapshot, perform a dry run using the -n\nparameter. This is to make sure you really want to delete just that\ndataset/snapshot and not any dependent ones. ZFS will display the resulting\naction when -n is combined with the -v option without actually performing\nit:\n\nzfs destroy -nrv mypool@mysnap\n\nOnce you are sure this is exactly what you intend to do, remove the -n\nparameter to execute the destroy operation.\n\t\t-- Benedict Reuschling \u003cbcr@FreeBSD.org\u003e",
"sig": "155f2d6fbfe3d02bfdc54577e71156eaf6a2cf9bc24ff51591216e4d6061264204b63079042c1d68ade37498121e87b5c821faf1cbb4ac49e301cda6e3990b11"
}