-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/18/2010 05:11 PM, David Magda wrote:
> On Jan 18, 2010, at 10:55, Jesus Cea wrote:
> 
>> zpool and zfs report different free space because zfs takes into account
>> an internal reservation of 32MB or 1/64 of the capacity of the pool,
>> what is bigger.
>>
>> So in a 2TB Harddisk, the reservation would be 32 gigabytes. Seems a bit
>> excessive to me...
> 
> 1/64 is ~1.5% according to my math.
> 
> Ext2/3 uses 5% by default for root's usage; 8% under FreeBSD for FFS.
> Solaris (10) uses a bit more nuance for its UFS:

That reservation is to preclude users to exhaust diskspace in such a way
that ever "root" can not login and solve the problem.

> 32 GB may seem like a lot (and it can hold a lot of stuff), but it's not
> what it used to be. :)

I agree that is a lot of space but only 2% of a "modern disk". My point
is that 32GB is a lot of space to reserve to be able, for instance, to
delete a file when the pool is "full" (thanks to COW). And more when the
minimum reserved is 32MB and ZFS can get away with it. I think that
could be a good thing to put a cap to the maximum implicit reservation.

- -- 
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
j...@jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:j...@jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBS1SLs5lgi5GaxT1NAQJkPgP+NGg1iKbNX3BzHXJjYcFLYpVNA376Ys79
VHDbElKlCAzIo80ZqW1gHQpOumUzUCZaR910+0e+0vpUzL81hHQ9wncS8BBhmXZN
Hp3jA39zzB7JjvQxJ9K/CWxbg3O4Nqi+HTcez3sczyg5dx6k1aSf05MgNPt8jtvJ
VNbuQ1hdy7o=
=qxDK
-----END PGP SIGNATURE-----
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to