LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-09-2006, 08:37 AM   #1
rixride00
Member
 
Registered: Mar 2004
Posts: 31

Rep: Reputation: 15
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
 
Old 11-09-2006, 10:07 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
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).
 
Old 11-09-2006, 11:21 AM   #3
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 371

Rep: Reputation: 30
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
 
Old 11-09-2006, 12:05 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how i can delete log details fantoos001 Linux - Software 3 09-06-2006 03:52 PM
Delete Log Files raysr Mandriva 2 01-31-2006 11:15 AM
Auto Delete oldest files @ratex when directory is 98% full jmanjohn61 Linux - Software 1 04-05-2005 03:44 PM
log what files users create, delete etc. Goma_2 Linux - General 3 09-26-2003 06:12 PM
Can log files be time stamped? (such as FTP login and transfer log files) bripage Linux - Networking 6 08-08-2002 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration