Author |
Message |
snake3061
|
Posted: Sun Sep 30, 2007 8:41 am |
|
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 |
|
 |
bradpvr
|
Posted: Sun Sep 30, 2007 8:46 am |
|
Joined: Tue Mar 27, 2007 11:55 am
Posts: 40
|
|
Top |
|
 |
tjc
|
Posted: Sun Sep 30, 2007 9:17 am |
|
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 |
|
 |
rkhanso
|
Posted: Sun Sep 30, 2007 1:49 pm |
|
Joined: Thu May 12, 2005 9:45 pm
Posts: 95
Location:
Minneapolis area
|
Does the ringbuffer need to be deleted?
|
|
Top |
|
 |
ihatetivo
|
Posted: Sun Sep 30, 2007 1:56 pm |
|
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 |
|
 |
Merlinx
|
Posted: Mon Oct 08, 2007 8:01 pm |
|
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 |
|
 |
TVBox
|
Posted: Fri Oct 12, 2007 1:56 am |
|
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 |
|
 |
jzigmyth
|
Posted: Fri Oct 12, 2007 6:45 am |
|
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 |
|
 |
tjc
|
Posted: Fri Oct 12, 2007 7:13 am |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
|
Top |
|
 |
jzigmyth
|
Posted: Fri Oct 12, 2007 9:52 am |
|
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 |
|
 |
jcrewna2
|
Posted: Fri Oct 12, 2007 8:32 pm |
|
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 |
|
 |
jmairs
|
Posted: 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 |
|
 |
rmorgan
|
Posted: Tue Oct 16, 2007 2:26 pm |
|
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 |
|
 |
tjc
|
Posted: Tue Oct 16, 2007 5:59 pm |
|
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 |
|
 |
rmorgan
|
Posted: Wed Oct 17, 2007 5:52 am |
|
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 |
|
 |