|
You could also use a different partition mounted as /usr or /var, to free up some space. If you have a spare partition available (or unused space that could be made into one), format it, mount it in a temporary location like /tmpusr or /tmpvar, copy (recursively with '-R', along with '-dp' to preserve symbolic links and such) everything from /usr or /var to it. Then you can clear off the space from your root partition, and mount the new partition as /usr or /var. I don't know how precisely that'd work in Solaris, but it should be feasible.
If you don't have a spare partition lying around, though, the best thing would be as suggested above; find some way to clean off old logs and stuff. Barring that, you may have to use a partition resizing program like GNU parted.
It's because of this possibility that I left a big chunk (30GB) of a new 80GB hard drive unpartitioned. Kind of a waste, since I can't use the space, but that way, if I run out of room later, I can always make a new partition in the unused space without worrying about losing data on an existing partition.
|