LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2004, 03:41 PM   #1
ecastedo
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
Question Insufficient disk space


Dear friends, please help me.

I have isntall RH9 and configure SAMBA 1 month ago.

Yesterday, we could not access my SAMBA directories and today when I tried to create a new excel file in it, it return an error saying Insufficient disk space.

using:
df -h
Sistema de Arquivo Size Use Disp Use% Montado em
/dev/hda2 9.7G 9.7G 0 100% /
/dev/hda1 99M 14M 80M 15% /boot
none 54M 0 54M 0% /dev/shm

I do not know what is consuming all this space.

Could you help me?
Could you give some commands to find out the file that are consuming this space?
Thanks,

Eduardo
 
Old 09-09-2004, 04:03 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
provide the output from these two commands when run as root:
Code:
fdisk -l
Code:
du / -hx --max-depth 1
this shoiuld provide you with enough info to see where the psace has gone. more than likely it'll mainly be in one place, e.g. your /home files, or possibly oversized logs in /var/log.
 
Old 09-09-2004, 05:08 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
To print all files over about 50 MB in a particular directory or its subdirectories, in order of size, the following command will work:

Code:
find <directory> -size +10000 -ls | sort -nrk 7
... replacing <directory> with the pathyou want to search. Of course this won't help you if you have lots of little files eating space.
 
Old 09-10-2004, 08:12 AM   #4
ecastedo
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Original Poster
Rep: Reputation: 0
To: acid_kewpie

Acid, like you asked:

#fdisk -l

Disk /dev/hda: 20.4 GB, 20416757760 bytes
255 heads, 63 sectors/track, 2482 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes

Dispositivo Boot InĂ_cio Fim Blocos Id Sistema
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 1288 10241437+ 83 Linux
/dev/hda3 1289 1312 192780 82 Linux swap


# du / -hx --max-depth 1
16K /lost+found
420K /dev
133M /var
24K /tmp
16M /etc
6.2G /root
1.9G /usr
4.7M /bin
1.5G /home
4.0K /initrd
80M /lib
12K /mnt
4.0K /opt
12M /sbin
4.0K /misc
48K /tftpboot
9.6G /

Found it!!!!

#du /root -hx --max-depth 1
32K /root/.gconfd
8.0K /root/.gstreamer
424K /root/.gconf
32K /root/.gnome
108K /root/.gnome2
4.0K /root/.gnome2_private
120K /root/.nautilus
4.0K /root/.gnome-desktop
16K /root/.metacity
1.6M /root/.mozilla
64K /root/.thumbnails
4.0K /root/.themes
4.0K /root/.qt
4.0K /root/.icons
6.2G /root/.Trash
32K /root/.gftp
116K /root/.borland
4.0K /root/.gnome_private
172K /root/evolution
16K /root/.gnupg
6.2G /root

/root/trash is my problem. How I delete it? It is a hide file? How I set a rotine to delete this file everyday?

Thanks all for the help
 
  


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
boot failure due to insufficient space ?? samik Fedora - Installation 3 07-27-2005 01:22 PM
linux failing to boot citing insufficient disk space samik Linux - Newbie 4 07-22-2005 11:47 PM
Printing: Insufficient File Space esael Linux - Hardware 3 09-19-2002 12:35 AM
Red Hat 7.1 Install error - insufficient disk space KIRKR Linux - Software 5 01-09-2002 04:56 PM
Insufficient swap space shaz Linux - Newbie 1 03-19-2001 10:28 PM


All times are GMT -5. The time now is 03:45 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