- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- OS Gyrations after a SAS disk is replaced on 11.31...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2009 02:29 PM
01-13-2009 02:29 PM
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2009 04:21 PM
01-13-2009 04:21 PM
Re: OS Gyrations after a SAS disk is replaced on 11.31/rx6600 (sasmgr?)
Depends on the configuration.
If you set up hardware raid on the system and installed the OS on a raid 1 mirror set, there will be no problems at all replacing one of the OS disks.
If you did not do this, then you need to run an Ignite make_tape_recovery or make_net_recovery backup, because you will lose the OS without such a backup, which is a good precaution.
Like many issues in IT, the answer is, "it depends"
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2009 10:37 PM
01-13-2009 10:37 PM
Re: OS Gyrations after a SAS disk is replaced on 11.31/rx6600 (sasmgr?)
If the "plain" disk is used, it gets a new device file while installing.
To configure it, see the steps here:
http://docs.hp.com/en/5992-3385/ch04s08.html#v1446838
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2009 05:34 AM
01-14-2009 05:34 AM
Re: OS Gyrations after a SAS disk is replaced on 11.31/rx6600 (sasmgr?)
Here's my issue:
We did not know one of our SAS disks (not part of a RAID volume on the sasd controller) failed.
When the OS came up, there was no device (agile or legacy). Going back through the logs there was indeed a failure way back which we did not caughtas we thought our 11.31 BaseOE did not come with EMS (well it appears it did).
So HP replaced the drive. "sasmgr" confirms the drive is there. And at this point we're confused what to do next.... Google sez - scsimgr replace_target and io_redirect_dsf should do the trick. I have so far done the former (as we do not use agile name for said SAS disk) - but no dice. Further reading shows these 2 commands only work if the device shows as NO_HW - which of course we're not at.
Help us Torsten, you're our only hope ;^).
(We're still waiting for our support ticket's response. We're relatively new with 11.31 and our mixed SAN Array ecosystem does not seem to help a lot... we're having various problems with 11.31 with respect to disk presentations and de-presentations but that is a different matter).
Merci Boco.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2009 06:58 AM
01-14-2009 06:58 AM
Re: OS Gyrations after a SAS disk is replaced on 11.31/rx6600 (sasmgr?)
I assume you have the default built-in SAS controller, not a smartarray - can you confirm?
So you should to a
# sasmgr get_info -D /dev/sasd0 -q raid
and post. Let us see what the controller can see.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2009 07:02 AM
01-14-2009 07:02 AM
Re: OS Gyrations after a SAS disk is replaced on 11.31/rx6600 (sasmgr?)
root@goofy # sasmgr get_info -D /dev/sasd0 -q raid
Wed Jan 14 06:59:46 2009
---------- PHYSICAL DRIVES ----------
LUN dsf SAS Address Enclosure Bay Size(MB)
/dev/rdsk/c75t0d0 0x500000e01cc0c4a2 1 4 140014
/dev/rdsk/c75t1d0 0x500000e01cbe7da2 1 5 140014
/dev/rdsk/c75t3d0 0x500000e01cbe89f2 1 7 140014
/dev/rdsk/c75t4d0 0x500000e01cbf9912 1 8 140014
---------- LOGICAL DRIVE 1 ----------
Raid Level : RAID 1
Volume sas address : 0x7ae51f966b5ed41
Device Special File : /dev/rdsk/c75t5d0
Raid State : OPTIMAL
Raid Status Flag : ENABLED
Raid Size : 139236
Rebuild Rate : 0.00 %
Rebuild Progress : 100.00 %
Participating Physical Drive(s) :
SAS Address Enc Bay Size(MB) Type State
0x500000e01cc0add2 1 2 140014 SECONDARY ONLINE
0x500000e01cbdce32 1 1 140014 PRIMARY ONLINE
---------- GLOBAL SPARE DRIVES ----------
SAS Address Enc Bay Size(MB) Pool State
0x500000e01cc0b842 1 3 140014 0 ACTIVE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2009 07:03 AM
01-14-2009 07:03 AM
Re: OS Gyrations after a SAS disk is replaced on 11.31/rx6600 (sasmgr?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2009 07:06 AM
01-14-2009 07:06 AM
Re: OS Gyrations after a SAS disk is replaced on 11.31/rx6600 (sasmgr?)
you have disks in slots
1+2 =RAID
3 = hot spare
4,5,7,8 = independent disks
Problem is with disk in slot 6?
Please run
# sasmgr get_info -D /dev/sasd0 -q phy=all
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2009 07:44 AM
01-14-2009 07:44 AM
Re: OS Gyrations after a SAS disk is replaced on 11.31/rx6600 (sasmgr?)
I would expect a green light if the disk is not dead.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2009 07:45 AM
01-14-2009 07:45 AM
Re: OS Gyrations after a SAS disk is replaced on 11.31/rx6600 (sasmgr?)
root@goofy2 # sasmgr get_info -D /dev/sasd0 -q phy=all
Wed Jan 14 07:44:28 2009
Info for PHY ID : 0
PHY Health : UP
Port SAS Address : 0x500605b0009e9080
Attached SAS Address : 0x500000e01cc0c4a2
Current Link Rate : 3 Gbps
Max Link Rate : 3 Gbps
Info for PHY ID : 1
PHY Health : UP
Port SAS Address : 0x500605b0009e9081
Attached SAS Address : 0x500000e01cc0b842
Current Link Rate : 3 Gbps
Max Link Rate : 3 Gbps
Info for PHY ID : 2
PHY Health : UP
Port SAS Address : 0x500605b0009e9082
Attached SAS Address : 0x500000e01cc0add2
Current Link Rate : 3 Gbps
Max Link Rate : 3 Gbps
Info for PHY ID : 3
PHY Health : UP
Port SAS Address : 0x500605b0009e9083
Attached SAS Address : 0x500000e01cbdce32
Current Link Rate : 3 Gbps
Max Link Rate : 3 Gbps
Info for PHY ID : 4
PHY Health : UP
Port SAS Address : 0x500605b0009e9084
Attached SAS Address : 0x500000e01cbf9912
Current Link Rate : 3 Gbps
Max Link Rate : 3 Gbps
Info for PHY ID : 5
PHY Health : UP
Port SAS Address : 0x500605b0009e9085
Attached SAS Address : 0x500000e01cbe89f2
Current Link Rate : 3 Gbps
Max Link Rate : 3 Gbps
Info for PHY ID : 6
PHY Health : UP
Port SAS Address : 0x500605b0009e9086
Attached SAS Address : 0x500000e01cb7da02
Current Link Rate : 3 Gbps
Max Link Rate : 3 Gbps
Info for PHY ID : 7
PHY Health : UP
Port SAS Address : 0x500605b0009e9087
Attached SAS Address : 0x500000e01cbe7da2
Current Link Rate : 3 Gbps
Max Link Rate : 3 Gbps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2009 07:52 AM
01-14-2009 07:52 AM
Re: OS Gyrations after a SAS disk is replaced on 11.31/rx6600 (sasmgr?)
Info for PHY ID : 0
PHY Health : DOWN
Port SAS Address : 0x0
Attached SAS Address : 0x0
Current Link Rate : 1.5 Gbps
Max Link Rate : 1.5 Gbps
So all disks are connected. Strange.
Let's check something else:
# sasmgr get_info -D /dev/sasd0
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2009 07:55 AM
01-14-2009 07:55 AM
Re: OS Gyrations after a SAS disk is replaced on 11.31/rx6600 (sasmgr?)
Info for PHY ID : 6
PHY Health : UP
Port SAS Address : 0x500605b0009e9086
Attached SAS Address : 0x500000e01cb7da02
Current Link Rate : 3 Gbps
Max Link Rate : 3 Gbps
Maybe we should reset and/or re-seat this disk.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2009 09:17 AM
01-14-2009 09:17 AM
Re: OS Gyrations after a SAS disk is replaced on 11.31/rx6600 (sasmgr?)
But as far as OS gyrations.. after the drive as "replaced" what should be properly done? Those 2 commands does not seem to apply per HP's docs - since we're not NO_HW.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2009 11:30 AM
01-14-2009 11:30 AM
Re: OS Gyrations after a SAS disk is replaced on 11.31/rx6600 (sasmgr?)
It turns out the ISSUE was the drive was not actually replaced (yet) all this time I was made to believe it was!
It was just replaced and the OS automagically allocated a "NEW" agile and legacy dsf.
I was able to have the former agile dsf be used via:
io_redirect_dsf -d /dev/disk/disk17 -n /dev/disk/disk6331
But I could not get it to have it bound to its old legacy dsf - which is c72t2d0 (via sasmgr replace_tgt:
disk 12 0/4/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG146BABCF
/dev/dsk/c75t0d0 /dev/rdsk/c75t0d0
disk 5 0/4/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP DG146BABCF
/dev/dsk/c75t1d0 /dev/rdsk/c75t1d0
disk 6 0/4/1/0.0.0.3.0 sdisk CLAIMED DEVICE HP DG146BABCF
/dev/dsk/c75t3d0 /dev/rdsk/c75t3d0
disk 4 0/4/1/0.0.0.4.0 sdisk CLAIMED DEVICE HP DG146BABCF
/dev/dsk/c75t4d0 /dev/rdsk/c75t4d0
disk 1 0/4/1/0.0.0.5.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c75t5d0 /dev/dsk/c75t5d0s2 /dev/rdsk/c75t5d0 /dev/rdsk/c75t5d0s2
/dev/dsk/c75t5d0s1 /dev/dsk/c75t5d0s3 /dev/rdsk/c75t5d0s1 /dev/rdsk/c75t5d0s3
disk 6330 0/4/1/0.0.0.6.0 sdisk CLAIMED DEVICE HP DG146BABCF
/dev/dsk/c75t6d0 /dev/rdsk/c75t6d0
The "new" legacy dsf is c75t6d0. I had wanted it bound to c75t2d0 using the syntax below but it is complaining:
root@goofy # sasmgr replace_tgt -D /dev/sasd0 -q old_tgt=/dev/dsk/c75t2d0 -q new_tgt_hwpath=0/4/1/0.0.0.6.0
ERROR: Invalid qualifier (old_tgt) was specified
sasmgr [-f][-h] replace_tgt -D
-q new_tgt_hwpath=
So I guess it is NOT now possible to have this disk bound to its former/orignal legacy dsf? It really does not matter now at this time since I can use that new legacy dsf. Just want to find out IF it is possible.
So I was on the right track via the docus after all! But many many thnkas to you nevertheless good sir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2009 12:15 PM
01-14-2009 12:15 PM
SolutionYou made a slight typing error:
root@goofy # sasmgr replace_tgt -D /dev/sasd0 -q old_tgt=/dev/dsk/c75t2d0 -q new_tgt_hwpath=0/4/1/0.0.0.6.0
The correct syntax is:
root@goofy # sasmgr replace_tgt -D /dev/sasd0 -q old_dev=/dev/dsk/c75t2d0 -q new_tgt_hwpath=0/4/1/0.0.0.6.0
There is no command-line argument "old_tgt"
for sasmgr :)
Cheers,
VK2COT