Integrity Servers
1748092 Members
5668 Online
108758 Solutions
New Discussion юеВ

Re: rx6600: drive slot numbers and SCSI address

 
SOLVED
Go to solution
Jdamian
Respected Contributor

rx6600: drive slot numbers and SCSI address

Hi

My rx6600 server has 12 internal disks: 6 attached to a SAS controller and the other to the second SAS controller.

I want to move some disk drives from their slots to other slots. They all are attached to the same SAS controller.

There is only 1 disks used, containing HP-UX 11.23.

The SCSI address (0 to 5)of each disk displayed by ioscan is set by its slot number ?

How can I find out the slot numbers of the disks?

Thanx in advance
9 REPLIES 9
Phil uk
Honored Contributor
Solution

Re: rx6600: drive slot numbers and SCSI address

Torsten.
Acclaimed Contributor

Re: rx6600: drive slot numbers and SCSI address

See my examples in the thread mentioned and do

# sasmgr get_info -D /dev/sasd0 -q raid

# sasmgr get_info -D /dev/sasd1 -q raid

"They all are attached to the same SAS controller." - not all! Some on the first, some on the second.

SAS disks and controllers behave different!

Even if you change a disk from one controller to another (same slot) you will get new device files, because this is bound to the WWID of the disk.

I would recommend to power down the server before you change the disk locations.

Let the already used disk at least connected to the same controller.

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!   
Phil uk
Honored Contributor

Re: rx6600: drive slot numbers and SCSI address

Don't worry Torsten, I wasn't going to take the credit for your previous work ;-)
Torsten.
Acclaimed Contributor

Re: rx6600: drive slot numbers and SCSI address

No problem Phil - i just want to give some additional information.

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!   
Jdamian
Respected Contributor

Re: rx6600: drive slot numbers and SCSI address

I pursue to create mirror with disks having the same target ID (what I wrote "SCSI address" in the subjet of this thread) in order to get an easier configuration to maintain. For example:

vg00: /dev/dsk/c1t3d0 and /dev/dsk/c2t3d0
vg01: /dev/dsk/c1t5d0 and /dev/dsk/c2t5d0

My problem is my box have different disk sizes and they have different target IDs. For example:

c1t3d0 146 GB
c1t5d0 146 GB
c2t3d0 73 GB
c2t5d0 73 GB

I want to swap 2 disks to get this:

c1t3d0 146 GB
c1t5d0 73 GB
c2t3d0 146 GB
c2t5d0 73 GB

If I swap them, will I get what I want?... Is the target ID set either according to the bay/slot or according to the WWN of the disk?

Thanx again
Jdamian
Respected Contributor

Re: rx6600: drive slot numbers and SCSI address

Sorry

I realized the examples are not right.

c1t3d0 146 GB
c1t5d0 73 GB
c2t3d0 73 GB
c2t5d0 146 GB

I'd swap c2t3d0 and c2t5d0 to get

c1t3d0 146 GB
c1t5d0 73 GB
c2t3d0 146 GB
c2t5d0 73 GB
Torsten.
Acclaimed Contributor

Re: rx6600: drive slot numbers and SCSI address

"I realized the examples are not right."

Sorry, I don't understand. Not enough information ...

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: rx6600: drive slot numbers and SCSI address

Regarding the mirror:

Each SAS controller can manage 2 pairs of mirrored disk (hardware - integrated RAID) - this would be my first choice!

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: rx6600: drive slot numbers and SCSI address

... regarding device files:

on other servers the device files are (more or less) fixed for internal disks.

This is very different for SAS. SCSI IDs are meaningless.

If you online replace a disk, you will get a new device file, because of a different WWID!

But you can re-assign the device by h/w path to the old device file. Hard to get.



Example?

See

http://docs.hp.com/en/J6369-90071/ch04s05.html


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!