Disk space economy
Janos Dohanics
web at 3dresearch.com
Wed Jul 23 21:56:20 UTC 2014
On Wed, 23 Jul 2014 14:40:44 -0700
Dennis Glatting <freebsd at 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
More information about the freebsd-questions
mailing list