LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   HDA5 Full - Where to delete log files? (https://www.linuxquestions.org/questions/linux-newbie-8/hda5-full-where-to-delete-log-files-500058/)

rixride00 11-09-2006 08:37 AM

HDA5 Full - Where to delete log files?
 
/dev/hda5 73766848 70098388 0 100% /
/dev/hda1 101089 30090 65780 32% /boot
/dev/hda3 96828 1251 90577 2% /tmp
none 509700 0 509700 0% /dev/shm
/dev/hdc1 76920416 50478120 22534888 70% /logs
/dev/tmpMnt 96828 1251 90577 2% /tmp
/tmp 96828 1251 90577 2% /var/tmp


Hey Guys, I don't know where to putty into remove files.
I went to cd: var/logs and deleted them in there, but I don't know how to get to hda 5 or hadc1 to remove files?

Can anyone point me in the right direction?

Thanks

Lenard 11-09-2006 10:07 AM

Your root partition(/) is /dev/hda5, if your booted then all the partitions are part of the directory structure starting at the root (/) level. As a suggestion check your /var/cache directory and /home directory structures for stuff to delete or remove (maybe burn to some stuff to some CD/DVD media discs).

anupamsr 11-09-2006 11:21 AM

For help, you can use this command to know how much 'stuff' is in a directory.

$ cd /whatever/directory/you/want/to/go
$ du -hs

For example, in my home directory, this is the output:
Quote:

$ du -hs [18:20]
676M

farslayer 11-09-2006 12:05 PM

Accourding to your mount info, your /home directory is part of root..
anything in home you can get rid of ? old out of date downloads, old .iso files from your last upgrade, pacckage cache files from your distro updates, etc ?

You didn't mention what distro you have, and it's not listed in your profile, so it's hard to point you to these items.. if you are running a Debian based distro (Debian, Ubuntu, Simply Mepis, etc.. ) you can do an apt-get clean && apt-get autoclean to clear out the package cache of files the system downloaded during the last update. I'm sure Fedora and Suse probably have similar package caches somewhere.. that ay give you a little breathing room so you have some space to work..

Another good option for you might be to add a hard drive and MOVE the /home directory from /dev/hda to the new drive.


All times are GMT -5. The time now is 07:37 PM.