Sure, I know this. What I want to say is following: r...@cn03:~# /usr/gnu/bin/df -h /cn03/3 Filesystem Size Used Avail Use% Mounted on cn03/3 298G 154K 298G 1% /cn03/3 r...@cn03:~# /bin/df -h /cn03/3 Filesystem size used avail capacity Mounted on cn03/3 800G 154K 297G 1% /cn03/3
r...@cn03:~# zfs get all cn03/3 NAME PROPERTY VALUE SOURCE cn03/3 type filesystem - cn03/3 creation Sat Jul 10 9:35 2010 - cn03/3 used 503G - cn03/3 available 297G - cn03/3 referenced 154K - cn03/3 compressratio 1.00x - cn03/3 mounted yes - cn03/3 quota 800G local cn03/3 reservation none default cn03/3 recordsize 128K default cn03/3 mountpoint /cn03/3 default cn03/3 sharenfs rw,root=nfsroot local cn03/3 checksum on default cn03/3 compression off default cn03/3 atime on default cn03/3 devices on default cn03/3 exec on default cn03/3 setuid on default cn03/3 readonly off default cn03/3 zoned off default cn03/3 snapdir hidden default cn03/3 aclmode groupmask default cn03/3 aclinherit restricted default cn03/3 canmount on default cn03/3 shareiscsi off default cn03/3 xattr on default cn03/3 copies 1 default cn03/3 version 4 - cn03/3 utf8only off - cn03/3 normalization none - cn03/3 casesensitivity sensitive - cn03/3 vscan off default cn03/3 nbmand off default cn03/3 sharesmb off default cn03/3 refquota none default cn03/3 refreservation none default cn03/3 primarycache all default cn03/3 secondarycache all default cn03/3 usedbysnapshots 46.8G - cn03/3 usedbydataset 154K - cn03/3 usedbychildren 456G - cn03/3 usedbyrefreservation 0 - cn03/3 logbias latency default cn03/3 dedup off default cn03/3 mlslabel none default cn03/3 com.sun:auto-snapshot true inherited from cn03 Thanks. Fred From: Thomas Burgess [mailto:wonsl...@gmail.com] Sent: 星期五, 八月 20, 2010 18:44 To: Fred Liu Cc: ZFS Discuss Subject: Re: [zfs-discuss] make df have accurate out upon zfs? as for the difference between the two df's, one is the gnu df (liek you'd have on linux) and the other is the solaris df. 2010/8/20 Thomas Burgess <wonsl...@gmail.com<mailto:wonsl...@gmail.com>> can't the "zfs" command provide that information? 2010/8/20 Fred Liu <fred_...@issi.com<mailto:fred_...@issi.com>> Can you shed more lights on *other commands* which output that information? Appreciations. Fred From: Thomas Burgess [mailto:wonsl...@gmail.com<mailto:wonsl...@gmail.com>] Sent: 星期五, 八月 20, 2010 17:34 To: Fred Liu Cc: ZFS Discuss Subject: Re: [zfs-discuss] make df have accurate out upon zfs? df serves a purpose though. There are other commands which output that information.. On Thu, Aug 19, 2010 at 3:01 PM, Fred Liu <fred_...@issi.com<mailto:fred_...@issi.com>> wrote: Not sure if there was similar threads in this list before. Three scenarios: 1): df cannot count snapshot space in a file system with quota set. 2): df cannot count sub-filesystem space in a file system with quota set. 3): df cannot count space saved by de-dup in a file system with quota set. Are they possible? Btw, what is the difference between " /usr/gnu/bin/df" and "/bin/df"? Thanks. Fred _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org<mailto:zfs-discuss@opensolaris.org> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss