View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 15 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: / 100% FULL
PostPosted: Sun Sep 30, 2007 8:41 am 
Offline
Joined: Wed Jan 26, 2005 3:13 pm
Posts: 117
My / filesystem is showing 100 % full:

root@snakemain:/usr/src# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 14421344 13935708 0 100% /
tmpfs 776240 4 776236 1% /dev/shm
/dev/mapper/vg-myth 374993784 227569900 147423884 61% /myth

I have removed almost 5 gb Of files and it is still showing 100% full.

Any Help is appreciated..

Snake


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 30, 2007 8:46 am 
Offline
Joined: Tue Mar 27, 2007 11:55 am
Posts: 40
didja check /var/log/?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 30, 2007 9:17 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
What bradpvr said also run this this command as root:
Code:
du -xk / | sort -n

It'll produce a list of directories with their contents size sorted in ascending order. The last 20 or so things left on your screen will be the top 20 space users. On a healthy system you should see a listing like this:
Code:
root@black2:~# du -xk / | sort -n | tail -20
56080   /home/mythtv
56084   /home
60932   /var/backups
63516   /usr/src
66260   /lib/modules/2.6.18-chw-13
66264   /lib/modules
74664   /lib
78844   /usr/share/webmin
98308   /usr/share/mythtv/themes
115196  /usr/share/doc
133420  /usr/share/mythtv
153556  /usr/bin
192376  /var/lib/mysql/mythconverg
213612  /var/lib/mysql
285832  /var/lib
375128  /var
554596  /usr/lib
606444  /usr/share
1503000 /usr
2066056 /

If /home/mythtv or /var/log is closer to the end of the list they're prime candidates.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 30, 2007 1:49 pm 
Offline
Joined: Thu May 12, 2005 9:45 pm
Posts: 95
Location: Minneapolis area
Does the ringbuffer need to be deleted?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 30, 2007 1:56 pm 
Offline
Joined: Tue Jun 27, 2006 5:19 pm
Posts: 100
Location: Naptown, Indiana; USA
This may not help, but...

Earlier today, I was moving some files around. I accidentally moved a movie onto /dev/hda1. When I rebooted, I saw the most frightening screen yet. Between the black boot screen and the blue menu screen appeared a grey screen with a message something like "can not write to /temp". Anyway, after panicing, I noticed I could still use putty to start and xsession on my laptop. I noticed that hda1 was at 100%. I eventually remembered about moving the file, deleted the offending file, and rebooted. Everything was fine after that.

_________________
R5.5; PVR-250; FX5200; Dell 4300 with Intel Pentium 4 (1.5 GHz);
BIOS Revision A02; 512MB RAM; 500GB PATA HDD


Top
 Profile  
 
PostPosted: Mon Oct 08, 2007 8:01 pm 
Offline
Joined: Wed Nov 01, 2006 10:21 pm
Posts: 2
Location: Fargo, ND
i have had knoppmyth crash a few times due to the /var/log/mythtv/mythfrontend.log file growing so large that theres no room for mysql to start hence making my system into a boat archor. took me a bit to figure out a routine to recover when that happens but here it is.

step 1:
Boot to a knoppmyth setup cd

step 2:
hit control alt F2

Step 3:
type
mount /mnt/hda1
CD /mnt/hda1/var/log/mythtv/

Step 4:
Type ls -all
you should be able to see how large the log files are. i usually have a problem with the mythfrontend.log file. not sure whats in the file since its to large for me to open on my system but you might be able to using nano or what ever your favorite editor is.

Step 5:
to free up space
type
RM mythfrontend.log

Step 6:
reboot your system and take out the cd
type
shutdown -r now

this is what i usually end up doing when my system crashes hope it helps releave a few headaches out there.


Merlinx


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 12, 2007 1:56 am 
Offline
Joined: Mon Apr 23, 2007 1:45 pm
Posts: 405
Location: Fargo, ND, USA
I had Knoppmyth crash last week and this is what worked for me and it will only take a few minutes.

