Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.


  2. #2
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Chandigarh, India
    Execute this
    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

  3. #3
    Just Joined! stephen84s's Avatar
    Join Date
    Apr 2007
    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

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts