Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2003 18:29:31 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        Steven Lake <raiden@shell.core.com>
Cc:        questions@freebsd.org
Subject:   Re: Improper size of slice/partition?
Message-ID:  <20030509012931.GA4150@webserver.get-linux.org>
In-Reply-To: <Pine.GSO.4.44L0.0305081314080.8242-100000@shell.core.com>
References:  <Pine.GSO.4.44L0.0305081314080.8242-100000@shell.core.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 08, 2003 at 01:20:15PM -0500 or thereabouts, Steven Lake seemed to write:
> 	Hi all.  Just added a second drive to my system mounted as
> /drive2, however, when I do a df -h to see how the drive is mounted, it
> says that I have a 73G partition size, but only 67G available and 0k used.
> I could understand having 73G after newfs formatted the drive and Fdisk
> made the partition, but only having access to 67G on an 80G Western
> Digital drive seems a bit silly to me.  Anyone know what's going wrong
> with this?  I did the Fdisk and slice through sysinstall and it said all
> was fine.  Anyone know why this is acting this way?  I want my whole 73G
> for my drive.

UFS, by default, reserves 8% of space for use by root, and only root.
`df' does not show this space. So if the FS was full, `df' would say it
was 108% full.
To change this percentage, run:
# tunefs -m NEW-PERCENT
Note that it is not advisable to change it below 8%, as this will cause the
kernel to change the optimization level and make stuff slower.

Basically, don't worry, all your space is there.

HTH,
-- Josh

> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030509012931.GA4150>