Changing the tunable values using the vxio.conf file

You can tune the VxVM parameters by editing the /kernel/drv/vxio.conf file. The changes made to the tunables using this method are persistent, after a system reboot.

Warning:

Do not edit the configuration file for the vxspec driver, /kernel/drv/vxspec.conf.

To change the value of a tunable

  1. Display the current values of the tunables.
    # prtconf -vP
       .
       .
       .
    vxio, instance #0
        System properties:
            name <vol_tunable> length <4>
                value <0x00001388>
        Driver properties:
            name <voldrl_max_seq_dirty> length <4>
                value <0x00000003>
       .
       .
       .

    All VxVM tunables that you specify in /kernel/drv/vxio.conf are listed in the output under the "System properties." heading for the vxio drivers. All unchanged tunables are listed with their default values under the "Driver properties" heading. The sample output shows the new value for vol_tunable in hexadecimal:

    For more information, see the prtconf(1M) and driver.conf(4) manual pages.

  2. Navigate to the /kernel/drv/ directory which contains the vxio.conf file.
  3. Make a backup copy of the /kernel/drv/vxio.conf file.
  4. Open the file using any editor. Add or edit the tunable in the /kernel/drv/vxio.conf file, using the following format:

    tunable_name=value;

    Where the value is specified in bytes.

    For example, to change the value of the tunable vol_rvio_maxpool_sz to 128M, append the following line to the file /kernel/drv/vxio.conf:

    vol_rvio_maxpool_sz=134217728;

    The specified value for vol_rvio_maxpool_sz is now applicable system-wide.

  5. Reboot the system for the changes to take effect.