LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 04-26-2005, 03:04 PM   #1
snoply
LQ Newbie
 
Registered: Apr 2005
Posts: 14

Rep: Reputation: 0
out of disk space...


hey everyone,
My redhat server freezes from time to time, and I think this happens because of the space.
So I am thinking of deleting the log files in a regular bases ..but I don’t know how to do that…
thanks
 
Old 04-26-2005, 03:05 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You probably want to set up logrotate to keep appropriate logs and remove the old ones. Also, how big are your logfiles getting? What is your partitioning scheme? (df output)
 
Old 04-26-2005, 03:21 PM   #3
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
do u have another partition???

maybe u would like to mount ur directory like /home to another partiton

regards
 
Old 05-01-2005, 07:34 AM   #4
blueCow
Member
 
Registered: Feb 2004
Location: Florida
Distribution: FreeBSD, CentOS, Debian, Mint
Posts: 111

Rep: Reputation: 17
To really give you a good answer to this problem, we will need to have some more information.

Please post the output of:

Code:
df -h
Code:
fdisk -l
Code:
cat /proc/partitions
also, you may want to post the output of

Code:
tail -50 /var/log/messages
 
Old 05-02-2005, 01:54 PM   #5
snoply
LQ Newbie
 
Registered: Apr 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks guys for ur reply, I am very beginner in redhat lunix and server stuff…but to let u know the one who is responsible for this position is sick so I have to take his place…
First of all I don’t know how to know what my portions are ..its not like windows at all and every thing is deferent.
Anyways I got these output as u told me to do
---------------------------------------------------------------
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 494M 298M 170M 64% /
/dev/sda1 38M 14M 22M 39% /boot
/dev/sda2 25G 5.7G 18G 24% /home
none 502M 0 501M 0% /dev/shm
/dev/sda8 494M 10M 458M 3% /tmp
/dev/sda3 3.9G 2.1G 1.6G 55% /usr
/dev/sda5 1011M 543M 417M 57% /var
/dev/sdb1 67G 1.6G 62G 3% /home2
 
Old 05-02-2005, 01:55 PM   #6
snoply
LQ Newbie
 
Registered: Apr 2005
Posts: 14

Original Poster
Rep: Reputation: 0
--------------------------------------------------------------------
Disk /dev/sda: 255 heads, 63 sectors, 4427 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 5 40131 83 Linux
/dev/sda2 1043 4427 27190012+ 83 Linux
/dev/sda3 6 527 4192965 83 Linux
/dev/sda4 528 1042 4136737+ 5 Extended
/dev/sda5 528 658 1052226 83 Linux
/dev/sda6 659 911 2032191 82 Linux swap
/dev/sda7 912 976 522081 83 Linux
/dev/sda8 977 1041 522081 83 Linux

Partition table entries are not in disk order

Disk /dev/sdb: 255 heads, 63 sectors, 8924 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 8924 71681998+ 83 Linux
root@ns5 [/]# man df

root@ns5 [/]# cat /proc/partitions
major minor #blocks name rio rmerge rsect ruse wio wmerge wsect wuse running use aveq

8 0 35566479 sda 988487 1691630 20686052 16176930 18262613 20923598 290817090 1848294800 0 84899200 1864614830
8 1 40131 sda1 104 1643 3494 1050 80 76 318 5820 0 4770 6870
8 2 27190012 sda2 571327 1237264 14444808 10389130 8741001 6231107 120692046 1347708050 0 57697970 1358186830
8 3 4192965 sda3 121775 167470 2254672 1067000 1285351 1853130 25260976 124310020 0 24295760 125404620
8 4 1 sda4 1 0 2 10 0 0 0 0 0 10 10
8 5 1052226 sda5 208753 143221 2752512 3406280 7070099 9800074 135148442 219758150 0 63917670 223163950
8 6 2032191 sda6 49302 79605 1031258 1090970 43712 152270 1571032 38167890 0 507550 39278970
8 7 522081 sda7 35823 54199 180046 211520 975490 2520091 7116458 108350770 0 21043280 108563120
8 8 522081 sda8 1395 8222 19234 10990 146880 366850 1027818 9994810 0 3693950 10005740
8 16 71687369 sdb 135239 1333191 4578930 1042250 280624 475895 6071338 22145040 0 2203490 23188810
8 17 71681998 sdb1 135236 1333185 4578912 1042240 280624 475895 6071338 22145040 0 2203470 23188790
 
Old 05-06-2005, 08:56 AM   #7
snoply
LQ Newbie
 
Registered: Apr 2005
Posts: 14

Original Poster
Rep: Reputation: 0
is there any news for my problem.....
 
  


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
Disk Space Verbal Kint Linux - General 2 05-26-2005 06:28 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
Where is all my disk space going? Baryonic Being Linux - General 6 10-13-2004 07:57 AM
Disk Space? Gerardoj Linux - General 4 05-28-2003 12:11 AM
Disk space wastage 73 GB Hard disk rajgopalhg Linux - Hardware 2 10-18-2002 03:41 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 10:29 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