Problem
For disks that are a part of Veritas Dynamic Diskgroup, some of the disks in the diskgroup report as Missing. An UnknownDg is seen in Veritas Enterprise Administrator (VEA) that contains a list of disks reporting as Foreign.
An attempt to perform a "Merge Foreign Disk" fails
Error Message
Attempting a "Merge Foreign Disk" from VEA, would give below error
Cause
The disks reporting as Foreign are write protected.
Solution
1. Confirm that the disks are actually write protected.
To do so, run the SCSICMD tool (https://www.veritas.com/support/en_US/article.100021389) as below
scsicmd -d<harddiskno> -sscsi_reserved_status
Eg: If Harddisk21 is reporting as Foreign and the above error occurs when trying a "Merge Foreign Disk" operation, the SCSICMD command will be
scsicmd -d21 -sscsi_reserved_status.
Below is the output to confirm it is write protected.
2. The issue stands outside Veritas scope and would need Storage team to be engaged to remove the write protection.
3. Once write-protection is removed, attempt a "Merge Foreign Disk " operation again and it should now complete.