OpenSolaris default partition sizes

04 Oct

Took a closer look at the partition sizes of my OpenSolaris Build 72 installation. These partitions are created automatically by the new installer. (The following output is hand edited for brevity.)

bash-3.00# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c0d0s0 15G 5.8G 8.8G 40% /
swap 3.0G 940K 3.0G 1% /etc/svc/volatile
swap 3.0G 76K 3.0G 1% /tmp
swap 3.0G 36K 3.0G 1% /var/run
/dev/dsk/c0d0s4 15G 15M 15G 1% /second_root
/dev/dsk/c0d0s7 65G 4.5G 60G 7% /export/home

I love the /second_root partition, which helps me install the newer builds without interrupting the system.

There are a few changes I would have done, if I am configuring the partitions personally.

  • Would have added a bit more swap space. BTW, I have 2GB RAM on this system.
  • I usually add a separate /var/tmp partition, which is pretty much my scratch pad kind of space. The problem with current partitioning is that if I do some activity in /var/tmp, I am highly likely to fill up the root partition.
  • The same thing holds good for /opt. With the ever helping BlastWave, your /opt space may grow out of your initial estimates of what gets installed on the system. So I have been usually adding a separate /opt partition and never let the automated blastwave installs to get to / partition.
  • For this desktop grade box, /export/home is too big. But you never know. 🙂 A few photo sessions would take that space very easily.

Overall, the installer did a decent job. I need to figure out an easy way to get what I want, for future installs.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.