Sun Cluster Concepts Guide for Solaris OS

Using the cldevice Command to Monitor and Administer Disk Paths

The cldevice command enables you to perform the following tasks:

Issue the cldevice command with the disk path argument from any active node to perform DPM administration tasks on the cluster. The disk path argument consists of a node name and a disk name. The node name is not required. If you do not specify a node name, all nodes are affected by default. The following table describes naming conventions for the disk path.


Note –

Always specify a global disk path name rather than a UNIX disk path name because a global disk path name is consistent throughout a cluster. A UNIX disk path name is not. For example, the disk path name can be c1t0d0 on one node and c2t0d0 on another node. To determine a global disk path name for a device that is connected to a node, use the cldevice list command before issuing DPM commands. See the cldevice(1CL) man page.


Table 3–3 Sample Disk Path Names

Name Type 

Sample Disk Path Name 

Description 

Global disk path  

schost-1:/dev/did/dsk/d1

Disk path d1 on the schost-1 node

 

all:d1

Disk path d1 on all nodes in the cluster

UNIX disk path  

schost-1:/dev/rdsk/c0t0d0s0

Disk path c0t0d0s0 on the schost-1 node

 

schost-1:all

All disk paths on the schost-1 node

All disk paths 

all:all

All disk paths on all nodes of the cluster