> zfs list -o name,type,used,available,referenced,quota,compressratio
> 
> NAME                                  TYPE   USED  AVAIL  REFER  QUOTA  RATIO
> pool/notes                      filesystem   151G   149G  53.2G   300G  1.25x
> pool/[EMAIL PROTECTED]        snapshot  48.1G      -  57.7G      -  1.27x
> pool/[EMAIL PROTECTED]        snapshot  1.55G      -  55.4G      -  1.26x
> pool/[EMAIL PROTECTED]        snapshot  1.50G      -  55.4G      -  1.26x
> pool/[EMAIL PROTECTED]        snapshot  7.75G      -  55.6G      -  1.26x
> 
> Can someone explain to me how to add up the space used by the
> snapshots and see why there is 151G actually used?  There is only 53G
> of data in the main filesystem, so I know the snapshots are using the
> space, but the numbers don't add up right...

They're not supposed to add up.  If data is shared between two or more
snapshots, it will not appear in the USED portion of any snapshot, but
of course it is taking space in the pool.  

So only data unique to the snapshot is shown in USED.  I believe there's
currently no way to view the distribution of non-unique data in the
snapshots.

-- 
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