Modify the swap on Solaris10 on a volume VERITAS

Hi Community,

Do you know a procedure to modify the swap on Solaris10 on a volume VERITAS?

Please help me I'm currently working on this issue.

Thank you for your availability!

  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.

  1. 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.

  1. Activate the additional swap/dump:

# swapon -a
# crashconf -a

  1. 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

  1. Verify the configuration of additional swap/dump:

# swapinfo -tm
# crashconf -v