> From: Scott LeFevre
> Sent: Thursday, August 07, 2014 12:52 PM
> 
> Try zfs destroy -R poolname/filesystem
> 
> Read the man pages first to ensure this is what you want to do in your
> situation.  The -r option might work for you as well.

I had already confirmed -r didn't work, neither does -R:

# zfs create export/user/testit
# zfs snap export/user/testit@testsnap
# zfs hold testhold export/user/testit@testsnap
# zfs destroy -r export/user/testit
cannot destroy snapshot export/user/testit@testsnap: dataset is busy
# zfs destroy -R export/user/testit
cannot destroy snapshot export/user/testit@testsnap: dataset is busy

Matt confirmed on the ZFS mailing list that there's currently no way to delete 
a file system with held snapshots other than enumerate the holds and explicitly 
releasing them :(.

Thanks...




-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to