1. Make a new filesystem on a spare partitian using newfs (newfs -v /dev/rdsk/c0t1d2s0 for example)
2. mount the new filesystem (mount /dev/dsk/c0t1d2s0 /mnt )
3. cd /mnt
4. use ufsdump to backup /opt then restore to /mnt
5. verify all files are there
6. rm -r /opt (to remove old opt directory )
7. vi /etc/vfstab to point to the new filesystem
8. umount /mnt and mount the new filesystem on /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.