HPE 9000 and HPE e3000 Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

HPUX Locating a physical disk by command line mirror by software

 
SOLVED
Go to solution
WilliamSmith11
Super Advisor

HPUX Locating a physical disk by command line mirror by software

Hi
I have a rx2600 server runninig HPUX 11-23.
I have an external enclouse with 14 disk.
The controller for the external enclousure is a dual controller i/o card.

The controller has a dual i/o card too.

So the 14 disk are devided between the two i/o bus (bus A and bus B)

My question is :

There is some command to identify a physical disk in the enclousure?

In true64 was possible by running a hwmgr command and the fault light of the drive does turn on for 60 second.
There is some similar in HPUX?

Thank you

W.S



rperez
9 REPLIES 9
Torsten.
Acclaimed Contributor

Re: HPUX Locating a physical disk by command line mirror by software

Hi,

it depends on your hardware.
What chassis do you have - MSA30?
If it is a MSA30, what kind of controller inside the chassis?
(1 port, 2 or 4 port)?

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!   
WilliamSmith11
Super Advisor

Re: HPUX Locating a physical disk by command line mirror by software

There are two ports


W.S
rperez
Torsten.
Acclaimed Contributor

Re: HPUX Locating a physical disk by command line mirror by software

The relation is like this:

Bay Number - SCSI ID - Bus
1 0 A
2 1 A
3 2 A
4 3 A
5 4 A
6 5 A
7 8 A
8 0 B
9 1 B
10 2 B
11 3 B
12 4 B
13 5 B
14 8 B

You will find the SCSI ID of the disk in the ioscan output and the disks while looking up the table.

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!   
WilliamSmith11
Super Advisor

Re: HPUX Locating a physical disk by command line mirror by software

Yes I had some idea about this, but there some command that I can execute to turn on a light of a specific disk drive ?

W.S
rperez
Torsten.
Acclaimed Contributor

Re: HPUX Locating a physical disk by command line mirror by software

I'm not aware at the moment.

I guess the "scsimgr" can do it, but I'm not sure.

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!   
Marcel Burggraeve
Trusted Contributor
Solution

Re: HPUX Locating a physical disk by command line mirror by software

If you don't know the address of the disk(s) you want identify run an ioscan
-fnCdisk to get the addresses.
After that you can do : dd if=/dev/dsk/ of=/dev/null
By doing this you should be able to identify the disk by looking at the activity lights.
WilliamSmith11
Super Advisor

Re: HPUX Locating a physical disk by command line mirror by software

Can I execute this command in a good disk too, and wont cause any damage to the data?


W.S
rperez
Robert-Jan Goossens_1
Honored Contributor

Re: HPUX Locating a physical disk by command line mirror by software

Yes, dd from disk to /dev/null will do no harm to your data on the disk.

# dd if=/dev/dsk/ of=/dev/null bs=1024k

Regards,
Robert-Jan
WilliamSmith11
Super Advisor

Re: HPUX Locating a physical disk by command line mirror by software

Thank you for all the help.

W.s
rperez