[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zfs-discuss
Subject:    Re: [zfs-discuss] ZFS snapshot used space question
From:       Matthew Ahrens <mahrens () delphix ! com>
Date:       2012-09-16 2:49:12
Message-ID: CAJjvXiHUQJwR2Oi9TjpyAtQbeWCMzzhNd+va1Pe=JzfSw+kpuw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thu, Aug 30, 2012 at 1:11 PM, Timothy Coalson <tsc5yc@mst.edu> wrote:

> Is there a way to get the total amount of data referenced by a snapshot
> that isn't referenced by a specified snapshot/filesystem?  I think this is
> what is really desired in order to locate snapshots with offending space
> usage.


Try "zfs destroy -nv pool/fs@snapA%snapC" (on Illumos-based systems).  This
will tell you how much space would be reclaimed if you were to destroy a
range of snapshots.

--matt

[Attachment #5 (text/html)]

On Thu, Aug 30, 2012 at 1:11 PM, Timothy Coalson <span dir="ltr">&lt;<a \
href="mailto:tsc5yc@mst.edu" target="_blank">tsc5yc@mst.edu</a>&gt;</span> \
wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 \
0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Is there a way to get the total \
amount of data referenced by a snapshot that isn&#39;t referenced by a specified \
snapshot/filesystem?  I think this is what is really desired in order to locate \
snapshots with offending space usage.  </blockquote> <div><br></div><div>Try \
&quot;zfs destroy -nv pool/fs@snapA%snapC&quot; (on Illumos-based systems).  This \
will tell you how much space would be reclaimed if you were to destroy a range of \
                snapshots.</div><div><br></div><div>
--matt</div></div>



_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic