Disk group cannot be imported by VCS: VxVM vxdg ERROR V-5-1-10978 Disk group <dg_name> : import failed: No valid disk found containing disk group

book

Article ID: 100025027

calendar_today

Updated On:

Description

Error Message

VxVM vxdg ERROR V-5-1-10978 Disk group : import failed: No valid disk found containing disk group

Cause

/etc/vx/vxdmp.exclude and/or /etc/vx/vxvm.exclude are populated with incorrect entries, excluding paths that should be accessed.

For example:

# cat etc/vx/vxdmp.exclude

exclude_all 0

paths....sdae /dev/sdae <<< HERE

In this case, vxdnmp.exclude is preventing access to the wrong device

 

Resolution

Using vxdmpinq/vxscsinq to check the disk S/N and prove that hitachi_usp-v0_04a1 and sdae point to the same device

Check the /etc/vx/vxdmp.exclude and /etc/vx/vxvm.exclude: if the issue is with these files, proceed with the following steps.

1 - edit /etc/vx/vxdmp.exclude and remove all excluded paths, file must look like the following:

# cat /etc/vx/vxdmp.exclude

exclude_all 0

paths
#
controllers
#
product
#
pathgroups
#

2 - move the following files

# mv /etc/vx/disk.info /etc/vx/disk.info.old
# mv /etc/vx/array.info /etc/vx/array.info.old

3 - remove everything under the dmp tree:

# rm -rf /dev/vx/dmp/*

4 - reboot the system

If you cannot reboot, you can follow the above procedure until step 3 and then run:

4a - freeze each service group running on system

# hagrp -freeze

5 - refresh VXVM configuration:

# vxdctl enable

6 - Unfreeze each service group :

# hagrp -unfreeze

 

Applies To

All devices building the affected disk group are reported twice in vxdisk list.
For example:

# vxdisk -o alldgs list |grep dgko

DEVICE TYPE DISK GROUP STATUS....

hitachi_usp-v0_04a1 auto:cdsdisk - (dgko) online thinrclm <<< HERE

sdae auto:cdsdisk - (dgko) online thinrclm <<< HERE

The disk group dgko is built from a single device, but vxdisk list reports duplicate entries with a different naming scheme.

Issue/Introduction

Disk group cannot be imported by VCS even if vxdisk list shows all disks as online and the disk group as deported.