SUMMARY: Mapping diskname to A5000

From: Rasana Atreya (rasana_atreya@hotmail.com)
Date: Wed Dec 22 1999 - 16:24:55 CST


Hi,

I asked how to map a disk to a position on the A5000 disk array.

My thanks to all of the following:

Keating, Peter <PKeating@mits.com.au
Edan Idzerda <edan@mtu.edu>
Bliss, Kevin <Kevin.Bliss@nike.com>
JKennedy@Claritas.Com
Gurdeep Dhindsa <gurdeep@home.com>
The Wizard <markea@earthlink.net>
Whiffen, Richard <whiffen@ici.org>
Schave, Jeff <jeff.schave@tdstelecom.com>

I'm illustrating all possible permutations with an example below:

If this is the message from /var/adm/messages:
       WARNING: /pci@4,4000/SUNW,ifp@4/ssd@w2100002037143e55,0 (ssd15)
                                            ^^^^^^^^^^^^^^^^^

To map to controller and target number
--------------------------------------
# format
      13. c2t18d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
          /pci@4,4000/SUNW,ifp@4/ssd@w2100002037143e55,0

Now we know ssd@w2100002037143e55,0 maps to c2t18d0.

To map this to a veritas disk
-----------------------------
# vxdisk list
c2t18d0s2 sliced disk01 diskgrp-name online

To get the name of the array
----------------------------
# luxadm probe
Found Enclosure(s):
SENA Name:RAIDNAME Node WWN:123456789
  Logical Path:/dev/es/ses0
  Logical Path:/dev/es/ses1

To map the disk to a position on the A5000
------------------------------------------
Use the RAIDNAME from above:

# luxadm display RAIDNAME

SLOT FRONT DISKS (Node WWN) REAR DISKS (Node WWN)
2 On (O.K.) 200000203714012a On (O.K.)
2000002037143e55

By searching for the last 5 or so numbers (43e55) on the wwn (world wide
name), we see the disk we're looking for is in the rear in slot 2.

To map position on A5000 to disk name
-------------------------------------
# luxadm display RAIDNAME,r2
  /dev/rdsk/c2t18d0s2
  /devices/pci@4,4000/SUNW,ifp@4/ssd@w2100002037143e55,0:c,raw

i.e. 'luxadm disp RAIDNAME,f[0-7]' or 'luxadm disp RAIDNAME,r[0-7]'

To map disk name to wwn name and array name
-------------------------------------------
# luxadm display /dev/rdsk/c2t2d0s2

To map disk name to wwn
-----------------------
# ls -l /dev/rdsk/c2t2d0s2
lrwxrwxrwx 1 root root 65 Dec 20 20:15 /dev/rdsk/c2t2d0s2 ->
../../devices/pci@4,4000/SUNW,ifp@4/ssd@w210000203714012a,0:c,raw
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:35 CDT