Operating System - HP-UX
1748169 Members
4065 Online
108758 Solutions
New Discussion юеВ

Re: lvmerge to be done after lvsplit on the root volume group vg00

 
SOLVED
Go to solution
hemantrm
New Member

lvmerge to be done after lvsplit on the root volume group vg00

I have HP-UX 11i servers that need OS updates (patches, etc.).
I am using what I believe is a fairly standard technique in that I lvsplit each of the lvols in the root volume group vg00 then apply changes.
After applying the patch bundle I have tested the server with the database and application both working fine.
After thorough testing I decide to merge the split volumes with the lvmerge command.
As it is the root volume group I am assuming that it is advisable to work in single-user mode, Is it really ?
What are the steps involved in merging the split volumes and do i require a server downtime or a reboot for the lvols to be merged?
Please guide me ..
Thanking you in anticipation ...
5 REPLIES 5
hemantrm
New Member

Re: lvmerge to be done after lvsplit on the root volume group vg00

Of course the requirement is to start the mirroring for the vg00
Michael Steele_2
Honored Contributor

Re: lvmerge to be done after lvsplit on the root volume group vg00

Hi

lvmerge dest source

runlevel 3 is ok unless you're on MC/SG or something with shared vg or file systems.
Support Fatherhood - Stop Family Law
hemantrm
New Member

Re: lvmerge to be done after lvsplit on the root volume group vg00

Thanx Michael,

Do i need a reboot?
Can I do lvmerge with database and sap running on my system online?
Lastly, i have two lvols for the root folesystem e.g lvol3 and lvol3b under vg00. lvol3 is the primary and lvol3b is the split lvol before the patch bundle, then which one is to consider as source and which one as destination?
Thanx again
Michael Steele_2
Honored Contributor
Solution

Re: lvmerge to be done after lvsplit on the root volume group vg00

HI

I've done the exact procedure that you are performing and I did not reboot. I did lvsync, save a copy of /etc/lvmtab and run vgscan.
Support Fatherhood - Stop Family Law
hemantrm
New Member

Re: lvmerge to be done after lvsplit on the root volume group vg00

Thanx Michael, shall do the same and revert you