Video Screencast Help

dgdebug Tool to Collect Info For Troubleshooting Diskgroup Import Failure

Created: 08 Dec 2009 • Updated: 09 Dec 2009 | 1 comment
Dev Roy's picture
0 0 Votes
Login to vote

In case of Disk Group failure due to the reasons listed below, you may try this tool prior to contacting Symantec Support.

What is dgdebug?
dgdebug is a tool for collecting info for debugging diskgroup import issue, targeting following 2 common error messages:

    * No valid disk found containing disk group
    * Disk group has no valid configuration copies

What does dgdebug collect?
dgdebug will collect:

    * VxVM Support information. Such as VxVM version, license, etc.
    * vxdisk information. Such as whether the disks used by the DG are all writeable or not; disks' format info, etc.
    * dumpconfig from each enabled config copy.
    * private region data from first 4 disks with enabled config copy.

The following is an example of the info it collects:
-rw-r--r--   1 root     other         54 Sep  8 11:39 DG.cfgdisks
-rw-r--r--   1 root     other        201 Sep  8 11:38 DG.disks
-rw-r--r--   1 root     other      12990 Sep  8 11:39 DG.dumpconfig
-rw-r--r--   1 root     other         14 Sep  8 11:39 DG.version
-rw-r--r--   1 root     other        124 Sep  8 11:39 DG.vxprint
-rw-r--r--   1 root     other       1014 Sep  8 11:38 HDS9500-ALUA0_0s7.list
-rw-r--r--   1 root     other    33554432 Sep  8 11:39 HDS9500-ALUA0_0s7.priv
-rw-r--r--   1 root     other        545 Sep  8 11:38 HDS9500-ALUA0_0s7.vtoc
-rw-r--r--   1 root     other       1014 Sep  8 11:39 HDS9500-ALUA0_4s7.list
-rw-r--r--   1 root     other    33554432 Sep  8 11:39 HDS9500-ALUA0_4s7.priv
-rw-r--r--   1 root     other        545 Sep  8 11:39 HDS9500-ALUA0_4s7.vtoc
-rw-r--r--   1 root     other       1014 Sep  8 11:39 HDS9500-ALUA0_5s7.list
-rw-r--r--   1 root     other    15360000 Sep  8 11:39 HDS9500-ALUA0_5s7.priv
-rw-r--r--   1 root     other        545 Sep  8 11:39 HDS9500-ALUA0_5s7.vtoc
-rw-r--r--   1 root     other        517 Sep  8 11:38 modinfo_vx
-rw-r--r--   1 root     other          0 Sep  8 11:39 no_cfg_diff_found
-rw-r--r--   1 root     other          0 Sep  8 11:39 no_disk_writing_issue_found
-rw-r--r--   1 root     other        512 Sep  8 11:38 volboot
-rw-r--r--   1 root     other         32 Sep  8 11:38 vxdctl_c_mode
-rw-r--r--   1 root     other        262 Sep  8 11:38 vxdctl_license
-rw-r--r--   1 root     other        182 Sep  8 11:38 vxdctl_support
-rw-r--r--   1 root     other       1274 Sep  8 11:38 vxdisk_alldgs
-rw-r--r--   1 root     other        900 Sep  8 11:38 vxdisk_s_list

How to run dgdebug?
[root@wgong]# ./dgdebug
Usage: ./dgdebug DiskGroupName

Example:
[root@wgong]# ./dgdebug gdg
Collecting VxVM support info ...

Collecting vxdisk info ...

Collecting dumpconfig from HDS9500-ALUA0_9 ...

Collecting private region data from HDS9500-ALUA0_9 ...
--------------------------------------------------------------------------

Comments 1 CommentJump to latest comment

wzis's picture

The version of the dgdebug tool attached in this article is out dated and should be removed.

0
Login to vote