The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 11-15-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,122
1. Create a volume for additional swap/dump:

# vxassist -g rootdg -U swap make swapvol2 2g

Note:

The additional swap and dump does not have to be in the rootdg/vg00.
The additional swap and dump can be on the same volume or separate volumes.


2. Add the following entries for additional swap/dump in /etc/fstab:

/dev/vx/dsk/rootdg/swapvol2 ... swap pri=1 0 0
/dev/vx/dsk/rootdg/swapvol2 ... dump defaults 0 0

Note: Since the dump device has no priority like swap, you don't need to specify pri=1 like swap device.


3. Activate the additional swap/dump:

# swapon -a
# crashconf -a


4. Modify /etc/rc.config.d/crashconf, uncomment the following line:


# CRASHCONF_READ_FSTAB: If set to 1, /etc/fstab will be scanned looking for
# "dump" devices, which will be configured as crash dump
# devices.
CRASHCONF_READ_FSTAB=1 <<--- here


5. Verify the configuration of additional swap/dump:

# swapinfo -tm
# crashconf -v