jibranilyas
asked on
Urgent: No space left on Disk -- VIRUS? ( Linux )
All of a sudden, my hard drives on linux got full.. There are two HDs mounted... one got full ... i thought i just need to delete some files... but now the second one shows 100% too ..
I rebooted the computer and now its not booting up... HELP NEEDED!
I rebooted the computer and now its not booting up... HELP NEEDED!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
thanx.
(but don't neglect the other comment)
Good Fortune !
(but don't neglect the other comment)
Good Fortune !
once at a command window or command line, mount your partition (i really hope i dont need to show you this, but just in case..)
it'll resemble something along the lines of:
mount /dev/hda1 /mnt/hda1 (ide) or /dev/sda1 (scsi) or /dev/md1 (multi disk stuff)
get it mounted, then run this command (modified accordingly):
find /mnt/hda1 / -size=+1000
you may want to man find to check out how to modify that command. essentially, you're looking for large files. you could combine du and wc commands to try to find directories with hundreds of thousands of files, but searching for all files larger than say, 2-5 megs would probably show you something.
my guess would be to check in the /var some first, look for databases or logs of enormous sizes.