ROOT fs is full but no files consumed more space

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat ROOT fs is full but no files consumed more space
# 1  
Old 05-31-2012
MySQL ROOT fs is full but no files consumed more space

one our linux machine root fs usage shows 90% but inode use %

i sarched more then 10 MB files and found few with less mb,s

any once help to solve this


Code:
[kk787049@coen ~]$ df -h /
Filesystem            Size  Used Avail Use% Mounted on
/dev/cciss/c0d0p3     3.9G  3.3G  409M  90% /
[kk787049@coen ~]$ df -i /
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/cciss/c0d0p3    1048576   62966  985610    7% /
[kk787049@coen ~]$

# 2  
Old 06-04-2012
Tools let's find it out ...

- login as root ;

- try :
Code:
# find /* -xdev -maxdepth 0 -type d -exec du -s {} \;

this should give you a report of disk usage per directory ;


HTH


good luck, and success !


_______________________________________________________
alexandre botao
(progsmith, polymath, ideator)
"comets never dodge"
# 3  
Old 06-05-2012
Code:
7.6M    /bin
15M     /boot
212K    /dev
53M     /etc
235M    /lib
18M     /lib64
16K     /lost+found
8.0K    /media
8.0K    /misc
8.0K    /mnt
0       /proc
412K    /root
54M     /sbin
8.0K    /selinux
16K     /share
8.0K    /srv
0       /sys
784K    /tmp
1.7G    /usr
4.0K    /webapp

i ran that cmd and found nothing used much as root is 4 G confgiured
# 4  
Old 06-05-2012
If you tried deleting files that were in use to free up space, then they still exist and won't truly be deleted until the process holding them open is killed or you reboot the system.
# 5  
Old 06-11-2012
Hammer & Screwdriver let's not forget the dots ...

Quote:
Originally Posted by venikathir
Code:
7.6M    /bin
15M     /boot
212K    /dev
53M     /etc
235M    /lib
18M     /lib64
16K     /lost+found
8.0K    /media
8.0K    /misc
8.0K    /mnt
0       /proc
412K    /root
54M     /sbin
8.0K    /selinux
16K     /share
8.0K    /srv
0       /sys
784K    /tmp
1.7G    /usr
4.0K    /webapp

i ran that cmd and found nothing used much as root is 4 G confgiured
- you see ... there may be directories whose name begin with "." - which will not be found by the command I suggested ;

- try :
Code:
ls -aF /

to see if there are any such directories ...

ok ?

HTH
# 6  
Old 06-11-2012
Can you reboot the computer? This will clear any files which have been deleted while they were still open by a process.

Also check the root directory itself visually and look for rogue large files:
ls -ald /* | more

Last edited by methyl; 06-11-2012 at 07:46 PM..
# 7  
Old 06-15-2012
Is that the total size of the partition? I only see 4 GB allocated for the total slice. I am just wondering what kind of server is deployed.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

Listing files/space used on root partition

For instance, root partition is full so I don't need to know about /ABC/XYZ when /ABC/XYZ is a separate mount point. (But /ABC isnt). Can I run a du command or similar and just look at contents effecting the space on that mount point (/)? (2 Replies)
Discussion started by: psychocandy
2 Replies

2. Emergency UNIX and Linux Support

Swap space (almost) full

Hello, This is RHEL 5.7. swap is almost full, but I am not sure, what to release and how to release space. This is production server so I would like to try all possible options before reboot. # top top - 00:18:26 up 327 days, 7:01, 3 users, load average: 0.16, 0.21, 0.18 Tasks: 782 total, ... (7 Replies)
Discussion started by: solaris_1977
7 Replies

3. Solaris

User want to full root permission

hi guys.. how to give root permission for particular user tel me step by step (2 Replies)
Discussion started by: coolboys
2 Replies

4. UNIX for Advanced & Expert Users

Disk Space full

I was tryin to copy a large file under /tmp location. I guess the disk space got full and i got fork error. Then I tried removing some files but the shell did not let me do anything bash> rm apache22.tar bash: fork: Not enough space bash> pwd /tmp bash> vmstat 1 bash: fork: Not... (3 Replies)
Discussion started by: mohtashims
3 Replies

5. Solaris

root directory is full

root directory in server / is full 100% , i already tried to delete any core file , log , .. still files under /proc directory take more than 4 G.. what you advice please i don't want to format the server and install again and re partition , i tried the FORMAT tools ! but it seems i cant do... (5 Replies)
Discussion started by: moata_u
5 Replies

6. AIX

Where is the space consumed

Hello On AIX 5, In a file system - I see no big files but still df shows no space available. What is tricky here? Filesystem GB blocks Free %Used Iused %Iused Mounted on /dev/fslv10 20.00 6.11 70% 2167 1% /data/d2 I have calculated all files conumption under... (3 Replies)
Discussion started by: panchpan
3 Replies

7. Linux

/root filesystem size is full

hi in my server ( / ) root filesystem size is full how to reduce the size and what are the files i want to remove. i need answer for linux and AIX also. (6 Replies)
Discussion started by: chomca
6 Replies

8. Filesystems, Disks and Memory

root file system full

Hi I have a Solaris 2.5.1 system. Recently my file system is full and i couldn't find what flood my root file system. Anyone can suggext any directories i should look out for. I am using Samba and Patrol agent. I am just usng this server as a file server, users cannot login into the system,... (1 Reply)
Discussion started by: owls
1 Replies
Login or Register to Ask a Question