Friday, October 12, 2012

Solaris 10: Find LUN id

Step 1. Use format command to find your disk.

      12. c4t60060480000190105493533033443843d0 <EMC-SYMMETRIX-5773 cyl 65533 alt 2 hd 120 sec 269>
          /scsi_vhci/ssd@g60060480000190105493533033443843

Step 2. Find Logical Path of the disk

# luxadm probe|grep c4t60060480000190105493533033443843d0
    Logical Path:/dev/rdsk/c4t60060480000190105493533033443843d0s2

Step 3. Get Device Address
# luxadm display /dev/rdsk/c4t60060480000190105493533033443843d0s2
DEVICE PROPERTIES for disk: /dev/rdsk/c4t60060480000190105493533033443843d0s2
  Vendor:               EMC    
  Product ID:           SYMMETRIX      
  Revision:             5773
  Serial Num:           105493"R0
  Unformatted capacity: 1035787.500 MBytes
  Read Cache:           Enabled
    Minimum prefetch:   0x0
    Maximum prefetch:   0xffff
  Device Type:          Disk device
  Path(s):
  /dev/rdsk/c4t60060480000190105493533033443843d0s2
  /devices/scsi_vhci/ssd@g60060480000190105493533033443843:c,raw
   Controller           /devices/pci@500/pci@0/pci@9/SUNW,qlc@0/fp@0,0
    Device Address              50060482d531e552,335    Host controller port WWN    21000024ff3019ea
    Class                       primary
    State                       ONLINE
   Controller           /devices/pci@500/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0
    Device Address              50060482d531e558,335    Host controller port WWN    21000024ff3019eb
    Class                       primary
    State                       ONLINE

No comments:

Post a Comment