Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-10-2004, 06:10 AM   #1
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
df not reporting correct size.

Alright, here is a question of my own.

I'm the NetAdmin for an Engineering firm. We use CUPS for printing, and samba for roaming profile connections.

After a few days, our /var directory becomes bloated. /var has it's own partition, which is just under 1G, but it is sometimes incorrectly reported as only having a few megs left when there is 900M free.

When /var is filled, our printing services die, as there is no temp space left for spooling.

Doing a du -ch recursively on the /var dir correctly reports a usage of ~90M.

I have a feeling that it's a samba issue, that there is some temp file being held open, and not being reported.

A server reboot / Samba shutdown will deflate /var, but this is not a great solution.

Anyone seen this?
Old 11-10-2004, 07:26 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
/var is a psuedo filesystem in which logs and files are always being written there. Most likely what your seeing is someone going in and deleting a file while a process is still trying to write to that file.. so if the file is not physically there but a process is trying to write to it, well, it will hold onto that chunk of space still only to release it once the process is dead.
Old 11-10-2004, 07:36 AM   #3
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Original Poster
Rep: Reputation: 30
As I thought...

A shot in the dark -- Is there a way to tell which process is holding the space hostage?

I have a feeling that restarting smbd is the only option...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
df -h not reporting correct amoutn, help... Lleb_KCir Linux - General 2 07-21-2005 03:38 PM
Restored backup, now new root partition reporting wrong size. wackman Linux - Software 6 05-28-2005 02:24 AM
df reporting negative disk size??? rimcrazy Linux - Hardware 2 09-07-2004 10:08 AM
Mandrake incorrectly reporting HD size ZidanaX Mandriva 4 09-05-2003 02:49 AM
screen size not correct? blither Slackware 9 12-16-2002 09:53 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration