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/notes at snap-2007-01-21 snapshot 48.1G - 57.7G - 1.27x pool/notes at snap-2007-02-26 snapshot 1.55G - 55.4G - 1.26x pool/notes at snap-2007-02-27 snapshot 1.50G - 55.4G - 1.26x pool/notes at snap-2007-02-28 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... This message posted from opensolaris.org
Darren Dunham
2007-Feb-28 16:21 UTC
[zfs-discuss] Filesystem usage, quotas, and free space
> 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/notes at snap-2007-01-21 snapshot 48.1G - 57.7G - 1.27x > pool/notes at snap-2007-02-26 snapshot 1.55G - 55.4G - 1.26x > pool/notes at snap-2007-02-27 snapshot 1.50G - 55.4G - 1.26x > pool/notes at snap-2007-02-28 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 ddunham at taos.com 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. >