Fixing Solaris Cluster device ID (DID) mismatches

I had to replace a disk in one of my cluster nodes, and was greeted with the following message once the disk was swapped and I checked the devices for consistency:

$ cldevice check

cldevice: (C894318) Device ID “snode2:/dev/rdsk/c1t0d0” does not match physical device ID for “d5”. Warning: Device “snode2:/dev/rdsk/c1t0d0” might have been replaced.

To fix this issue, I used the cldevice utilities repair option:

$ cldevice repair
Updating shared devices on node 1 Updating shared devices on node 2

Once the repair operation updated the devids, cldevice ran cleanly:

$ cldevice check


This article was posted by Matty on 2009-03-23 23:01:00 -0400 EDT