Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

" / is getting very close to full "

Posted on 2004-04-21
7
160 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

790 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