[OmniOS-discuss] deleting zfs filesystems with holds in place

Scott LeFevre slefevre at indy.rr.com
Thu Aug 7 19:51:39 UTC 2014


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.

-- 
Scott LeFevre
317-696-1010 

On Thu, 2014-08-07 at 12:46 -0700, Paul B. Henson wrote:

> I was wondering if anybody knew of a better way to delete a file system that
> might have snapshots with holds other than enumerating all of the snapshots
> of the file system, checking them for holds, and explicitly releasing them?
> I was hoping that -f would do the trick, but that still fails if a snapshot
> exists with a hold on it.
> 
> Thanks.
> 
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20140807/8aa6c956/attachment-0001.html>


More information about the OmniOS-discuss mailing list