Hi,
On opensolaris, I use du with the -b option to get the uncompressed size of a directory):
r...@opensolaris:~# du -sh /usr/local/ 399M /usr/local/ r...@opensolaris:~# du -sbh /usr/local/ 915M /usr/local/ r...@opensolaris:~# zfs list -o space,refer,ratio,compress data/localNAME AVAIL USED USEDSNAP USEDDS USEDREFRESERV USEDCHILD REFER RATIO COMPRESS data/local 228G 643M 249M 394M 0 0 394M 2.51x on
r...@opensolaris:~# which du /usr/gnu/bin/du but on Solaris 10, there is no such option.So what is the best way to get the uncompressed size of a directory on Solaris 10?
Regards, Gaëtan -- Gaëtan Lehmann Biologie du Développement et de la Reproduction INRA de Jouy-en-Josas (France) tel: +33 1 34 65 29 66 fax: 01 34 65 29 09 http://voxel.jouy.inra.fr http://www.itk.org http://www.mandriva.org http://www.bepo.fr
PGP.sig
Description: Ceci est une signature électronique PGP
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss