Error Code details
V-5-2-2400
Severity: Error 
Component: Volume Manager 
Message:
Duplicate DA records encountered for this device

 

Veritas solutions
Solution 1 Vote: [Useful] [Not useful]
Last Modified: 2008-12-04 10:07:56
Platform: Solaris 10 (SPARC), Solaris 10 (x86-64)
Release: Generic
Content:
This may occur if a disk has been replaced in a Sun StorEdgeTM A5x00 (or similar) array without using the luxadm command to notify the operating system. Duplicated disk access record entries similar to the following appear in the output from the vxdisk list command:

c1t5d0s2 sliced c1t5d0s2 - error c1t5d0s2 sliced c1t5d0s2 - online|error

The status of the second entry may be online or error.

    To correct the problem

  1. Use the following command for each of the duplicated disk access names to remove them all from VxVM control:

    # vxdisk rm daname

    Run the vxdisk list command to ensure that you have removed all entries for the disk access name.

  2. Use the Solaris luxadm command to obtain the A5K array name and slot number of the disk, and then use these with luxadm to remove the disk:

    # luxadm disp /dev/rdsk/daname # luxadm remove_device array_name,slot_number

  3. Pull out the disk as instructed to by luxadm.

  4. Run the following commands:

    # devfsadm -C # vxdctl enable

    This completes the removal of device entries corresponding to the physical disk.

  5. As in step , run the vxdisk list and vxdisk rm commands to list any remaining entries for the disk access name and remove these from VxVM control.

  6. Use the following luxadm command to take the disk offline on all the paths to it. The following example shows how to take a disk offline that is connected to controllers c1 and c2:

    # luxadm -e offline /dev/dsk/c1t5d0s2 # luxadm -e offline /dev/dsk/c2t5d0s2

  7. Repeat step and step until no entries remain for the disk in the output from vxdisk list. This completes the removal of stale device entries for the disk from VxVM.

  8. Finally, replace the failed or removed disk.

    See the Veritas Volume Manager Administrator's Guide.