Operating System - HP-UX
1748163 Members
3893 Online
108758 Solutions
New Discussion

how to verify disk identity in jbod

 
Dave Chamberlin
Trusted Contributor

how to verify disk identity in jbod

I used to use dd command to test a disk using the legacy addresses (cxtydz). I have jbods with disks configured with the agile naming (under hp-ux 11.31) .  How do I physically identify a disk using the newer agile naming? Also is there a way to correlate the legacy to agile devices? I have done an ioscan (with -fnC and -fnNC) - and the disk numbers and addresses are different. Thanks

 

 

P.S. This thread has been moved from Storage > General to HP-UX > sysadmin. - HP Forum Moderator

6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: how to verify disk identity in jbod

What JBOD model do you have?

 

Let's start with

 

# model

 

# ioscan -fn

 

# ioscan -fnN

 

# ioscan -m dsf

 


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dave Chamberlin
Trusted Contributor

Re: how to verify disk identity in jbod

Model is DS2405. Here is the output from those ioscans - I think you already answered part of my question with the

-m option of ioscan - this appears to compare the two. Is there a way then to physically identify disk 85?  Thanks

 

 

ioscan (fnC): (part of it...)

Class     I  H/W Path     Driver S/W State   H/W Type     Description

=====================================================================

disk     67  0/3/1/0.8.0.255.0.0.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                         /dev/dsk/c6t0d0   /dev/rdsk/c6t0d0

disk     68  0/3/1/0.8.0.255.0.1.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                         /dev/dsk/c6t1d0   /dev/rdsk/c6t1d0

disk     74  0/3/1/0.8.0.255.0.2.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                         /dev/dsk/c6t2d0   /dev/rdsk/c6t2d0

disk     73  0/3/1/0.8.0.255.0.3.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                         /dev/dsk/c6t3d0   /dev/rdsk/c6t3d0

disk     70  0/3/1/0.8.0.255.0.4.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                         /dev/dsk/c6t4d0   /dev/rdsk/c6t4d0

disk     69  0/3/1/0.8.0.255.0.5.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                         /dev/dsk/c6t5d0   /dev/rdsk/c6t5d0

disk     72  0/3/1/0.8.0.255.0.6.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                         /dev/dsk/c6t6d0   /dev/rdsk/c6t6d0

disk     71  0/3/1/0.8.0.255.0.7.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                         /dev/dsk/c6t7d0   /dev/rdsk/c6t7d0

disk     75  0/3/1/0.8.0.255.0.8.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                         /dev/dsk/c6t8d0   /dev/rdsk/c6t8d0

disk     76  0/3/1/0.8.0.255.0.9.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                         /dev/dsk/c6t9d0   /dev/rdsk/c6t9d0

disk     77  0/3/1/0.8.0.255.0.10.0  sdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                         /dev/dsk/c6t10d0   /dev/rdsk/c6t10d0

disk     78  0/3/1/0.8.0.255.0.11.0  sdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                         /dev/dsk/c6t11d0   /dev/rdsk/c6t11d0

disk     79  0/3/1/0.8.0.255.0.12.0  sdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                         /dev/dsk/c6t12d0   /dev/rdsk/c6t12d0

disk     12  0/3/1/1.8.0.255.1.0.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                         /dev/dsk/c4t0d0   /dev/rdsk/c4t0d0

disk      6  0/3/1/1.8.0.255.1.1.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                         /dev/dsk/c4t1d0   /dev/rdsk/c4t1d0

disk     16  0/3/1/1.8.0.255.1.2.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                         /dev/dsk/c4t2d0   /dev/rdsk/c4t2d0

disk     18  0/3/1/1.8.0.255.1.3.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                         /dev/dsk/c4t3d0   /dev/rdsk/c4t3d0

disk     19  0/3/1/1.8.0.255.1.4.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                         /dev/dsk/c4t4d0   /dev/rdsk/c4t4d0

disk     11  0/3/1/1.8.0.255.1.5.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                         /dev/dsk/c4t5d0   /dev/rdsk/c4t5d0

disk     20  0/3/1/1.8.0.255.1.6.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                         /dev/dsk/c4t6d0   /dev/rdsk/c4t6d0

disk     13  0/3/1/1.8.0.255.1.7.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                         /dev/dsk/c4t7d0   /dev/rdsk/c4t7d0

disk     14  0/3/1/1.8.0.255.1.8.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                         /dev/dsk/c4t8d0   /dev/rdsk/c4t8d0

disk     17  0/3/1/1.8.0.255.1.9.0   sdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                         /dev/dsk/c4t9d0   /dev/rdsk/c4t9d0

disk      7  0/3/1/1.8.0.255.1.10.0  sdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                         /dev/dsk/c4t10d0   /dev/rdsk/c4t10d0

disk      8  0/3/1/1.8.0.255.1.11.0  sdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                         /dev/dsk/c4t11d0   /dev/rdsk/c4t11d0

disk     15  0/3/1/1.8.0.255.1.12.0  sdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                         /dev/dsk/c4t12d0   /dev/rdsk/c4t12d0

disk      9  0/3/1/1.8.0.255.1.13.0  sdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                         /dev/dsk/c4t13d0   /dev/rdsk/c4t13d0

disk     10  0/3/1/1.8.0.255.1.14.0  sdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                         /dev/dsk/c4t14d0   /dev/rdsk/c4t14d0

 

ioscan (fnNC): (part of it)

Class     I  H/W Path  Driver S/W State   H/W Type     Description

===================================================================

disk     54  64000/0xfa00/0x18  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk54   /dev/rdisk/disk54

disk     55  64000/0xfa00/0x19  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk55   /dev/rdisk/disk55

disk     56  64000/0xfa00/0x1a  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk56   /dev/rdisk/disk56

disk     57  64000/0xfa00/0x1b  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk57   /dev/rdisk/disk57

disk     58  64000/0xfa00/0x1c  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk58   /dev/rdisk/disk58

disk     59  64000/0xfa00/0x1d  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk59   /dev/rdisk/disk59

disk     61  64000/0xfa00/0x1f  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk61   /dev/rdisk/disk61

disk     62  64000/0xfa00/0x20  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk62   /dev/rdisk/disk62

disk     63  64000/0xfa00/0x21  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk63   /dev/rdisk/disk63

disk     65  64000/0xfa00/0x22  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk65   /dev/rdisk/disk65

disk     66  64000/0xfa00/0x23  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk66   /dev/rdisk/disk66

disk     80  64000/0xfa00/0x25  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk80   /dev/rdisk/disk80

disk     81  64000/0xfa00/0x26  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk81   /dev/rdisk/disk81

disk     82  64000/0xfa00/0x27  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk82   /dev/rdisk/disk82

disk     83  64000/0xfa00/0x28  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk83   /dev/rdisk/disk83

disk     84  64000/0xfa00/0x29  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk84   /dev/rdisk/disk84

disk     85  64000/0xfa00/0x2a  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk85   /dev/rdisk/disk85

disk     86  64000/0xfa00/0x2b  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk86   /dev/rdisk/disk86

disk     87  64000/0xfa00/0x2c  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk87   /dev/rdisk/disk87

disk     88  64000/0xfa00/0x2d  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk88   /dev/rdisk/disk88

disk     89  64000/0xfa00/0x2e  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk89   /dev/rdisk/disk89

disk     90  64000/0xfa00/0x2f  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk90   /dev/rdisk/disk90

disk     91  64000/0xfa00/0x30  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk91   /dev/rdisk/disk91

disk     92  64000/0xfa00/0x31  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk92   /dev/rdisk/disk92

disk    108  64000/0xfa00/0x33  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk108   /dev/rdisk/disk108

disk    109  64000/0xfa00/0x34  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk109   /dev/rdisk/disk109

disk    110  64000/0xfa00/0x35  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk110   /dev/rdisk/disk110

