Jill Manfield wrote:
> Platform T2000
> SunOS ccluatdwunix1 5.10 Generic_125100-10 sun4v sparc SUNW,Sun-Fire-T200
> 
> I have a user that stated zfs is allocating more file system space than 
> actually available via ls command versus what df -k shows.

Here's the same file on UFS and on ZFS with different record size.  du 
shows different space consumption.

Here's the file on UFS:

-rw-------   1 root     root      139733 Jan 24 17:38 /foo.txt
  152K   /foo.txt

Here is the file on ZFS with records size of 128K, 512 bytes, and 8K (I 
think this is the UFS default block size).

-rw-------   1 root     root      139733 Jan 24 17:42 /tank/big/foo.txt
  258K   /tank/big/foo.txt

-rw-------   1 root     root      139733 Jan 24 17:42 /tank/small/foo.txt
  168K   /tank/small/foo.txt

-rw-------   1 root     root      139733 Jan 24 17:44 /tank/ufssize/foo.txt
  147K   /tank/ufssize/foo.txt

I think that's what your customer is seeing.

CT
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to