"VxVM vxdisk ERROR V-5-1-558 Disk -: Disk not in the configuration" is reported by the CoordPoint agent

book

Article ID: 100033508

calendar_today

Updated On:

Description

Error Message

VCS engine_A.log:
2017/01/12 01:30:26 VCS INFO V-16-2-13716 (sys01) Resource(coordpoint): Output of the completed operation (monitor)
==============================================
VxVM vxdisk ERROR V-5-1-558 Disk -: Disk not in the configuration
==============================================

The error message is exactly same as the following:
# vxdisk list -
VxVM vxdisk ERROR V-5-1-558 Disk -: Disk not in the configuration

Cause

The disk name is the first column of the vxdisk list output. if there is any failed disk, the disk name becomes "-" (a hyphen).
# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
disk_1          auto:cdsdisk    sde          dg01          online
...
-            -         disk2 dg01     failed was:dg01-2


The CoordPoint monitor script runs the command vxdisk list :
monitor
-----------
104         @vxdisk = split(/\n/, `$VXDISK list`);  
<<<  # vxdisk list
105         shift @vxdisk;
106         foreach $line (@vxdisk) {
107                 @id = split(/\s+/, $line);
108                 $daname = $id[0];  <<< first column of list of vxdisk.
109                 @disk_info = split(/\n/, `$VXDISK -p list $daname`);  <<< # vxdisk list -

 

Resolution

This is a cosmetic issue. The CoordPoint monitor did not check the failed disk, or invalid disk name. The issue can be resolved by fixing the failed disk. VCS 7.0, and above, does not have this issue as it does not use the vxdisk list command.

Issue/Introduction

The CoordPoint agent, in (VCS) Veritas Cluster Server 6.x, shows a vxdisk error when the disk fails. The error message happens while running the vxdisk list command to collect UDIDs, but it has no impact on VCS functionality.