- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Failed Mirror in 11.11
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
08-13-2013 12:54 AM
08-13-2013 12:54 AM
Failed Mirror in 11.11
Hello,
I have a server which has has it's mirror disk fail, the disk has now been replaced but I'm still having issues getting the mirroring set back up. Can someone let me know the process for this task please?
lvreduce -m 0 -A n /dev/vg00/lvol1 /dev/dsk/c2t0d0
lvreduce: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
lvreduce: Warning: couldn't query all of the physical volumes.
lvreduce: Physical volume "/dev/dsk/c2t0d0" does not belong
to volume group "/dev/vg00".
Logical volume "/dev/vg00/lvol1" is not reduced.
milcon01:/#
milcon01:/# vgreduce vg00 /dev/dsk/c2t0d0
vgreduce: Couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
milcon01:/#
milcon01:/# pvcreate -B /dev/rdsk/c2t0d0
pvcreate: The physical volume "/dev/dsk/c2t0d0" is already recorded in the "/etc/lvmtab" file.
milcon01:/#
milcon01:/# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t0d0
/dev/dsk/c2t1d0
cheers
nick
- Tags:
- mirroring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2013 06:25 AM
08-13-2013 06:25 AM
Re: Failed Mirror in 11.11
If you can find the "When Good Disks Go Bad" whitepaper, that is an immense help when replacing a disk.
In your situation, the steps I would do are:
--Verify the disk is CLAIMED in 'ioscan -fnC disk'
# vgcfgrestore -n vg00 /dev/rdsk/c2t0d0
# vgchange -a y vg00
# vgdisplay -v vg00
(check and make sure /dev/dsk/c2t0d0 shows as 'available' in the output)
# mkboot /dev/rdsk/c2t0d0
# mkboot -a "hpux -lq" /dev/rdsk/c2t0d0
# vgsync vg00
The vgsync will resync the mirrors between your 2 disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2013 07:57 AM
08-13-2013 07:57 AM
Re: Failed Mirror in 11.11
Here is a link to the document Patrick referenced:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf
-Bob
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2013 08:05 AM
08-13-2013 08:05 AM
Re: Failed Mirror in 11.11
Perform the suggested steps and do
# vgdisplay -v vg00
# lvlnboot -v
and post.
If you have problems to do a "vgcfgrestore", you need to do a "pvchange -a n ..." first.
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
08-13-2013 11:49 PM
08-13-2013 11:49 PM
Re: Failed Mirror in 11.11
Hello,
I'm not sure what happened with this server as I was not the first port of call to fix it as it's in our US data center, but we managed to get it working using the below syntax:-
# vgcfgrestore -n vg00 /dev/rdsk/c2t0d0
This will restore the LVM headers to the new disk.
Next proceed to re-activate the VG:
# vgchange -a y vg00
You should now see the disk as part of the VG again.
Assuming this is a mirrored boot disk then proceed with the mkboot commands:
# mkboot -l /dev/rdsk/c2t0d0
# mkboot -a "hpux -lq" /dev/rdsk/c2t0d0
Reset the root/boot/dump/swap assignments:
# lvlnboot -R
# lvlnboot -v (view to confirm)
Start the sync of any mirrored logical volumes:
# vgsync /dev/vg00
Thanks to all who responded :-)
cheers
nick