Stuart Anderson wrote:
> On Wed, Apr 16, 2008 at 02:07:53PM -0700, Richard Elling wrote:
>
Personally, I'd estimate using du rather than ls.
>>> They report the exact same number as far as I can tell. With the caveat
>>> that Solaris ls -s returns the number of 512-by
On Wed, Apr 16, 2008 at 02:07:53PM -0700, Richard Elling wrote:
>
> >>Personally, I'd estimate using du rather than ls.
> >>
> >
> >They report the exact same number as far as I can tell. With the caveat
> >that Solaris ls -s returns the number of 512-byte blocks, whereas
> >GNU ls -s returns
Stuart Anderson <[EMAIL PROTECTED]> wrote:
> They report the exact same number as far as I can tell. With the caveat
> that Solaris ls -s returns the number of 512-byte blocks, whereas
> GNU ls -s returns the number of 1024byte blocks by default.
IIRC, this may be controlled by environment variab
Stuart Anderson wrote:
> On Wed, Apr 16, 2008 at 10:09:00AM -0700, Richard Elling wrote:
>
>> Stuart Anderson wrote:
>>
>>> On Tue, Apr 15, 2008 at 03:51:17PM -0700, Richard Elling wrote:
>>>
>>>
UTSL. compressratio is the ratio of uncompressed bytes to compressed
bytes
On Wed, Apr 16, 2008 at 10:09:00AM -0700, Richard Elling wrote:
> Stuart Anderson wrote:
> >On Tue, Apr 15, 2008 at 03:51:17PM -0700, Richard Elling wrote:
> >
> >>UTSL. compressratio is the ratio of uncompressed bytes to compressed
> >>bytes.
> >>http://cvs.opensolaris.org/source/search?q=ZFS_
Stuart Anderson wrote:
> On Tue, Apr 15, 2008 at 03:51:17PM -0700, Richard Elling wrote:
>
>> UTSL. compressratio is the ratio of uncompressed bytes to compressed bytes.
>> http://cvs.opensolaris.org/source/search?q=ZFS_PROP_COMPRESSRATIO&defs=&refs=&path=zfs&hist=&project=%2Fonnv
>>
>> IMHO, y
Hello Luke,
Tuesday, April 15, 2008, 4:50:17 PM, you wrote:
LS> You can fill up an ext3 filesystem with the following command:
LS> dd if=/dev/zero of=delme.dat
LS> You can't really fill up a ZFS filesystme that way. I guess you could,
LS> but I've never had the patience -- when several GB wo
On Tue, Apr 15, 2008 at 03:51:17PM -0700, Richard Elling wrote:
> UTSL. compressratio is the ratio of uncompressed bytes to compressed bytes.
> http://cvs.opensolaris.org/source/search?q=ZFS_PROP_COMPRESSRATIO&defs=&refs=&path=zfs&hist=&project=%2Fonnv
>
> IMHO, you will (almost) never get the sa
UTSL. compressratio is the ratio of uncompressed bytes to compressed bytes.
http://cvs.opensolaris.org/source/search?q=ZFS_PROP_COMPRESSRATIO&defs=&refs=&path=zfs&hist=&project=%2Fonnv
IMHO, you will (almost) never get the same number looking at bytes as you
get from counting blocks.
-- richard
On Tue, Apr 15, 2008 at 01:37:43PM -0400, Luke Scharf wrote:
>
> >>>zfs list /export/compress
> >>>
> >>>
> >>NAME USED AVAIL REFER MOUNTPOINT
> >>export-cit/compress 90.4M 1.17T 90.4M /export/compress
> >>
> >>is 2GB/90.4M = 2048 / 90.4 = 22.65
> >>
> >>
> >>That
>>> zfs list /export/compress
>>>
>>>
>> NAME USED AVAIL REFER MOUNTPOINT
>> export-cit/compress 90.4M 1.17T 90.4M /export/compress
>>
>> is 2GB/90.4M = 2048 / 90.4 = 22.65
>>
>>
>> That still leaves me puzzled what the precise definition of compressratio is?
>>
On Tue, 15 Apr 2008, Luke Scharf wrote:
>
> AFAIK, ext3 supports sparse files just like it should -- but it doesn't
> dynamically figure out what to write based on the contents of the file.
Since zfs inspects all data anyway in order to compute the block
checksum, it can easily know if a block is
?
>
>
> -Original Message-
> From: Stuart Anderson <[EMAIL PROTECTED]>
>
> Date: Mon, 14 Apr 2008 15:45:03
> To:Luke Scharf <[EMAIL PROTECTED]>
> Cc:zfs-discuss@opensolaris.org
> Subject: Re: [zfs-discuss] Confused by compressratio
>
>
> On Mon
ct: Re: [zfs-discuss] Confused by compressratio
On Mon, Apr 14, 2008 at 05:22:03PM -0400, Luke Scharf wrote:
> Stuart Anderson wrote:
> >On Mon, Apr 14, 2008 at 09:59:48AM -0400, Luke Scharf wrote:
> >
> >>Stuart Anderson wrote:
> >>
> >>>As an artific
On Mon, Apr 14, 2008 at 05:22:03PM -0400, Luke Scharf wrote:
> Stuart Anderson wrote:
> >On Mon, Apr 14, 2008 at 09:59:48AM -0400, Luke Scharf wrote:
> >
> >>Stuart Anderson wrote:
> >>
> >>>As an artificial test, I created a filesystem with compression enabled
> >>>and ran "mkfile 1g" and th
Stuart Anderson wrote:
> On Mon, Apr 14, 2008 at 09:59:48AM -0400, Luke Scharf wrote:
>
>> Stuart Anderson wrote:
>>
>>> As an artificial test, I created a filesystem with compression enabled
>>> and ran "mkfile 1g" and the reported compressratio for that filesystem
>>> is 1.00x even though
On Mon, Apr 14, 2008 at 09:59:48AM -0400, Luke Scharf wrote:
> Stuart Anderson wrote:
> >As an artificial test, I created a filesystem with compression enabled
> >and ran "mkfile 1g" and the reported compressratio for that filesystem
> >is 1.00x even though this 1GB file only uses only 1kB.
> >
>
Stuart Anderson wrote:
> As an artificial test, I created a filesystem with compression enabled
> and ran "mkfile 1g" and the reported compressratio for that filesystem
> is 1.00x even though this 1GB file only uses only 1kB.
>
ZFS seems to treat files filled with zeroes as sparse files, regard
I am confused by the numerical value of compressratio. I copied a
compressed ZFS filesystem that is 38.5G in size (zfs list USED and
REFER value) and reports a compressratio value of "2.52x" to an
uncompressed ZFS filesystem and it expanded to 198G. So why is the
compressratio 2.52 rather than 198/
19 matches
Mail list logo