Import diskgroup failing after running updateudid

book

Article ID: 100021266

calendar_today

Updated On:

Description

Error Message

VxVM vxdg ERROR V-5-1-10978 Disk group : import failed:
Disk group has no valid configuration copies

Cause

The issue is likely seen due to issue explained in udid_mismatch state in Volume manager

Resolution

Below steps can be performed to resolve the import issue
 
1) Rebuilt the diskgroup configuration
 
/etc/vx/diag.d/vxprivutil dumpconfg /dev/rdsk/s2 |vxprint -D - -mvphsr > /dumpconfig-1.out
 
vxdisk -f init privoffset=<> privlen=<> puboffset=<> publen=<>
 
vxdg init =
 
vxdg -g adddisk dmnaem=
 
vxmake -g -d /dumpconfig-1.out
 
 
2) Repair the Disabled Empty plex/s.
 
vxmend -g -o force off
 
vxmend -g on
 
vxmend -g fix clean
 
 
3) Now start the volumes, and then mount volumes.
 
vxvol -g start
 
 
4) Run fsck for the volumes
 
fsck -F vxfs /dev/rdsk//
 
 
5) Finally mount the volumes
 
mount -F vxfs /dev/vx/dsk//
 
 

 

 

Issue/Introduction

There can be instances wherein attempting to import the diskgroup after running updateudid, the import operation would fail.