- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- To replace failed root 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
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
08-28-2009 07:42 AM
08-28-2009 07:42 AM
I am facing problem for replacing a failed root disk. The disk status showing as unavailable with vgdisplay command and I could not able to dettach the disk from the vg VG00. So I have replaced the failed root disk without dettaching the disk.
When I try to add the new disk to the VG I am getting 3 Total number of PVs but Active PVs 2. I have followed the following steps.
1. Replaced the disk
2. moved the /etc/lvmtab
3. pvcreate -B /dev/rdsk/c3t5d0
4. mkboot -l /dev/dsk/c3t5d0
5. mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/c3t5d0
6. vgextend vg00 /dev/dsk/c3t5d0( I hope I made a mistake here. Instead I would have tried vgcfgrestore).
7.vgscan
Now still the disk status showing as unavailable. I tried to reduce the new disk. But failed. I tried vgcfgrestore -n /dev/vg00 /dev/rdsk/c3t5d0 and I got the error message "vgcfgrestore: Mismatch between the backup file and the running kernel:
Kernel indicates 3 disks for "/dev/vg00"; /etc/lvmconf/vg00.conf indicates 2 disks.
Cannot proceed with the restoration. Deactivate the Volume Group and try again.".
Can anyone help to resolve the issue. I can't reboot the server now. Any good suggestions?
Thanks
Mani
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2009 07:47 AM
08-28-2009 07:47 AM
Re: To replace failed root disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2009 07:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2009 07:58 AM
08-28-2009 07:58 AM
Re: To replace failed root disk
My HP-UX version is 11.11
Thanks,
Mani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2009 08:13 AM
08-28-2009 08:13 AM
Re: To replace failed root disk
vgreduce -f vg00 did not solved the problem.
Can I execute vgcfgrestore -R -n /dev/vg00 /dev/rdsk/c3t5d0.
Thanks,
Mani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2009 08:23 AM
08-28-2009 08:23 AM
Re: To replace failed root disk
it's on own risk, I understand you read that option from man vgcfgrestore.
Though if you want a further opinion please post
vgdisplay -v vg00
strings /etc/lvmtab
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2009 09:08 AM
08-28-2009 09:08 AM
Re: To replace failed root disk
The problem has been resolved. I did lvreduce and then vgreduce -f vg00. Then moved the lvmtab and created new one by vgscan. Still one one more disk exist.
Again I ran vgreduce -f vg00 and created the PV and followed the normal procedure.
Thanks All for your valuable support.
Cheers,
Mani