Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to increase space in a partition

Status
Not open for further replies.

SkyHigh

Technical User
May 30, 2002
309
CA
Hi

I am running Solaris 8.0 on an intel box, I have a 30 gig harddrive but there isn't much space left in my "/" partition and as /usr/local is in this partition most new installations go into this partition by default, since I have more than enough space in my /export partition, how can I add some space to /usr/local from /export by creating a link, I am very new in Unix environment, your help would be much appreciated
thanks
Brenda Sky
 
If you just have the one disk and are not using any volume control software. I would say back it up, boot into single user mode partition you disk again and restore from backup.
 
Another possibility would be to create a directory under /export (like /export/local/bin), move everything from /usr/local/bin into this directory, and then link /usr/local/bin to /export/local/bin:


cd /usr/local

rmdir bin (Once you have everything moved from /usr/local/bin)

ln -s /export/local/bin bin

This will only help if /usr/local/bin is using a lot of /'s disk space.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top