<div dir="ltr">Assuming you have a standard setup, /var/hammer/$mountpoint/snap-YYYYMMDD-#### is the location of the snapshots. I don't know what the last four numbers are or mean for sure, but I assume it's HHMM. Either way, take whatever mount point, look for the snapshots in that directory, and du -sh it, that will provide you your answer. I don't know of a shorter way, but I suppose you could script something that iterates through directories in /var/hammer and then for a specific snapshot date and the takes a cumulative value of du from those items.<div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 28, 2014 at 7:24 PM, Pierre Abbat <span dir="ltr"><<a href="mailto:phma@leaf.dragonflybsd.org" target="_blank">phma@leaf.dragonflybsd.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Monday, April 28, 2014 12:30:19 <a href="mailto:tuxillo@quantumachine.net">tuxillo@quantumachine.net</a> wrote:<br>
> On 2014-04-28 07:00, Siju George wrote:<br>
> > Hi,<br>
> ><br>
> > Is there any way to find the space used by a PFS including snapshots<br>
> ><br>
> > Thanks<br>
> ><br>
> > Siju<br>
><br>
> Siju,<br>
><br>
> Unfortunately there isn't a way that I know of to do this.<br>
> I guess you'd have to play around with du.<br>
<br>
</div>I think that would be a good feature to add (hammer df). du wouldn't give you<br>
an accurate count because multiple snapshots could point to the same inode,<br>
and there is some history that is taking up space, but is not linked anywhere<br>
because it is today's history and no snapshot has been made.<br>
<span class="HOEnZb"><font color="#888888"><br>
Pierre<br>
--<br>
.i toljundi do .ibabo mi'afra tu'a do<br>
.ibabo damba do .ibabo do jinga<br>
.icu'u la ma'atman.<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Sincerely,<br><br>Zachary Crownover</div></div></div>