Operating System - HP-UX
1840139 Members
2319 Online
110161 Solutions
New Discussion

Replaced disk has new address

 
SOLVED
Go to solution

Replaced disk has new address

Hi all,
I have a rx3600 running 11.23, on which I got a disk with stale extents. I stopped the mirroring and removed the disk from the volumegroup, and ordered a new disk.
The bad disk was removed and the new disk put into the same place. After running ioscan, the device still reported "NO_HW", but it seemed that I had a new disk on a new address.
I have never seen this before on other servers and/or HP-UX version.
Is this a new "feature" of 11.23, or itanium servers?
Is there a way to modify it back to the original address?

Thanks in advance.
Addie.
4 REPLIES 4
Ninad_1
Honored Contributor

Re: Replaced disk has new address

I have not seen this either.
If the disk is hot swap, I would suggest
You do a rmsf on the device file which shows NO_HW
Remove the disk you have recently added
Do an ioscan
Remove the device file which got created due to this disk addition (Confirm that infact the device is for the same disk before removing)
Add the disk back
Do an ioscan
Do insf
Check if your problem got resolved.

Else there is a method to make device instances same, but I dont feel that the solution for you at the moment. Pls try the the 1st solution.

Regards,
Ninad
Torsten.
Acclaimed Contributor
Solution

Re: Replaced disk has new address

This is a new "feature" of the SAS controller!

The controller detects a new disk in the old slot - must be a new device - must get a new device file!

Now you have to tell the controller:

Please use the old device file!

This is the way it works!

How to?

See

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

Replacing a Disk Online Using sasmgr replace_tgt or io_redirect_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!   
Torsten.
Acclaimed Contributor

Re: Replaced disk has new address

For future reference, I want to quote some lines from the doc:

After replacing the disk, the ioscan will look like this:

disk 2 0/4/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP 4
disk 3 0/4/1/0.0.0.2.0 sdisk NO_HW DEVICE HP 4
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0


=====
0/4/1/0.0.0.2.0 = old disk
0/4/1/0.0.0.1.0 = new disk in same slot

now run

# sasmgr replace_tgt -D /dev/sasd0 -q old_tgt=/dev/dsk/c3t2d0 -q new_tgt_hwpath=0/4/1/0.0.0.1.0

after this, the ioscan looks like this:

disk 2 0/4/1/0.0.0.1.0 sdisk NO_HW DEVICE HP DG072A8B54
disk 3 0/4/1/0.0.0.2.0 sdisk CLAIMED DEVICE HP DG072A8B54
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0


Read the document mentioned for more info!



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!   

Re: Replaced disk has new address

Torsten,

Thanks a lot! The documentation describes exactly what I have seen.

I will repair the status with sasmgr.

Regards,
Addie.