"ERROR V-5-1-10978 Disk group dgname: import failed: Record not in disk group" appears when importing a disk group

book

Article ID: 100032958

calendar_today

Updated On:

Description

Error Message

VxVM vxdg ERROR V-5-1-10978 Disk group 1470910909.267.bcrmispdb01: import failed: Record not in disk group

Cause

There is a limitation of 31 characters for a diskgroup name.

Resolution

Ensure that the diskgroup name contains no more than 31 characters.

Example: Figure 1 shows that all of the disks are valid and exist. But when trying to import the diskgroup with a new name, it fails.


Figure 1
# vxdisk -eo alldgs list | grep isp_db2onlinebkpdg
xiv0_2551    auto:cdsdisk   -            (isp_db2onlinebkpdg) online thinrclm udid_mismatch c5t0d6 tprclm RAID_10
xiv0_2552    auto:cdsdisk   -            (isp_db2onlinebkpdg) online thinrclm udid_mismatch c5t0d7 tprclm RAID_10
xiv0_2553    auto:cdsdisk   -            (isp_db2onlinebkpdg) online thinrclm udid_mismatch c5t1d0 tprclm RAID_10
xiv0_2554    auto:cdsdisk   -            (isp_db2onlinebkpdg) online thinrclm udid_mismatch c5t1d1 tprclm RAID_10.
xiv0_2555    auto:cdsdisk   -            (isp_db2onlinebkpdg) online thinrclm udid_mismatch c5t1d2 tprclm RAID_10.

# vxdisk listtag
DEVICE          NAME                            VALUE                              
xiv0_2551       cv_disk184                      -
xiv0_2552       cv_disk184                      -
xiv0_2553       cv_disk184                      -
xiv0_2554       cv_disk184                      -
xiv0_2555       cv_disk184                      -
#

# vxdisk list xiv0_2551 | grep ^group
group:     name=isp_db2onlinebkpdg id=1470910909.267.bcrmispdb01

# vxdg -fC -n cv_isp_db2onlinebkpdg_1472182723 -o useclonedev=on -o tag=cv_disk184 -o updateid import 1470910909.267.bcrmispdb01
VxVM vxdg ERROR V-5-1-10978 Disk group 1470910909.267.bcrmispdb01: import failed:
Record not in disk group
#



The new diskgroup name "cv_isp_db2onlinebkpdg_1472182723" is 32 characters long. This exceeds the maximum characters limit.

After reducing the size of the name to 31 characters ("cv_isp_db2onlinebkpdg_012345678") the diskgroup is successfully imported (Figure 2).


Figure 2
# vxdg -fC -n cv_isp_db2onlinebkpdg_012345678 -o useclonedev=on -o tag=cv_disk184 -o updateid import 1470910909.267.bcrmispdb01

# vxdisk -eo alldgs list | grep cv_isp_db2onlinebkpdg_012345678
xiv0_2551    auto:cdsdisk   isp_db2onlinebkpdg01  cv_isp_db2onlinebkpdg_012345678 online thinrclm      c5t0d6           tprclm RAID_10
xiv0_2552    auto:cdsdisk   isp_db2onlinebkpdg03  cv_isp_db2onlinebkpdg_012345678 online thinrclm      c5t0d7           tprclm RAID_10
xiv0_2553    auto:cdsdisk   isp_db2onlinebkpdg02  cv_isp_db2onlinebkpdg_012345678 online thinrclm      c5t1d0           tprclm RAID_10
xiv0_2554    auto:cdsdisk   isp_db2onlinebkpdg04  cv_isp_db2onlinebkpdg_012345678 online thinrclm      c5t1d1           tprclm RAID_10
xiv0_2555    auto:cdsdisk   isp_db2onlinebkpdg05  cv_isp_db2onlinebkpdg_012345678 online thinrclm      c5t1d2           tprclm RAID_10
#

Issue/Introduction

Attempting to import a diskgroup returns "ERROR V-5-1-10978," despite the presence of all of the disks.