disk    111  64000/0xfa00/0x36  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk111   /dev/rdisk/disk111

disk    112  64000/0xfa00/0x37  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk112   /dev/rdisk/disk112

disk    113  64000/0xfa00/0x38  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk113   /dev/rdisk/disk113

disk    114  64000/0xfa00/0x39  esdisk   CLAIMED     DEVICE       HP 36.4GST336753FC

                      /dev/disk/disk114   /dev/rdisk/disk114

disk    115  64000/0xfa00/0x3a  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk115   /dev/rdisk/disk115

disk    116  64000/0xfa00/0x3b  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk116   /dev/rdisk/disk116

disk    117  64000/0xfa00/0x3c  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk117   /dev/rdisk/disk117

disk    118  64000/0xfa00/0x3d  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk118   /dev/rdisk/disk118

disk    119  64000/0xfa00/0x3e  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk119   /dev/rdisk/disk119

disk    120  64000/0xfa00/0x3f  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk120   /dev/rdisk/disk120

disk    121  64000/0xfa00/0x40  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk121   /dev/rdisk/disk121

disk    122  64000/0xfa00/0x41  esdisk   CLAIMED     DEVICE       HP 36.4GST336752FC

                      /dev/disk/disk122   /dev/rdisk/disk122

 

ioscan (-m dsf):

Persistent DSF           Legacy DSF(s)

========================================

/dev/pt/pt1              /dev/rscsi/c4t15d0

/dev/pt/pt3              /dev/rscsi/c5t15d0

/dev/rdisk/disk3         /dev/rdsk/c2t0d0

/dev/rdisk/disk4         /dev/rdsk/c2t1d0

/dev/pt/pt5              /dev/rscsi/c6t15d0

/dev/pt/pt7              /dev/rscsi/c7t15d0

/dev/rdisk/disk21        /dev/rdsk/c4t1d0

/dev/rdisk/disk22        /dev/rdsk/c4t10d0

/dev/rdisk/disk23        /dev/rdsk/c4t11d0

/dev/rdisk/disk24        /dev/rdsk/c4t13d0

/dev/rdisk/disk25        /dev/rdsk/c4t14d0

/dev/rdisk/disk26        /dev/rdsk/c4t5d0

/dev/rdisk/disk27        /dev/rdsk/c4t0d0

/dev/rdisk/disk28        /dev/rdsk/c4t7d0

/dev/rdisk/disk29        /dev/rdsk/c4t8d0

/dev/rdisk/disk30        /dev/rdsk/c4t12d0

/dev/rdisk/disk31        /dev/rdsk/c4t2d0

/dev/rdisk/disk32        /dev/rdsk/c4t9d0

/dev/rdisk/disk33        /dev/rdsk/c4t3d0

/dev/rdisk/disk34        /dev/rdsk/c4t4d0

/dev/rdisk/disk35        /dev/rdsk/c4t6d0

/dev/rdisk/disk50        /dev/rdsk/c5t6d0

/dev/rdisk/disk51        /dev/rdsk/c5t7d0

/dev/rdisk/disk52        /dev/rdsk/c5t12d0

/dev/rdisk/disk53        /dev/rdsk/c5t13d0

/dev/rdisk/disk54        /dev/rdsk/c5t5d0

/dev/rdisk/disk55        /dev/rdsk/c5t8d0

/dev/rdisk/disk56        /dev/rdsk/c5t11d0

/dev/rdisk/disk57        /dev/rdsk/c5t14d0

/dev/rdisk/disk58        /dev/rdsk/c5t1d0

/dev/rdisk/disk59        /dev/rdsk/c5t4d0

/dev/rdisk/disk61        /dev/rdsk/c5t9d0

/dev/rdisk/disk62        /dev/rdsk/c5t10d0

/dev/rdisk/disk63        /dev/rdsk/c5t2d0

/dev/rdisk/disk65        /dev/rdsk/c5t0d0

/dev/rdisk/disk66        /dev/rdsk/c5t3d0

