Date: Wed, 23 Jul 2014 17:55:53 -0400 From: Janos Dohanics <web@3dresearch.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Disk space economy Message-ID: <20140723175553.6d9ce905ae7f8329099fda15@3dresearch.com> In-Reply-To: <1406151644.20477.37.camel@btw.pki2.com> References: <20140723172954.e86883fcc8f54ee7ccbe32fd@3dresearch.com> <1406151644.20477.37.camel@btw.pki2.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 23 Jul 2014 14:40:44 -0700 Dennis Glatting <freebsd@penx.com> wrote: > On Wed, 2014-07-23 at 17:29 -0400, Janos Dohanics wrote: > > Hello List, > > > > I have a directory which contains 48 files. 35 of these files are > > large, close to 2 GB (reported by ls -l). 7 of the files a smaller > > than 4 K, the rest of the files are few dozen Ks in size. > > > > This is a FreeBSD 10 system with ZFS and RAIDZ2. > > > > du -h reports the directory to be 208G. > > > > du -A -h reports the directory to be 69G. > > > > It seems there is 2G wasted for each 1G stored data - would you > > explain why and what can I do make more economical use of disk > > space? > > > > Compression and/or dedup enabled? The answer is no and no: # zfs get all data NAME PROPERTY VALUE SOURCE data type filesystem - data creation Sat Jul 5 16:06 2014 - data used 237G - data available 4.57T - data referenced 237G - data compressratio 1.00x - data mounted yes - data quota none default data reservation none default data recordsize 128K default data mountpoint /data default data sharenfs off default data checksum on default data compression off default data atime on default data devices on default data exec on default data setuid on default data readonly off default data jailed off default data snapdir hidden default data aclmode discard default data aclinherit restricted default data canmount on default data xattr off temporary data copies 3 local data version 5 - data utf8only off - data normalization none - data casesensitivity sensitive - data vscan off default data nbmand off default data sharesmb off default data refquota none default data refreservation none default data primarycache all default data secondarycache all default data usedbysnapshots 0 - data usedbydataset 237G - data usedbychildren 1.48M - data usedbyrefreservation 0 - data logbias latency default data dedup off default data mlslabel - data sync standard default data refcompressratio 1.00x - data written 237G - data logicalused 79.1G - data logicalreferenced 79.1G - data volmode default default data filesystem_limit none default data snapshot_limit none default data filesystem_count none default data snapshot_count none default -- Janos Dohanics
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140723175553.6d9ce905ae7f8329099fda15>