I've installed Solaris using Sun's brain dead disk slice defaults. How do I modify my slices?

I've installed Solaris using Sun's brain dead disk slice defaults. How do I modify my slices?

You don't.
It's too late now, but you should have read the recommendations on
disk partitions and sizes in section 4 of this FAQ.
Solaris (unless you're running under Veritas) doesn't support
modifying slices without destroying data on the entire slice.
Your options are (in order of ease):

  • Reinstall and choose your own custom layout.
  • Create softlinks or local mounts to filesystems with more free space
    and move the files. E.g. for /opt:


    "mv opt/export/home" and


    "mount localhost:/export/home/opt /opt"
    or "ln -s /export/home/opt /opt
  • Backup, boot install media, and run format, newfs, & restore



[Thanks to John D. Groenveld]




Home
FAQ