- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- replacing a mirrored disks
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
04-30-2001 10:00 AM
04-30-2001 10:00 AM
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 10:14 AM
04-30-2001 10:14 AM
Re: replacing a mirrored disks
I think the best bet would be to put in the new disk, do the vgcfgrestore and then vgsync. The once caveat is if the disk that is failing is set up as a boot disk. If that is the case then you will need to do a mkboot on the new disk to make sure it is bootable if you need it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 10:20 AM
04-30-2001 10:20 AM
Re: replacing a mirrored disks
To do vgreduce you must have removed disk free. So you should un-mirror LVs that are on the removed disk (all physical extents on this disk should be unused).
Then you can add new disk and remirror all these logical volumes.volumes.
I think this is the simplest way.
Of course if you can remove mirror copies from the failing disk.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 10:21 AM
04-30-2001 10:21 AM
Solution# Shutdown your system and replace the disk that is failing.
Boot into single user mode and override the quorum, as:
# ISL> hpux -is -lq /stand/vmunix
# vgcfgrestore -n /dev/vg00 /dev/rdsk/cXtYdZ
# mkboot /dev/rdsk/cXtYdZ
# mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/CXtYdZ
# lvlnboot -R
# lvlnboot -v #...to verify all is as desired...
# vgchange -a y /dev/vg00
# vgsync /dev/vg00
# shutdown -ry 0
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 11:16 AM
04-30-2001 11:16 AM
Re: replacing a mirrored disks
A B
[1][2] [1][2]
Disk 1 in both groups is bootable. disk 1 in both groups also contain boot, root and swap.
The disk I want to replace is disk 2 in group A. In order to do that, the data is going to have to be remirrored to group A 1&2.
When I run vgcfgrestore, (after if vgextended vg00) it should restore my vg setup and vgsync should sync the data. I shouldn't have to play around with making disk 1 bootable again should I? I would think the boot area should already be there. OR does vgcfgrestore blow that away?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 11:20 AM
04-30-2001 11:20 AM
Re: replacing a mirrored disks
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 11:27 AM
04-30-2001 11:27 AM
Re: replacing a mirrored disks
Luckily the failed disk is not bootable one.
So after adding new disk to vg00 (vgextend) remirror only those LVs, that had mirrored copies on the failed disks.
But if you couldn't unmirror LVs because it was impossible to communicate with failed disk, after vgcfgresoring should use command lvsync for every LV that had mirror copies physical extents) on the failed disk.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 11:33 AM
04-30-2001 11:33 AM
Re: replacing a mirrored disks
I don't believe that you ever indicated which disk as faulty in your original post. The procedure I cited was a general case.
I agree that you should be able to do the 'vgcfgrestore', 'vgchange' & 'vgsync' after you have replaced the faulty disk and not have to exercise the 'mkboot' nor 'lvlnboot' steps.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 12:36 PM
04-30-2001 12:36 PM
Re: replacing a mirrored disks
One of the disks in group A is failing. My question is if the disk dies ....
unquote
If the disk dies ..??? If it's failing, replace it immediateley!!! jeeez. Don't keep on working with disks which make noise like hell, or are starting to fail.
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2001 06:04 AM
05-01-2001 06:04 AM