- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pvchange ?
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
12-18-2007 01:32 PM
12-18-2007 01:32 PM
Just wanted to know if any of you have used this pvchange to replace a mirrored root drive ? From what I heard/read it's simple as :
1) pvchange -a N /dev/dsk/
2) replace drive
3) pvchange -a y /dev/dsk/
no vgchange, vgcfgrestore , vgsync
needed.
##########################################
# uname -a ; model
HP-UX hohp231 B.11.11 U 9000/800/L3000-7x
######################################
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2007 01:42 PM
12-18-2007 01:42 PM
Solutionhttp://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Check if you have the OLR patches installed
# swlist | grep OLR
chapter 6
# pvchange -a N pvname
# vgcfgrestore â n vgname pvname
# pvchange -a Y pvname
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2007 01:56 PM
12-18-2007 01:56 PM
Re: pvchange ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2007 02:32 PM
12-18-2007 02:32 PM
Re: pvchange ?
# swlist | grep OLR
but does find it with
# swlist -l product | grep OLR
PHKL_34518 1.0 LVM Cumulative Patch; LVM OLR; SLVM 16 Node
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2007 02:55 PM
12-18-2007 02:55 PM
Re: pvchange ?
The requisite patches are documented in the "When Good Disks Go Bad" whitepaper cited by Robert-Jan.
You can see from that document that you need PHKL_31216 and PHCO_30698, which have been superseded by PHKL_35970 and PHCO_35955 (or PHCO_34196 if you wish). A reboot will be required to install these.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2007 10:51 PM
12-18-2007 10:51 PM
Re: pvchange ?
needed"
Where did you read this?
It's not true.
You need at least to restore the LVM config to the disk (vgcfgrestore) and restore the boot files (mkboot).
Complete procedures up to 11.23 are here:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
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
12-18-2007 11:50 PM
12-18-2007 11:50 PM
Re: pvchange ?
See the man page
# man pvchange
or
http://docs.hp.com/en/B2355-60130/pvchange.1M.html
"...
Attaching and Detaching Physical Volumes
Detaching a physical volume makes the data on that disk unavailable
..."
A disk must be detached from LVM access - otherwise vgcfgrestore will fail.
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
12-19-2007 09:40 AM
12-19-2007 09:40 AM
Re: pvchange ?
Sincerely Yours,
Jerry Sims
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2007 09:56 AM
12-19-2007 09:56 AM
Re: pvchange ?
http://forums11.itrc.hp.com/service/forums/helptips.do?#33
Have fun!
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
12-19-2007 10:21 AM
12-19-2007 10:21 AM
Re: pvchange ?
I submitted your points, but I'm not sure if you received them? My system seems to be very slow, and somewhat sparatic at times.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2007 10:23 AM
12-19-2007 10:23 AM
Re: pvchange ?
See you on your next thread ...
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!
