Load the system in single user mode.
Make a copy of the data in /opt (tar cvf /dev/rmt/0 .) for example.
Make a copy of the data in any slice that is giving space to /opt.
Use Format to change the size of /opt.
(Don't forget to run the label command in the format utility or the changes will not happen).
Restore your data.
Using a new disk would be something like this:
(Assume new disk is c2t2d0s0
Run a backup of /opt.
umount /opt
use format to create required structure.
mount /dev/dsk/c2t2d0s0 /opt
restore data to new /opt
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.