Solved

" / is getting very close to full "

Posted on 2004-04-21
7
157 Views
Last Modified: 2010-04-20
My Raq4 is telling me:
" / is getting very close to full. This is very dangerous for the server
and can cause unexpected errors to occur. You either need to move some files to another storage device and delete them from the Sun Cobalt server or delete them altogether. Consult the documentation for help adding storage to your Sun Cobalt server.

Total disk space: 920.0MB
Free disk space: 202.0MB
Percent Used: 78 %"

Active Montire is showing Red light for disk space.

What do I have to do?

Thanx

Kishan
0
Comment
Question by:asanghvi
7 Comments
 
LVL 6

Expert Comment

by:karlwilbur
ID: 10880848
You should do some house cleaning.  Back up any files that you want to keep.  Once you have backed them up, delete them off of the server.

You could also archive stuff that you are not using.  This would compress them so that they are smaller.  Then delete original files (not the archive from the server.)

tar cvjf archivename.tar.bz2 file1 file2 file3 ...
            ^archive name           ^files to archive

to unpack the archive:

tar xvjf archivename.tar.bz2

-Karl
0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 10883126
Unless your system has a seperate /var partition, thats where I would go first to see what stuff you can get rid of.
0
 
LVL 3

Expert Comment

by:tolgadalkilic
ID: 10883916
Look for the files that are not needed or old neough to be archieved. Especially archieve your log files, probably at /var/log directory.But your system doesnt seem to have storage problem in my opinion, but depends on what yoru are doing with this machine. Don't care about the warning until it says %95 usage of disk, unless you are making too much data transfer load on this partition.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Expert Comment

by:robipolli
ID: 10886392
Hi!
Being a Sun cobalt I think it has a 'respectable' partition table, but as owen said, you'd better check out.
Which OS do you use? Please send here your
/etc/fstab
or
/etc/vfstab

and the output of
#df -k
which tells the free space on each slice of HD

Peace, R.
0
 

Author Comment

by:asanghvi
ID: 11038361
Hi All,

Thanks for your responses. The problem was in the / partition where my spam software was generating all its logs. I had to redirect it to the /var partition were most of the space is available.

0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 16018433
PAQed with points (500) refunded

DarthMod
Community Support Moderator
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now