DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th October 2012
daneric daneric is offline
New User
 
Join Date: Oct 2012
Posts: 1
Default Filesystem /var "stuck" at 105% full

For reasons I haven't figured out yet, X is making a massive log file in /var/log (Xorg.0.log) that quickly fills up whatever filesystem it's mounted on. The temporary workaround is theoretically deleting this log file to free up space... however, when I do this, the filesystem still says it's full!

Is there a 'recycle bin' feature I might be missing?

I'm giving OpenBSD a go courtesy a LiveCD (MarBSD).

Here's the outputs of df and mount for reference:
Code:
$ df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
root_device    660M    660M      0B   100%    /
mfs:3019       7.7M    114K    7.2M     2%    /tmp
mfs:27037     63.2M   63.2M   -3.2M   105%    /var
mfs:28467      9.3M    6.0M    2.8M    68%    /etc
mfs:9803      15.0M   11.0K   14.3M     0%    /root
mfs:22785      2.3M   32.0K    2.1M     1%    /dev
mfs:29244     25.2M   23.3M    633K    97%    /binmfs
mfs:7970       326M    226M   83.8M    73%    /usr/local
mfs:21696     96.8M   72.0M   19.9M    78%    /home

$ mount
root_device on / type cd9660 (local, read-only)
mfs:3019 on /tmp type mfs (asynchronous, local, size=16384 512-blocks)
mfs:27037 on /var type mfs (asynchronous, local, size=135000 512-blocks)
mfs:28467 on /etc type mfs (asynchronous, local, size=20000 512-blocks)
mfs:9803 on /root type mfs (asynchronous, local, size=32000 512-blocks)
mfs:22785 on /dev type mfs (asynchronous, local, size=5200 512-blocks)
mfs:29244 on /binmfs type mfs (asynchronous, local, size=54000 512-blocks)
mfs:7970 on /usr/local type mfs (asynchronous, local, size=691200 512-blocks)
mfs:21696 on /home type mfs (asynchronous, local, size=204800 512-blocks)

Last edited by J65nko; 16th October 2012 at 08:28 PM. Reason: [code] and [/code] tags fixed ;)
Reply With Quote
  #2   (View Single Post)  
Old 17th October 2012
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

This is the first time I heard about MarBSD. Initially I thought you made a typo and meant MirBSD

I have no idea why X keeps adding entries to /var/log/Xorg.0.log.. Maybe you could contact the MarBSD liveCD creator and report the issue to him.

Alternatively you could try the LiveCD of of our forum member jggimi. Be aware that this CD is based in OpenBSD 5.0, while OpenBSD 5.2 is about to be released on November 1st.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 18th October 2012
comet--berkeley comet--berkeley is offline
Real Name: Richard
Package Pilot
 
Join Date: Apr 2009
Location: California
Posts: 163
Default

The /var/log filesystem is probably filling up because some process is writing log entries over and over and over.

This can happen not only on OpenBSD but on any BSD or Linux or Unix like system.

Look at the /var directory and try to figure out what is being written:

cd /var
ls -altr

cd /var/log
ls -altr

The use something like the "tail" command to look at the end of the log files that are, for example to look at the last lines of the messages file:

cd /var/log
tail messages
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
Experts: We're stuck with passwords – and maybe they're best J65nko News 1 17th January 2012 03:08 AM
/usr became full while updating via cvs IronForge OpenBSD Installation and Upgrading 3 6th January 2010 01:08 PM
FreeBSD 7.2@amd64 atheros problem ath0: stuck beacon; resetting (bmiss count 4) asmo FreeBSD General 0 6th June 2009 11:02 AM
apache: data stuck in socket? goertzenator FreeBSD General 8 16th February 2009 04:01 PM
Best Filesystem thavinci FreeBSD General 25 29th May 2008 03:32 PM


All times are GMT. The time now is 03:31 AM.


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