- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- redo mirroring
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
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
11-21-2002 08:26 AM
11-21-2002 08:26 AM
I have tried to redo mirroring of the root disk, because the mirror disk wasn't set as bootable. I have performed the following steps:
first:
vgreduce /dev/VG00 /dev/dsk/cXtXdX get previous mirrored disk from vg00
next:
Make it a valid bootable PV disk
# pvcreate -fB /dev/rdsk/cXtXdX
Make it a bootable Lvol disk
# mkboot -l /dev/rdsk/cXtXdX
Place the autoboot string on the mirror as well on the original boot disk ( use low quorum)
# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cXtXdX
# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cXtXdX
# cd /usr/sbin/diag/lif
mkboot -b updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/cXtXdX
# vgextend /dev/VG00 /dev/dsk/cXtXdX
# lvextend -m 1 /dev/VG00/lvol1 /dev/dsk/cXtXdX
Well, here I've received an error message
lvextend: not enough free PE available.
Failure possibly caused by contiguous policy...
attached the output from vgdisplay and pvdispla
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 08:26 AM
11-21-2002 08:26 AM
Re: redo mirroring
When you did your vgremove, /dev/dsk/c3t6d0 has been removed from /etc/lvmpvg. Add it again (or you should have used -g option of vgextend perhaps). I Think that your lvols are PVG-strict.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 08:28 AM
11-21-2002 08:28 AM
Re: redo mirroring
mkboot -b updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/cXtXdX
I think this could be upsetting the layout at the start of the disk which causes the mirroring to fail. Try the pvcreate, mkboot -l, vgextend, then lvextend -m 1 and see if that works ok.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 08:35 AM
11-21-2002 08:35 AM
Re: redo mirroring
Wanted to go too fast ... it was removed from lvmpvg during vgreduce, not vgremove !
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 08:48 AM
11-21-2002 08:48 AM
Re: redo mirroring
VG /dev/vg0
PVG scsi2_6
/dev/dsk/c2t6d0
PVG scsi3_6
/dev/dsk/c3t6d0
Now do a "vgdisplay -v vg00" again and see if you got a new PVG defined. If yes proceed with the lvextend like so ..
# lvextend -m 1 /dev/vg00/lvol1 scsi3_6
ie telling it to mirror to the "added" PVG, thus maintaining the PVG strictness.
Finally the updating of ODE (mkboot -b updatediaglif ..), you got to pay close attention to it. If you system is running 64bit you got to use "updatediaglif2" file instead. For instance ..
# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/cXtXdX
Regardless this should not be the cause of the error you're seeing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 09:15 AM
11-21-2002 09:15 AM
Re: redo mirroring
#vgextend -g scsi2_6 /dev/vg00 /dev/dsk/c3t6d0
then
#lvchange -s g /dev/vg00/lvol1
.
.
.
#lvchange -s g /dev/vg00/lvol6
then I received the same error! Do I have to move lvmtab BEFORE vgreduce and after vgreduce to perform a vgscan -a?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 09:28 AM
11-21-2002 09:28 AM
Solution# strings /etc/lvmtab
to make sure you're still in a consistent state.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 11:40 PM
11-21-2002 11:40 PM
Re: redo mirroring
Now it works fine,thank you! case closed.