/dev/rdisk/disk80        /dev/rdsk/c6t0d0

/dev/rdisk/disk81        /dev/rdsk/c6t1d0

/dev/rdisk/disk82        /dev/rdsk/c6t5d0

/dev/rdisk/disk83        /dev/rdsk/c6t4d0

/dev/rdisk/disk84        /dev/rdsk/c6t7d0

/dev/rdisk/disk85        /dev/rdsk/c6t6d0

/dev/rdisk/disk86        /dev/rdsk/c6t3d0

/dev/rdisk/disk87        /dev/rdsk/c6t2d0

/dev/rdisk/disk88        /dev/rdsk/c6t8d0

/dev/rdisk/disk89        /dev/rdsk/c6t9d0

/dev/rdisk/disk90        /dev/rdsk/c6t10d0

/dev/rdisk/disk91        /dev/rdsk/c6t11d0

/dev/rdisk/disk92        /dev/rdsk/c6t12d0

/dev/rdisk/disk108       /dev/rdsk/c7t0d0

/dev/rdisk/disk109       /dev/rdsk/c7t1d0

/dev/rdisk/disk110       /dev/rdsk/c7t2d0

/dev/rdisk/disk111       /dev/rdsk/c7t4d0

/dev/rdisk/disk112       /dev/rdsk/c7t8d0

/dev/rdisk/disk113       /dev/rdsk/c7t11d0

/dev/rdisk/disk114       /dev/rdsk/c7t12d0

/dev/rdisk/disk115       /dev/rdsk/c7t13d0

/dev/rdisk/disk116       /dev/rdsk/c7t10d0

/dev/rdisk/disk117       /dev/rdsk/c7t9d0

/dev/rdisk/disk118       /dev/rdsk/c7t7d0

/dev/rdisk/disk119       /dev/rdsk/c7t14d0

/dev/rdisk/disk120       /dev/rdsk/c7t6d0

/dev/rdisk/disk121       /dev/rdsk/c7t5d0

/dev/rdisk/disk122       /dev/rdsk/c7t3d0

Robert_Jewell
Honored Contributor

Re: how to verify disk identity in jbod

 Is there a way then to physically identify disk 85?

 

With the ds2405 its a bit tricky.   I have attached a ref document I had put together some time ago.  Not sure of the source material anymore and its a bit dated (pre 11iv3), but should still help.

 

Look at the legacy H/W path first.

 

For disk85 this is:  0/3/1/0.8.0.255.0.6.0

 

The two digits after the .255 represent the bus ID and the target ID respectively.  The physical location mapping is dependent on the enclosure ID setting of the ds2405.   I *think* this directly represents the bus ID in the H/W path (shown 0 here).   You can check physically or with STM.  That would make ID 6 located in disk slot 7 according to the chart in the document.

 

-Bob

 

----------------
Was this helpful? Like this post by giving me a thumbs up below!
Torsten.
Acclaimed Contributor

Re: how to verify disk identity in jbod

Looks like more than 1 DS2405.

 

How many "A6255A" do you see in ioscan?

 

[cstm related stuff deleted, not available in 11.31}

 

 

>> For disk85 this is:  0/3/1/0.8.0.255.0.6.0

 

Agreed.

 

 

To verify, make the disk next to the disk in question "glow".

 

# dd if=/dev/rdsk/c6t5d0 of=/dev/null bs=1024k

 

you will see the green LED on the left disk next to slot 7 blinking on (I don't do this with disk in slot 7, because it may not work with a defective disk).

 

 

 

After replacing the disk run "ioscan" - you will see the disk still as "NO_HW". Take a look into syslog, you will find a message to use "scsimgr replace_wwid" now.

 

Important: before replacing the disk use

 

# pvchange -a N /dev/disk/disk85

 

otherwise you cannot do a "vgcfgrestore".


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: how to verify disk identity in jbod

[deleted]


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor

Re: how to verify disk identity in JBOD

>I think "A6255A" is the number

 

If you're now sure, you should edit your post and delete the other.