The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: SWAP SPACE
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 11-08-2000
PxT's Avatar
PxT PxT is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
(excerpt from
http://www.hp-partners.com/ptc_publi.../2x_swap2.htm)

To add a raw swap partition to a Solaris 2.x system, identify an unused partition on a disk. Traditionally, slice 1 is used for swap space. Add the following entry to /etc/vfstab, taking care to use the correct device name:

/dev/dsk/c0t1d0s1 - - swap - no -

Enable the new partition with the swap command:
swap -a /dev/dsk/c0t1d0s1

Check your change:

swap -l

swapfile dev swaplo blocks free

/dev/dsk/c0t3d0s1 32,25 8 164040 164040
/dev/dsk/c0t1d0s1 32,9 8 164040 164040