On Thu, Mar 20, 2008 at 03:12:01PM -0700, Walter Faleiro wrote:
> Layman's method would be to try and total the space it lists against each
> snapshot, but its not the case ZFS calculates. So I go on deleting the
> snapshots, until the last one.

Yes.  This has been discussed before.  There doesn't seem to be any way
to display that information.

'USED' only shows data unique to that snapshot.  There's no equivalent
to the NetApp displays of "used by this and older snapshots".

I don't know how difficult it would be to create such a display.

> The difficult I have now is to find out how to get this size without
> destroying the snapshots. Every user is assigned a fixed quota, and when
> snapshots are enabled it eats into the quota space, totalling all the
> snapshots really does not give the exact space taken by snapshots.

No, not when some blocks are in multiple snapshots, but no longer in the
live filesystem.

Because you are dealing with snapshots and quotas, you may also be
interested in the separation of snapshots from the quota considerations
of the parent filesystem:
<http://opensolaris.org/os/community/arc/caselog/2007/555/>

-- 
Darren Dunham                                           [EMAIL PROTECTED]
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to