Operating System - HP-UX
1753322 Members
6205 Online
108792 Solutions
New Discussion юеВ

Re: SCSI ID's and Hardware Path

 
SOLVED
Go to solution
Rainer von Bongartz
Honored Contributor

SCSI ID's and Hardware Path

I want to include a new disk in my K-360 server, so I have to jumper to a not-used SCSI-ID.

looking at ioscan -fnC disk I see the disks already installed, but can I determine the SCSI-ID from this output ??.

I guess the HW-PATH gives this info but I am not sure.

disk 0 10/0.4.0 sdisk CLAIMED DEVICE SEAGATE...
disk 1 10/0.5.0 sdisk CLAIMED DEVICE SEAGATE...
disk 2 10/0.6.0 sdisk CLAIMED DEVICE SEAGATE...

Does this mean my installed disks have SCSI-ID's 4,5 and 6

Thank in advance

 

 

P.S. This thread has been moevd from Disk to HP-UX > sysadmin. - Hp Forum Moderator

He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
3 REPLIES 3
Mark van Hassel
Respected Contributor

Re: SCSI ID's and Hardware Path

Hi,

You are correct, the 4, 5 and 6 are the SCSI ids. 10/0 is the bus address.
The surest sign that life exists elsewhere in the universe is that none of it has tried to contact us
Bill McNAMARA_1
Honored Contributor
Solution

Re: SCSI ID's and Hardware Path

Yes exactly, SCSI ID, 4, 5, 6 are present.
As disks.
There is also a 7 which is your initiator but shows up not in class (first colum) disk but as sctl.

disk 0 10/0.4.0 sdisk CLAIMED DEVICE SEAGATE...
disk 1 10/0.5.0 sdisk CLAIMED DEVICE SEAGATE...
disk 2 10/0.6.0 sdisk CLAIMED DEVICE SEAGATE...

You should do an
ioscan -fnkH10/0

You will find that
ext_bus 3 10/0
is the bus identifier
ie: c3 in your device file
the 3 may be something else depending on how many ext_bus 'es were found before that one.

the SCSI ids show up as class tgt
ext_bus 3 10/0
tgt 0 10/0.4
disk 0 10/0.4.0
tgt 1 10/0.5
disk 1 10/0.5.0
sctl 3 10/0.7

The device file is
c(ext_bus instance number, here 3)t(last digit in class target)d0 (can be up to 7 if there is a disk array, in the case of a standalone disk is always 0)
so
c3t4d0
and c3t5d0 would be present in this case.

The new disk you add needs a unique id ( or else you may get panics or devices missing)
Refer to the disks jumper setting to set it's scsi id.

Later,
Bill
It works for me (tm)
Magdi KAMAL
Respected Contributor

Re: SCSI ID's and Hardware Path

Hi Rainer,

You are correct, but you have to consider that the SCSI card on the system board got also a scsi ID ! you need to avoid it .

Magdi