Project

General

Profile

Actions

Bug #4214

open

zfs destroy -Rnv doesn't show recursion

Added by Dan McDonald over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2013-10-16
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

Consider I have two filesystems:

rpool/export/home/danmcd/ws/stash-nza@stash-crunch 198K - 848M -
rpool/export/home/danmcd/ws/stash-crunch 348M 79.9G 877M /export/home/danmcd/ws/stash-crunch

If I utter "zfs destroy -Rnv rpool/export/home/danmcd/ws/stash-nza@stash-crunch" I don't see the potential destruction of rpool/export/home/danmcd/ws/stash-crunch, but the actual destroy operation will. Compare the output with and without the -n:

everywhere(/ws)[0]% zfs destroy -Rnv rpool/export/home/danmcd/ws/stash-nza@stash-crunch
would destroy rpool/export/home/danmcd/ws/stash-nza@stash-crunch
would reclaim 198K
everywhere(
/ws)[0]% zfs destroy -Rv rpool/export/home/danmcd/ws/stash-nza@stash-crunch
will destroy rpool/export/home/danmcd/ws/stash-nza@stash-crunch
will reclaim 198K
will destroy rpool/export/home/danmcd/ws/stash-crunch
everywhere(~/ws)[0]%

This is on oi_151a8, so it's the mostly-latest zpool version.

No data to display

Actions

Also available in: Atom PDF