Symantec logo

Setting the noautoimport flag for a disk group

VCS requires that the noautoimport flag of an imported disk group be explicitly set to "true." This enables VCS to control the importation and deportation of disk groups as needed when bringing disk groups online and taking them offline.

 To check the status of the noautoimport flag for an imported disk group

For VxVM version 5.0 on AIX

The Monitor function changes the value of the VxVM noautoimport flag from off to on. It does this instead of taking the service group offline. This action allows VCS to maintain control of importing the disk group.

The following command changes the autoimport flag to false:

    # vxdg -g disk_group set autoimport=no

For VxVM version 4.0

Be aware that when you enable a disk group configured as a DiskGroup resource that does not have the noautoimport flag set to true, VCS forcibly deports the disk group. This may disrupt applications running on the disk group.

To explicitly set the noautoimport flag to true, deport the disk group and import it with the -t option as follows:

To deport the disk group, enter:

    # vxdg deport disk_group

To import the disk group, specifying the noautoimport flag be set to true to ensure the disk group is not automatically imported, enter:

    # vxdg -t import disk_group