The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 When the drive is 102% full, where is that 2%
Author: Mark Stosberg 
Date:   01-09-01 18:36

Today I ran into a "file system full" error on FreeBSD myself. I ran "df -k" and noticed that a partition was 106 percent full. I clean out some some files and brought it down to under 100%, and things seemed to work fine again. Where was that extra 6% hanging out, though? Was data being lost, or was it being safely stored and restored from elsewhere in the system?

Reply To This Message
 
 Re: When the drive is 102% full, where is that 2%
Author: Rob 
Date:   01-09-01 22:29

Part of the filesystem is reserved for root when the filesystem is full, i think it's around 10%.. i get this alot on my / filesystem now :)

Reply To This Message
 
 Re: When the drive is 102% full, where is that 2%
Author: Dan Langille 
Date:   01-09-01 22:30

Have you checked the <A HREF="http://www.freebsd.org/">FAQ</A>? If you find it, please post it here.

Reply To This Message
 
 Re: When the drive is 102% full, where is that 2%
Author: Fedor (Ted) Gnuchev 
Date:   03-09-01 16:18

Default newfs settings reserve 10% for root-only space to recover
in case filesystem starts filling up.
You can live safely with ~99,99% of filesystem being really used
by user data only if it is static filesystem - archives without updates. Random I/O against such filesystem will be abnormaly slow.
Keep at least 20% free on heavily accessed drives.
Keeping / and/or /var starving at 100% full means losing performance.

Reply To This Message
 
 Re: When the drive is 102% full, where is that 2%
Author: Chris 
Date:   24-10-01 19:52

I'm starting to have this problem both on my / and /var filesystems. But I do have a lot of space on my /usr filesystem
as I'm a newbie does any body ahve a fix for this or a command to show what files are under what filesystem so I can change them to the /usr with a symbolic link or what files are safe to rm from the filesystems

thanks for the help in advance

chris

Reply To This Message
 
 Re: When the drive is 102% full, where is that 2%
Author: Dan Langille 
Date:   24-10-01 23:07

Read the article. Read it slowly. Understand what is being said. I can't add much more than what is said there. Does your problem fit into what is demonstrated there?

Do you really need more space on /var or are you not rotating logfiles?

As for /, what is taking up the space there?

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org