Re: [zfs-discuss] Compress ratio???

2010-08-14 Thread Cyril Plisko
On Sat, Aug 14, 2010 at 6:32 AM, Edward Ned Harvey sh...@nedharvey.com wrote: I'm confused.  I have compression enabled on a ZFS filesystem, which contains for all intents and purposes, just a single 20G file, and I see ... # ls -lh somefile -rw---   1 root root     20G Aug 13

Re: [zfs-discuss] Compress ratio???

2010-08-14 Thread Edward Ned Harvey
From: cyril.pli...@gmail.com [mailto:cyril.pli...@gmail.com] On Behalf Of Cyril Plisko The compressratio shows you how much *real* data was compressed. The file in question, however, can be sparse file and have its size vastly different from what du says, even without compression. Ahhh.

[zfs-discuss] Compress ratio???

2010-08-13 Thread Edward Ned Harvey
I'm confused. I have compression enabled on a ZFS filesystem, which contains for all intents and purposes, just a single 20G file, and I see ... # ls -lh somefile -rw--- 1 root root 20G Aug 13 17:41 somefile # du -h somefile 5.6G somefile (Sounds like approx