Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Harddisc is suddenly full...HELP!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
doalwa
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2003
Posts: 142
Location: Old Europe

PostPosted: Fri Jan 13, 2006 10:45 am    Post subject: Harddisc is suddenly full...HELP! Reply with quote

Hi,

I ran into a strange problem this morning. I tried to start opera and was wondering what took it so long to start up. So I opened an xterm, issued the command "opera" from there and was amazed that according to opera my harddisc was full.

So I issued the command "df -h" which showed the following:

Code:

gentoo / # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3              56G   55G     0 100% /
udev                 1013M  276K 1013M   1% /dev
cachedir               56G   55G     0 100% /lib/splash/cache
/dev/sda4              19G  7.9G   12G  42% /xp
/dev/hda1             276G   84G  178G  32% /data
shm                  1013M     0 1013M   0% /dev/shm


So, according to df, my root partition /dev/sda3 is completely filled up with 56 gigs of data...but I'm completely clueless as to what could have filled up my harddisc..I store all my data on /dev/hda1, a 300 gig Maxtor HD which also houses the /opt filesystem.

Is there a way to find out which directories are responsible for filling up my harddisc?
_________________
Keepin' the Funk alive since 1983!
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Fri Jan 13, 2006 10:46 am    Post subject: Reply with quote

Code:
du -ms /*/
Back to top
View user's profile Send private message
doalwa
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2003
Posts: 142
Location: Old Europe

PostPosted: Fri Jan 13, 2006 11:08 am    Post subject: Reply with quote

Thanks alot for your quick reply!

I issued the command "du -msh /*/ , this is the output:

Code:

gentoo / # du -msh /*/
7.9M    /bin/
4.0K    /boot/
8.0K    /brenner/
84G     /data/
276K    /dev/
8.0K    /dvd/
64M     /etc/
51G     /firewire/
8.0K    /floppy/
1.1G    /home/
12M     /lib/
16K     /lost+found/
4.0K    /media/
12K     /mnt/
19G     /opt/
899M    /proc/
2.2M    /root/
9.4M    /sbin/
0       /sys/
64K     /tmp/
3.0G    /usr/
306M    /var/
7.8G    /xp/


I'm still clueless, to be honest :-( The biggest directory /data resides on the Maxtor 300 Gig HD, the directory /firewire is a mount point for my external 250 Gig Maxtor OneTouch HD. I backup all of /data to this external harddisc using rdiff-backup and cron.
/opt is symlinked to /data/opt , so those 19Gigs only affect the 300 Gig Maxtor HD.

Apart from that, there's really nothing much on the harddisc /dev/sda...but it still shows me that 56 Gigs of space have been somehow eaten up.

This line from the output of df -h irritates me, though:
Code:

cachedir               56G   55G     0 100% /lib/splash/cache


I'm using splashutils for a nice framebuffer background image..does anybody know if it's normal that this so called cachedir also shows a size of 56 gig?

TIA,

Dominik
_________________
Keepin' the Funk alive since 1983!
Back to top
View user's profile Send private message
nevynxxx
Veteran
Veteran


Joined: 12 Nov 2003
Posts: 1123
Location: Manchester - UK

PostPosted: Fri Jan 13, 2006 11:34 am    Post subject: Reply with quote

Looking at that, you have 51 GB in /firewire.

I know you say this an external box, but are you sure you mounted it before you copied the files over?

According to df there is nothing that uses a mountpoint of /firewire.

I am of course assuming the df and the du were done at a similar time :)
_________________
My Public Key

Wanted: Instructor in the art of Bowyery
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Fri Jan 13, 2006 11:45 am    Post subject: Reply with quote

It indeed seems you forgot to mount the extrenal hd on /firewire :)
Back to top
View user's profile Send private message
doalwa
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2003
Posts: 142
Location: Old Europe

PostPosted: Fri Jan 13, 2006 1:09 pm    Post subject: Reply with quote

Oh My Goodness, both of you were right, /dev/sdb1, which represents my external firewire disc, was indeed NOT mounted, I can't believe it!

The strange thing is, according to /etc/fstab
Code:

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/sda1               /boot           ext3            noauto,noatime  1 2
/dev/sda3               /               ext3            noatime         0 1
/dev/sda2               none            swap            sw              0 0
/dev/sda4               /xp             ntfs            ro,user,auto    0 0
/dev/hdc                /brenner        iso9660         noauto,ro,user  0 0
/dev/hdd                /dvd            iso9660         noauto,ro,user  0 0
/dev/fd0                /floppy         auto            noauto          0 0
/dev/hda1               /data           ext3            auto            0 0
proc                    /proc           proc            defaults        0 0
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0
/dev/sdb1               /firewire       ext3            auto,rw    0 0


/dev/sdb1 should have been mounted at boot time...but it seems like it didn't...hm..well, I simply erased the contents of /firewire, mounted the external disc with mount /dev/hdb1 , now everything is back to normal again!

Thanks alot for your help, you really saved my day :-)
_________________
Keepin' the Funk alive since 1983!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum