LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-01-2004, 11:45 AM   #1
chip33az
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
Debian and MythTV missing free space


Hi,

I have set up my Debian server as a MythTV server (love that program). Today, I went to verify that I have enough drive space to record a show for tonight and noticed that my / partition shows it is using 16G and has about 2G free.

When I do a du -h for each subdirectory under the / partition it comes up to about 8.2G. The TV shows are stored under /var/lib, so they would be listed in the / partition. They currently eat up 5.8G.

Where did the other 8G or so go? Does MythTV use it some how? Are there hidden files somewhere that isn't reported with the du -h command?

Thanks for any advice.
 
Old 10-01-2004, 12:34 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,656

Rep: Reputation: 115Reputation: 115
Re: Debian and MythTV missing free space

Quote:
Originally posted by chip33az
Hi,

I have set up my Debian server as a MythTV server (love that program). Today, I went to verify that I have enough drive space to record a show for tonight and noticed that my / partition shows it is using 16G and has about 2G free.

When I do a du -h for each subdirectory under the / partition it comes up to about 8.2G. The TV shows are stored under /var/lib, so they would be listed in the / partition. They currently eat up 5.8G.

Where did the other 8G or so go? Does MythTV use it some how? Are there hidden files somewhere that isn't reported with the du -h command?

Thanks for any advice.
How are you doing checking for the free space? If just using the du -h in the / and you have separate partitions for /home or any others then they will show up in there as well.

Code:
[HappyTux:/var/cache/apt/archives]# du -h / 
[...]
29M     /music/albums/0123456789/10cc/10cc
34M     /music/albums/0123456789/10cc/how_dare_you
63M     /music/albums/0123456789/10cc
33M     /music/albums/0123456789/3_doors_down/the_better_life
38M     /music/albums/0123456789/3_doors_down/away_from_the_sun
70M     /music/albums/0123456789/3_doors_down
52M     /music/albums/0123456789/38_special/bone_against_steel
48M     /music/albums/0123456789/38_special/rock_and_roll_strategy
31M     /music/albums/0123456789/38_special/special_delivery
129M    /music/albums/0123456789/38_special
261M    /music/albums/0123456789
13G     /music/albums
57G     /music
0       /cdrom0
0       /floppy
0       /initrd
0       /archives
0       /lost+found
69G     /


[HappyTux:/var/cache/apt/archives]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2             4.7G  3.0G  1.7G  65% /
tmpfs                 380M     0  380M   0% /dev/shm
/dev/hda3             9.4G  8.2G  1.2G  88% /home
/dev/hda5              47G   45G  2.3G  96% /music
/dev/hda6              52G   13G   39G  25% /music/albums
As you can see from the df -h output I do not have a partition at all that is 69G and my root is only 4.7G so it is impossible to have that much in it.
 
Old 10-01-2004, 01:05 PM   #3
chip33az
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Original Poster
Rep: Reputation: 0
The only other partition I have mounted it /home. I forgot the size of it.

I did a df -h and saw how big the / partition was (16 GB used, 18 GB total).

I then did a du -h on each directory that was part of the / partition. I skipped the /home since it is on its own.

Just seems a little odd for me. I'm thinking that MythTV may keep something in cache or the like and use it in the future.
 
Old 10-01-2004, 01:50 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,656

Rep: Reputation: 115Reputation: 115
Quote:
Originally posted by chip33az
The only other partition I have mounted it /home. I forgot the size of it.

I did a df -h and saw how big the / partition was (16 GB used, 18 GB total).

I then did a du -h on each directory that was part of the / partition. I skipped the /home since it is on its own.

Just seems a little odd for me. I'm thinking that MythTV may keep something in cache or the like and use it in the future.
Hmm maybe it is leaving some files in /tmp if you do not reboot often they will never get cleaned out if there are problems when they should be deleted and are not. One thing you can do to get some more space is to use apt-get clean to clean out the /var/cache/apt/archives directory if you do not do that on a regular basis already. Another thing that could be happening if you do a shutdown is if your machine is not on early in the morning (06:20 IIRC) then cron will not be run and have the opportunity to rotate your log files /var/log if this is the case then you will want to install anacron to have it take over the work of cron, it will check and see if the jobs that are supposed to be run have been run if they not then it will do it.
 
  


Reply


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
Not enough free space on hard drive with 50g of free space??? auoq SUSE / openSUSE 5 10-13-2004 09:21 PM
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 01:44 PM
Samba: 70 Gb free space, samba reports no space left? HansLuijten Linux - Networking 1 08-18-2004 05:40 PM
"no space left on device" - But df shows free space! monita Linux - General 7 03-30-2004 02:14 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:46 PM.

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