1.3G of my /var missing

2007-10-24 Thread [LoN]Kamikaze
df -h reports that on /var 1.5G of 1.9G are used and only 237M of free space
remain.

However doing a
du -hd 1 /var

and summing up the results I only get to less than 200M of used space, so
there are 1.3G unaccounted for. fsck in single user mode does not recognize a
problem.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1.3G of my /var missing

2007-10-24 Thread Mark Andrews

 df -h reports that on /var 1.5G of 1.9G are used and only 237M of free space
 remain.
 
 However doing a
 du -hd 1 /var
 
 and summing up the results I only get to less than 200M of used space, so
 there are 1.3G unaccounted for. fsck in single user mode does not recognize a
 problem.

The usual answer is that a process has a unlinked file open
however as you went to single user this would have eliminated
this.  Are you swapping to a file on /var?

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: [EMAIL PROTECTED]
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1.3G of my /var missing

2007-10-24 Thread [LoN]Kamikaze
Mark Andrews wrote:
 df -h reports that on /var 1.5G of 1.9G are used and only 237M of free space
 remain.

 However doing a
 du -hd 1 /var

 and summing up the results I only get to less than 200M of used space, so
 there are 1.3G unaccounted for. fsck in single user mode does not recognize a
 problem.
 
   The usual answer is that a process has a unlinked file open
   however as you went to single user this would have eliminated
   this.  Are you swapping to a file on /var?
 
   Mark

No, I have a separate partition for swapping. I even tried to turn off
soft-updates, but to no avail. I'd like to find out what causes this, but If I
cannot, I will simply backup /var, run newfs and restore it.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1.3G of my /var missing

2007-10-24 Thread Jeremy Chadwick
On Wed, Oct 24, 2007 at 08:27:10AM +0200, [LoN]Kamikaze wrote:
 df -h reports that on /var 1.5G of 1.9G are used and only 237M of free space
 remain.
 
 However doing a
 du -hd 1 /var
 
 and summing up the results I only get to less than 200M of used space, so
 there are 1.3G unaccounted for. fsck in single user mode does not recognize a
 problem.

Try looking at tunefs(8), particularly the -m flag.  That amount of
space is kept for root (the user).

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1.3G of my /var missing

2007-10-24 Thread [LoN]Kamikaze
Jeremy Chadwick wrote:
 On Wed, Oct 24, 2007 at 08:27:10AM +0200, [LoN]Kamikaze wrote:
 df -h reports that on /var 1.5G of 1.9G are used and only 237M of free space
 remain.

 However doing a
 du -hd 1 /var

 and summing up the results I only get to less than 200M of used space, so
 there are 1.3G unaccounted for. fsck in single user mode does not recognize a
 problem.
 
 Try looking at tunefs(8), particularly the -m flag.  That amount of
 space is kept for root (the user).
 

As in most cases the problem was sitting between the chair and the keyboard. I
simply overlooked the G when I read that /var/log contained 1.3G of data.

I'm sorry for wasting the precious time of those who read or even replied with
my stupidity.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1.3G of my /var missing

2007-10-24 Thread Clayton Milos

Jeremy Chadwick wrote:

On Wed, Oct 24, 2007 at 08:27:10AM +0200, [LoN]Kamikaze wrote:
df -h reports that on /var 1.5G of 1.9G are used and only 237M of free 
space

remain.

However doing a
du -hd 1 /var

and summing up the results I only get to less than 200M of used space, 
so
there are 1.3G unaccounted for. fsck in single user mode does not 
recognize a

problem.


Try looking at tunefs(8), particularly the -m flag.  That amount of
space is kept for root (the user).



As in most cases the problem was sitting between the chair and the 
keyboard. I

simply overlooked the G when I read that /var/log contained 1.3G of data.

I'm sorry for wasting the precious time of those who read or even replied 
with

my stupidity.


Sounds like you need to make a few entries in /etc/newsyslog
First thing I do when I add any new apps is give their logs a life cycle.
All too quickly logs become bulky and you find /var holding it's breath.

-Clay 


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1.3G of my /var missing

2007-10-24 Thread [LoN]Kamikaze
Clayton Milos wrote:
 Jeremy Chadwick wrote:
 On Wed, Oct 24, 2007 at 08:27:10AM +0200, [LoN]Kamikaze wrote:
 ...

 and summing up the results I only get to less than 200M of used
 space, so
 there are 1.3G unaccounted for. fsck in single user mode does not
 recognize a
 problem.

 Try looking at tunefs(8), particularly the -m flag.  That amount of
 space is kept for root (the user).


 As in most cases the problem was sitting between the chair and the
 keyboard. I
 simply overlooked the G when I read that /var/log contained 1.3G of data.

 I'm sorry for wasting the precious time of those who read or even
 replied with
 my stupidity.
 
 Sounds like you need to make a few entries in /etc/newsyslog
 First thing I do when I add any new apps is give their logs a life cycle.
 All too quickly logs become bulky and you find /var holding it's breath.
 
 -Clay

The problem was messages, and it's related with my DVD troubles which spammed
the log with DMA errors.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1.3G of my /var missing

2007-10-24 Thread Mark Andrews

 Clayton Milos wrote:
  Jeremy Chadwick wrote:
  On Wed, Oct 24, 2007 at 08:27:10AM +0200, [LoN]Kamikaze wrote:
  ...
 
  and summing up the results I only get to less than 200M of used
  space, so
  there are 1.3G unaccounted for. fsck in single user mode does not
  recognize a
  problem.
 
  Try looking at tunefs(8), particularly the -m flag.  That amount of
  space is kept for root (the user).
 
 
  As in most cases the problem was sitting between the chair and the
  keyboard. I
  simply overlooked the G when I read that /var/log contained 1.3G of data.
 
  I'm sorry for wasting the precious time of those who read or even
  replied with
  my stupidity.
  
  Sounds like you need to make a few entries in /etc/newsyslog
  First thing I do when I add any new apps is give their logs a life cycle.
  All too quickly logs become bulky and you find /var holding it's breath.
  
  -Clay
 
 The problem was messages, and it's related with my DVD troubles which spammed
 the log with DMA errors.

If you let the tools do their jobs you won't get silly errors
like that.  Both du and df default to returning 1k blocks.

You will note that the usage figure is identical by both methods.

Mark

drugs# du -s /var
404806  /var
drugs# df /var
Filesystem  1K-blocks   Used   Avail Capacity  Mounted on
/dev/ad0s4d   2004526 404806 143935822%/var
drugs# 

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: [EMAIL PROTECTED]
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1.3G of my /var missing

2007-10-24 Thread Beat Siegenthaler
NCDU.. http://www.freshports.org/sysutils/ncdu/ is your friend ;-))



 
  As in most cases the problem was sitting between the chair and the
  keyboard. I
  simply overlooked the G when I read that /var/log contained 1.3G of
 data.
 


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]