Recovering from errors when you exclude or include paths to DMP

You can exclude a path from DMP with the vxdmpadm exclude command. You can return a previously excluded path to DMP control with the vxdmpadm include command. These commands use the vxvm.exclude file to store the excluded paths. The include path and exclude path operations cannot complete successfully if the vxvm.exclude file is corrupted.

The following error displays if the vxvm.exclude file is corrupted:

# vxdmpadm exclude ctlr=fscsi3
VxVM vxdmpadm ERROR V-5-1-3996  File not in correct format

DMP saves the corrupted file with the name vxvm.exclude.corrupt. DMP creates a new vxvm.exclude file. You must manually recover from this situation.

To recover from a corrupted exclude file

  1. Reissue the vxdmpadm include command or the vxdmpadm exclude command that displayed the error.
    # vxdmpadm exclude ctlr=fscsi3
  2. View the saved vxvm.exclude.corrupt file to find any entries for the excluded paths that are relevant.
    # cat /etc/vx/vxvm.exclude
    
    exclude_all 0
    paths
    #
    controllers
    fscsi3 46-T1-01_3
    #
    product
    #
    pathgroups
    #
  3. Reissue the vxdmpadm exclude command for the paths that you noted in step 2.
    # vxdmpadm exclude ctlr=c4
  4. Verify that the excluded paths are in the vxvm.exclude file.
    # cat /etc/vx/vxvm.exclude
    
    exclude_all 0
    paths
    #
    controllers
    fscsi3 46-T1-01_3
    #
    product
    #