Changing the values of tunables

To display the current value of a tunable that is used by VxVM, use the following commands with the /proc file system:

# cat < /proc/sys/vxvm/vxio/vol_maxio
2048

To change the value of a VxVM tunable, specify the new value using the vxvoltune command:

# vxvoltune vxvm_tunable value

You must then shut down and reboot the system for the change to take effect. The new value persists across system reboots until it is next changed.

For example, the following command sets the value of vol_maxio to 8192:

# vxvoltune vol_maxio 8192

Warning:

The vxvoltune utility modifies the tunable values stored in the /etc/vx/vxvm_tunables file. We recommend that you use the vxvoltune command to change the values stored in this file. Do not edit this file directly.

You can use the vxvoltune command to display the current values of a tunable parameter that is set in the vxvm_tunables file:

# vxvoltune vxvm_tunable

DMP tunables are set online (without requiring a reboot) by using the vxdmpadm command as shown here:

# vxdmpadm settune dmp_tunable=value

The values of these tunables can be displayed by using this command:

# vxdmpadm gettune [dmp_tunable]