Gvinum

Ivan Voras ivoras at fer.hr
Mon Jun 18 12:03:03 UTC 2007


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).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20070618/ae503326/signature.pgp


More information about the freebsd-geom mailing list