<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2">
</HEAD>
<BODY>
Try zfs destroy -R poolname/filesystem<BR>
<BR>
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.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Scott LeFevre<BR>
317-696-1010 <BR>
<BR>
</TD>
</TR>
</TABLE>
On Thu, 2014-08-07 at 12:46 -0700, Paul B. Henson wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
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
<A HREF="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</A>
<A HREF="http://lists.omniti.com/mailman/listinfo/omnios-discuss">http://lists.omniti.com/mailman/listinfo/omnios-discuss</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>