DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th February 2009
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Default [SOLVED] Disk > 100%

I just unzipped a backup to the same partition it once resided on:
Code:
$ df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad8s1a    496M    266M    190M    58%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/ad8s1e    496M     20K    456M     0%    /tmp
/dev/ad8s1f     95G    2.9G     84G     3%    /usr
/dev/ad8s1d    4.6G    102M    4.1G     2%    /var
/dev/ad6s1a    496M    297M    159M    65%    /mnt/freebsd
/dev/ad6s1f     95G     90G   -2.9G   103%    /mnt/freebsd/usr
/dev/ad6s1e    496M    4.0K    456M     0%    /mnt/freebsd/tmp
/dev/ad6s1d    4.6G    4.0K    4.2G     0%    /mnt/freebsd/var
Do I need to be concerned with that 103%? Was any data lost? Do I need to try, try again?
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.

Last edited by Weaseal; 11th February 2009 at 05:52 PM.
Reply With Quote
  #2   (View Single Post)  
Old 11th February 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,020
Default

This is standard behavior. When a filesystem is created, some of the available space is held in reserve, and is available only to the superuser. This provides a margin of error when you accidently fill the disk, but more importantly, it helps keep disk fragmentation to a minimum. I'm not sure about the default for FreeBSD, but the default for OpenBSD is 5%, so you could see up to 105% in df(1) output on that OS.
Reply With Quote
  #3   (View Single Post)  
Old 11th February 2009
hansivers hansivers is offline
Real Name: Hans Ivers
Port Guard
 
Join Date: Jun 2008
Location: Victoria, BC, Canada
Posts: 20
Default

The default is 8% (see tunefs man page) :

Quote:
Specify the percentage of space held back from normal users; the
minimum free space threshold. The default value used is 8%.
Note that lowering the threshold can adversely affect perfor-
mance:
Reply With Quote
  #4   (View Single Post)  
Old 11th February 2009
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Default

Muchas gracias. That clears things up.

I figured out the reason that the disk is actually slightly smaller than it was before - I fiddled around with the partition sizes to give a little more to Swap, so that's why the backup is slightly too large.
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to check and fix corrupt disk? bsdme2 FreeBSD General 5 29th January 2009 06:10 PM
FreeBSD + Disk speed graudeejs FreeBSD Installation and Upgrading 9 19th November 2008 09:33 PM
Disk geometry for Seagate disk phreud FreeBSD Installation and Upgrading 5 8th November 2008 10:51 PM
raw disk access on FreeBSD6 & 7 SimonSync FreeBSD General 1 15th July 2008 03:00 PM
Disk I/O Throughput m4rc OpenBSD General 5 10th July 2008 02:50 AM


All times are GMT. The time now is 05:30 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick