SUMMARY: Expand filesystem which is short of space?

From: Ning Zhang (
Date: Tue Feb 24 1998 - 15:04:13 CST

I summarized this before and now put something new here:

I have tried to install packaged GNU gcc 2.8.0 for Solaris 2.6. The
installation told me that /var is full and then aborted. There is about
19000k space available in /var at that time. It seems unbelievable.
My questions:
1) How much space in /var is needed to install gcc 2.8.0 for Solaris
2.6? (How so much?)
2) How to solve the problem when /var or /usr has no enough space? Other
than moving some directories/files to other filesystems and ln them back
to /var or /usr, any better or easier ways? - very curious.

1) I'm not sure of the exact size but I had the same problem. It has
something to do with the /var/tmp and /var/sadm directories. It seems
that when the installation takes place it expands the files in the
/var/tmp and information written/appended to the /var/sadm. Hence, if
you don't have enough space in /var you won't be able to install. What I
did was move my /var/tmp and /var/sadm to another file system with large
disk space.
2) Well, the link stuff is the easiest and fastest way (to me). Another
way would be to backup the /var and /usr then re-partition the disk to
change the partition size. Another way would be to use the 'tunefs'
command to modify your reserve space on the partition. I think the
command is 'tunefs -m <new size> <file system>' it's in the man page.

Solution (1) works well and solved the problem. I haven't tested the
"tunefs" yet.

Big Thanks:
Eddy Sutanto <>

Ning Zhang Systems Analyst
Department of Labor Washington, D.C.

* If you think you can, you can! *

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:31 CDT