Swap Locations

Swap space can be built up from raw disk partitions and/or swap files. In this section we'll have a look at both of these. We'll start with the most commonly used type—disk partitions.

Raw Disk Partitions

When you first install Solaris, a default swap partition will normally be created for you, so it is unlikely that you would need to create the main swap partition. You are much more likely to need to create an additional swap partition or alter the size of the one that Solaris created for you.

Using raw disk areas for swap size is a very simple procedure—we simply need to define the partition boundaries, just as we would for a normal file system (see Chapter 6, “The Filesystem and Its Contents”). In fact, the only difference between ...

Get Solaris™ Operating Environment Boot Camp now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.