1. Log it to Webmin. It has been my experience that if everything is locked up, Webmen will still function. Webmin seems not need any space on the root drive to function. It also must be one of the first programs to load because is has worked for me on crashes on boot. Blank screen, keyboard locked up. When nothing else works Webmin works.

2. In Webmin menus goto >> Hardware >> Partitions on local disk>>
This will open up <Partition Manager> this will show you the three partitions
Root, Swap and Myth and show you the percentage of free space. My root partition on R27 is 4.67 GB and it normally has 52% free. So if I have 0% free space that means I have a file that is larger than 2GB that should not be there. If you click on the partitions it will show the size that they are.

3. In Webmin menus goto >> Others >> File Manager>>
Click on <Find> and Find Files will open up. In the search criteria box choose <file size>< more than> and enter 1000000000 your search results will return only hits larger that 1GB. Disregard all files in Myth and you are left with only files in the Root partition. Under normal conditions there are no files in the root partition larger than 1GB. If you fine one click on it and it will open up in File Manager where you can click on it to read it, Edit it, delete it, move it to the Myth partition or whatever.

In my case the /var/log/mythtv/mythfrontend.log was 2.5GB of repeated error code and I deleted it.

After watching this list for years I am surprised how few use Webmin and it is standard equipment in every Knoppmyth release. If I didn't have Webmin File Manager Knoppmyth would have went down road four years ago.

TVBox
A dyslexic Knoppmyth user


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 12, 2007 6:45 am 
Offline
Joined: Thu Mar 02, 2006 5:42 pm
Posts: 410
Location: middleton wi usa atsc
I have not heard of webmin. How do you "log it to webmin"?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 12, 2007 7:13 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
http://www.knoppmythwiki.org/index.php?page=WebminHowTo

I may also have something in the R5F27 Hints. The URL is: https://YOUR_HOSTNAME_OR_IP_HERE:10000/


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 12, 2007 9:52 am 
Offline
Joined: Thu Mar 02, 2006 5:42 pm
Posts: 410
Location: middleton wi usa atsc
Wow! Webmin is really cool! Thanks for hooking me up tjc and TVBox!


Top
 Profile  
 
 Post subject: xsessions error log
PostPosted: Fri Oct 12, 2007 8:32 pm 
Offline
Joined: Tue Sep 05, 2006 11:40 pm
Posts: 5
for me, the big disk waste was an .xsessions error log. If you are having problems finding where the disk is being used up, make sure to use the -a flag for ls to see the hidden file under /home/mythtv


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 14, 2007 5:25 pm 
I'm running RF27 and I just went into the endless loop of .Xsession cannot write to /tmp.

My solution was to hold the CAPS Lock key down just as Lilo was starting and type Linux Single at the boot prompt.

My /var/log/mythtv/mythfrontend.log file was

2599211008 bytes


Top
  
 
 Post subject: I think I'm screwed...
PostPosted: Tue Oct 16, 2007 2:26 pm 
Offline
Joined: Mon Jul 09, 2007 2:40 pm
Posts: 2
I had this same problem just yesterday, and thinking I wasn't much of a noob, I deleted the /home/mythtv directory, thinking it was a directory that I had used for installing some stuff.

Now, nothing works... Surprise, surprise.

Any way to recover from this? I've been looking at undelete programs, and none of them look very easy to use. But if there is a chance, and it's the only way, I'll try one.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 16, 2007 5:59 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Making a backup and auto upgrading should get you back into a working state. See the R5F27 Hints for the steps to follow. Any customization you've made in that directory (e.g. changes to /home/mythtv/.fluxbox/apps or /home/mythtv/.mythtv/lircrc) will be gone, but you'll have a working system with all of your existing recordings and media files.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 17, 2007 5:52 am 
Offline
Joined: Mon Jul 09, 2007 2:40 pm
Posts: 2
Great! I'll give this a try. I thought about doing the auto-upgrade, but knowing that I didn't have a backup I was afraid to try. Being able to do the backup by hand will be good.

And, I didn't have any changes in those directories, so I should be good to go. I also figured out my problem, one of the log files was extremely long. I have removed that file and have plenty of space again.

Thanks for the tip!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu