- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rx2660 failed disk swap query
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
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
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
07-17-2013 01:21 AM
07-17-2013 01:21 AM
rx2660 failed disk swap query
Hello,
I had the failed hard drive yesterday and I replaced it with a new working one:-
disk 2 0/1/1/0.0.0.5.0 sdisk NO_HW DEVICE HP DG146BB976
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
I then perormed the following commands to be able to see the new drive:-
rmsf -H 0/1/1/0.0.0.5.0
insf -e
ioscan -fnC disk
This worked fine but the new disk is being seen as the following:-
disk 18 0/1/1/0.0.0.8.0 sdisk CLAIMED DEVICE HP DG0146FARVU
/dev/dsk/c0t8d0 /dev/rdsk/c0t8d0
is there a way using sasmgr to rename the disk to what it was originally?
Cheers
Nick
- Tags:
- sasmgr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2013 06:08 AM
07-17-2013 06:08 AM
Re: rx2660 failed disk swap query
To get the new disk to use the old c0t5d0 device file you'll need to do:
# sasmgr replace_tgt -D /dev/sasd0 -q old_tgt=/dev/dsk/c0t5d0 -q new_tgt_hwpath=0/1/1/0.0.0.8.0
This assumes that your SAS device is /dev/sasd0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2013 06:58 AM
07-17-2013 06:58 AM
Re: rx2660 failed disk swap query
For exactly this reason I recommend to use hardware raid in thiese servers - its getting even worst with 11.31.
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
07-17-2013 07:10 AM
07-17-2013 07:10 AM
Re: rx2660 failed disk swap query
Hello,
I have just tried that and it failed with the following:-
sasmgr replace_tgt -D /dev/sasd1 -q old_tgt=/dev/dsk/c0t5d0 -q new_tgt_hwpath=0/1/1/0.0.0.8.0
ERROR: Invalid qualifier (old_tgt) was specified
sasmgr [-f][-h] replace_tgt -D <HBA dsf> -q old_dev=<LUN_dsf>
-q new_tgt_hwpath=<new_hw_path>
[-f][-h] replace_tgt -D <HBA dsf> -q old_dev=<old_LUN_dsf>
-q new_dev=<new_LUN_dsf>
[-f][-h] replace_tgt -D <HBA dsf>
-q old_tgt_hwpath=<old_hw_path>
-q new_tgt_hwpath=<new_hw_path>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2013 07:17 AM
07-17-2013 07:17 AM
Re: rx2660 failed disk swap query
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
07-17-2013 07:36 AM
07-17-2013 07:36 AM
Re: rx2660 failed disk swap query
Hello,
No reboot has been done as I thought these were hot swap disks?
I've actually done this before on a rx6600 as I have just checked through some notes and I used the following syntax:-
sasmgr replace_tgt -D /dev/sasd0 -q old_dev=/dev/dsk/c2t2d0 -q new_tgt_hwpath=0/4/1/0.0.0.8.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2013 07:39 AM
07-17-2013 07:39 AM
Re: rx2660 failed disk swap query
Try that. I may have made a typo or misread things when posting the command I did.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2013 07:44 AM
07-17-2013 07:44 AM
Re: rx2660 failed disk swap query
I think I know whats going on, I removed the missing device using the following command:-
rmsf -H 0/1/1/0.0.0.5.0
so c0t5d0 does not exist anymore hence me not being able to run the sasmgr replace_tgt command, does this make sense?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2013 08:52 AM
07-17-2013 08:52 AM
Re: rx2660 failed disk swap query
Yes. Same after a reboot, thats why I asked.
So you need to remove the missing disk from the vg (vgreduce -f) and start over with mirroring.
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!