300Gb hard drive formatting to 249Gb - boo.

Jan Grant Jan.Grant at bristol.ac.uk
Mon Dec 6 03:10:35 PST 2004


On Mon, 6 Dec 2004, Alex Teslik wrote:

> [root]/home/alex# df -h
> Filesystem    Size   Used  Avail Capacity  Mounted on
> /dev/ad1s1e   271G   1.0K   249G     0%    /1

This is an FAQ: see
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DISK-MORE-THAN-FULL

and the -m option of tunefs(8):
http://www.freebsd.org/cgi/man.cgi?query=tunefs&sektion=8

Summary: the filesystem needs "elbow room" to operate under typical 
load; this 8% space is reserved. (It may be consumed by the root user, 
if required.) Tuning down the reserved percentage is not recommended 
unless you know what you're doing (that is: benchmark your typical 
usage to see if the performance is still within acceptable limits).

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287864 or +44 (0)117 9287088 http://ioctl.org/jan/
You know something's gone badly wrong when your algorithm
takes O(n^2) time but uses O(2^n) space.


More information about the freebsd-questions mailing list