Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You would need to repartition your drives using a partition tool, etc.
You could however check your /var directory for large log files that you can clean out possible and check your /tmp directory for temp files you can clear out to temporarily gain some more space, etc.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.