Results 1 to 3 of 3
Hi All Linux people,
Well, I am facing a problem, When i run the command
]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p2 31G 30.4G 500M 100% ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-25-2008 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 49
disk space is full
Hi All Linux people,
Well, I am facing a problem, When i run the command
]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p2 31G 30.4G 500M 100% /
/dev/cciss/c0d0p1 99M 15M 79M 16% /boot
none 1004M 0 1004M 0% /dev/shm
even when i check the size of each folder with the command (du -sh / du -h), the compelte size of all folders is not more then 10G.
/var show the 6G and when i check all folder size manually with the command (du -sh / du -h), i can see its not more then 1G.
Can any one recommend something .. what should i do know? Any command that can work like we run scandisk in window and then it shows the proper size.
waiting for your earlier response.
Thanks
Sam
- 01-25-2008 #2
Execute this
Code:su - yum -y clean all cd /var/log rm -f messages.* df -h
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-25-2008 #3
Frankly I feel u have done almost everthing to find any files that might be eating up your disk space ... But still I wanna share the following command which helped me trace a large log file that had eaten up my disk space:
find . -size +5000M -print
The above command will search for files larger than 5GB on your system and print their details.... Hope it helps


Reply With Quote
