Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2007 14:02:25 +0200
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-geom@freebsd.org
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Gvinum
Message-ID:  <f55s8p$uh0$1@sea.gmane.org>
In-Reply-To: <d8e57f270706161308n6753f74cs5067c04733da3229@mail.gmail.com>
References:  <d8e57f270706161308n6753f74cs5067c04733da3229@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Giancarlo Rubio wrote:

> 1 volume:
> V data                  State: up       Plexes:       1 Size:        745 GB

> /dev/gvinum/data       722G    722G    -58G   109%    /home
> 
> Why this difference are showing?? And why the avail is negative number??

Raw device size is: 745 GB. UFS reserves 8% of disk space so that only 
root can fill it (for performance reasons but also for security - so 
that ordinary users don't fill the drive). The size of this reserved 
space is: 745*0.08=59.6 GB, and when you fill it, this intentionally 
gets reported as negative value. The differences in the output (109% 
instead of 108% and 58 GB instead of 59 GB) are most likely due to 
rounding errors.

The real question is why does df report 722 GB free, when it should be 
reporting 685 GB (745-59.6=685.4).


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGdnRYldnAQVacBcgRAsCDAKDBHk3MTFDnxN+sYVATWXdBlz6gDgCg+sF7
wuOpc7nUK1NypgQFYTZGN0A=
=6Ztz
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f55s8p$uh0$1>