Problem
This article discusses how to troubleshoot missing disks, foreign disks and unknown disk groups (Unknown Dg).
Solution
Table of Contents
1. Introduction2. Initial troubleshooting steps
3. Disks are not detected by Veritas
4. Disks are detected as "foreign"
5 . Problem has been determined to be outside of the scope of Veritas
1. Introduction
This article covers multiple causes that can result in disks in the Veritas Enterprise Administrator (VEA) console showing as Missing, Foreign, or Unknown. It also covers multiple troubleshooting steps that can be performed in hopes of narrowing down the cause and/or providing a solution.
(Back to top)Missing Disks
When VEA displays missing disks, it is possible that the disks are actually present, but they are being detected as foreign or basic disks instead. If VEA displays missing disks, look for any foreign or basic disks that may actually be the missing disks. Foreign disks will often appear under a disk group called "Unknown Dg," but they may show up under any disk group. There are also cases where the missing disks are indeed missing, and will not be detected by Veritas at all.
Foreign Disks
When VEA displays foreign disks, it means that the disks are detected but there is either a problem with the private region, or there is a problem reading the disk. It might also be possible that the disk cannot be written to such as read only or SCSI reserved disks. Missing and foreign disks often occur together. There is a great deal of overlap for the initial troubleshooting steps of these situations. For this reason, this article can be used as a general reference for troubleshooting both.
2. Initial Troubleshooting Steps
(Back to top)Before continuing review the following:
1. Know the exact number of disks that should be present. This information will assist with determining the nature of the problem. This number should be compared to the number of disks that are detected by the Microsoft Windows Device Manager, as well the Veritas Enterprise Administrator.
- Zoning changes: Verify that the HBAs (host bus adapters) for the affected server(s) have been included in the same zone as the disks.
- Masking: Verify that all the disks are masked to the correct HBA, especially when multipathing is used
- HBAs: Use the HBA management software to verify that the HBA settings are correct. Compare the settings for an affected server with a server that is not exhibiting problems (if present).
- Storage area network (SAN) hardware changes, such as HBAs, switches or disk arrays
- Changes to Multipathing settings
- Driver updates
- Firmware or Microcode updates
- Other Hardware changes
- Other Software installations
3. Verify that the configuration matches the Hardware Compatibility List (HCL). Information about reviewing the HCL can be obtained from Veritas SORT: https://sort.veritas.com
- From VEA, select the Actions drop down menu,and select Rescan.
5. In the case of cluster systems, verify the disk group is not imported on another node. It is possible that one node imports some of the disks in the disk group and another node imports the remainder. Both systems will then show missing disks. Deport the disk group on one of the nodes and rescan the other node.
6. Verify that there are no read errors, write errors, or other disk access errors on the server. Review the system event log for any messages logged by vxio during rescan or attempted imports. Typical messages at this point can point to issues accessing the disk due to SCSI reservations.
In many cases, missing and foreign disks appear as the result of a problem with multipathing. To rule this possibility out, disable all but one path to the disks. It is recommended that this step be taken early in the troubleshooting process before more drastic troubleshooting steps are attempted. It is particularly import to rule out multipathing issues as solutions taken below can make the issue worse.
Multipathing issues are usually apparent when:
- Microsoft Partition Manager driver (partmgr) is reporting that duplicate disks are seen in the system event viewer after a system restart.
- The disks making up a disk group keep changing between the disk group and the UnknownDG when rescanning.
- The number of disks on a system is a multiple of the number of paths. For example, if you expect 10 disks with 4 paths, but see 40 disks, then the multipathing driver has not claimed the disks as multipath disks.
b. Perform a rescan
c. Connect each path, one at a time, followed by a rescan. This will determine if the disks are being detected by the host down one path, but not the other paths.
3. Disks are Not Detected by Veritas
(Back to top)
This section may also be applied to cases where missing disks are listed, but the missing disks do not appear to correlate with any visible foreign or basic disks.
1. Verify that the disks are detected by the Operating System (OS). This can be done from the Windows Device Manager or by running Diskpart from a Windows command prompt.
2. Verify that the disks are detected by the HBA Management Software. Examples of HBA management software include:
- Emulex HBAnywhere
- QLogic Sansurfer
- IBM Navisphere
If either the HBA management software or Windows are unable to detect the disks, the issue lies outside the scope of Veritas for Windows (SFW). Both the HBA drivers and the Windows disk drivers reside below SFW. If the disks are not detected by either the Windows disk drivers or the HBA drivers, SFW will not detect the disks either.
Note: In some cases, the HBA management software may detect the disks even though neither Windows, nor SFW can detect the disks. This is possible because the HBA drivers reside at a lower layer than either the Windows disk driver or SFW. In this case, the HBA settings, firmware and drivers should be examined to determine why the disks are not being presented to the Windows disk drivers.
Review Section 6 for recommendations for situations where the problem has been determined to be outside the scope of Veritas.
b. If both Windows and the HBAs detect the disks, but SFW cannot, review the following:
ii. Verify that the latest maintenance packs or roll-up patches have been installed for SFW. Information about the latest patches can be obtained from Veritas SORT: https://sort.veritas.com
iii. Uninstall and reinstall SFW.
4. Disks are detected as Foreign
(Back to top)
This section may also be applied to cases where missing disks are listed, but the missing disks appear to correspond with disks that have been marked as foreign or basic.
1. Attempt to reactivate the disk
Sometimes a foreign status is caused due to a STALE or BAD-STATE status that has been set in the private region. Reactivating the disk can sometimes clear this flag and restore the disk to a healthy status.
a. Right-click on the disk.
b. Select Reactivate Disk.
2. Attempt a Merge Foreign disk operation.
This operation changes the disksetid of the foreign disk to match the disksetid of the other disks in the disk group.
b. Select Merge Foreign Disk.
To perform a replace disk operation, perform the following steps:
How to use VxCBR to back up and restore the disk group configuration, private region, of a Storage Foundation (tm) for Windows (SFW) dynamic disk group
https://www.veritas.com/support/en_US/article.100017781
5. Problem has been determined to be outside of the scope of Veritas
(Back to top)The following are recommendations for situations where the problem has been determined to be outside the scope of SFW: