- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP UX disk replacement -Why a replacement disk...
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
10-05-2011 02:25 PM
10-05-2011 02:25 PM
HP UX disk replacement -Why a replacement disk in the same slt had dift hrdw pahs than the original
But first the history: Our customer needed to replace disk37 last week and reports what should have been a relatively easy one for one swap took hours as our customer needed to remove mirrored extents from the failed disk first. And serveral reboots were required.
The procedure our customer followed was:
HP-UX 11.31
Find lunpath for faulty disk
ioscan -m lun /dev/disk/disk37
Detach physical volume from LVM
pvchange -a N /dev/dsk/cntnd0
Replace disk
HP-UX 11.31
Check disk with agile ioscan view
ioscan –m lun /dev/disk/disk37
If OK, shows health=online, state=NO_HW
If not OK, shows blank lunpath, health=offline, state=NO_HW
See email from David Rew, 26.06.09
If HP-UX 11.31, notify OS of change - until then will show as NO_HW in legacy
(Original disk /dev/disk/disk37, new disk /dev/disk/disk60)
scsimgr replace_wwid -D /dev/rdisk/disk37
io_redirect_dsf -d /dev/disk/disk37 -n /dev/disk/disk60
Check new disk is accessible and correctly named
ioscan -fnCdisk
ioscan -fnNCdisk
If Integrity root disk, partition disk
Restore LVM config and headers onto new disk - see below if this fails
vgcfgrestore -n vg0n /dev/rdsk/cntnd0
Attach disk to volume group
vgchange -a y vg0n
If needed, re-synch disks
vgsync vg0n
{end of procedure}
Our customer has followed the above procedure many times with great success. Prior to following the procedure on this occassion our customer rebooted the server and all went well until the "vgchange -a y" stage. The activation of the VG failed with the following message:
Cannot lock "/etc/lvmconf/lvm_lock" still trying ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2011 08:59 PM - edited 10-05-2011 09:02 PM
10-05-2011 08:59 PM - edited 10-05-2011 09:02 PM
Re: HP UX disk replacement -Why a replacement disk in the same slt had dift hrdw pahs than the origi
Cannot lock "/etc/lvmconf/lvm_lock" still trying
Another LVM activity is still in progress, be patient.
The creation of a new device file is normal if the disk is connected to a SAS controller or if the OS is 11.31, due to a different WWID.
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
10-06-2011 07:43 AM
10-06-2011 07:43 AM
Re: HP UX disk replacement -Why a replacement disk in the same slt had dift hrdw pahs than the origi
Thank You very much for your reply.
Yes as you can see in the original question that cu is running 11.31
As far as any real issues with service I have not seen in comments. I think it was confusing as to why things changed.
I assumed after vgscan completed that all would be normal operations, is there anything else they need to do in order to "register" so to speak these new device names etc.
Thank You again Torsten
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2011 07:55 AM
10-06-2011 07:55 AM
Re: HP UX disk replacement -Why a replacement disk in the same slt had dift hrdw pahs than the origi
The LVM manual (somewhere on BSC... :-( ) has all the steps, including a scsimgr replace_wwid and io_redirect commands.
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!
- Tags:
- scsimgr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2011 08:05 AM
10-06-2011 08:05 AM
Re: HP UX disk replacement -Why a replacement disk in the same slt had dift hrdw pahs than the origi
Hi:
I believe that this will help:
http://bizsupport.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf
[ The highly regarded "When Good Disks Go Bad" ]
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2011 11:52 PM
10-06-2011 11:52 PM
Re: HP UX disk replacement -Why a replacement disk in the same slt had dift hrdw pahs than the origi
Oh yes, since this document includes procedures for 11.31 this is the best choice.
-> HP-UX System Administrator's Guide: Logical Volume Management HP-UX 11i v3
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
10-07-2011 08:00 AM
10-07-2011 08:00 AM
Re: HP UX disk replacement -Why a replacement disk in the same slt had dift hrdw pahs than the origi
thanks again,
we believe the guest will not migrate to another host is because of an issue in the device database. For some reason, disk2072 shows up as a file device instead of a disk device. we have tried a few commands to remove that entry or modify that entry but I was unsuccessful. is this why I cannot migrate the guest to another host?. Is there a way to refresh the hpvm device database?
# hpvmdevmgmt -l gdev
lan0:CONFIG=gdev,EXIST=YES,DEVTYPE=NIC,SHARE=NO::WWID_NULL
lan900:CONFIG=gdev,EXIST=YES,DEVTYPE=NIC,SHARE=NO:vswSVR:WWID_NULL
vswSVR:CONFIG=gdev,EXIST=YES,DEVTYPE=SWITCH,SHARE=YES::WWID_NULL
lan902:CONFIG=gdev,EXIST=YES,DEVTYPE=NIC,SHARE=NO::WWID_NULL
vswVM:CONFIG=gdev,EXIST=YES,DEVTYPE=SWITCH,SHARE=YES:hnssb02:WWID_NULL
lan904:CONFIG=gdev,EXIST=YES,DEVTYPE=NIC,SHARE=NO:vswVM:WWID_NULL
/dev/rdisk/disk2072:CONFIG=gdev,EXIST=YES,DEVTYPE=FILE,SHARE=NO:hnssb02:HPVM_STATID_13745_1073741827
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2012 09:13 AM
12-14-2012 09:13 AM
Re: HP UX disk replacement -Why a replacement disk in the same slt had dift hrdw pahs than the origi
Hello,
I just replaced a mirrored boot disk on an rx8620 running HP-UX 11.31..
The disk shows as offline.. How can I bring it online. This discussion says see David Rew's email from une 26th 2009 but I am not sure where to find that.
Thanks
disk 11 64000/0xfa00/0xc esdisk NO_HW DEVICE offline HP 73.4GST373454LC
1/0/0/3/0.0x6.0x0
/dev/disk/disk11 /dev/disk/disk11_p2 /dev/rdisk/disk11 /dev/rdisk/disk11_p2
/dev/disk/disk11_p1 /dev/disk/disk11_p3 /dev/rdisk/disk11_p1 /dev/rdisk/disk11_p3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2012 08:15 AM
12-15-2012 08:15 AM
Re: HP UX disk replacement -Why a replacement disk in the same slt had dift hrdw pahs than the origi
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!