Operating System - HP-UX
1834276 Members
2890 Online
110066 Solutions
New Discussion

How can I increase lvol3 with mirrored disk?

 
박수정
Advisor

How can I increase lvol3 with mirrored disk?

How can I increase /dev/vg00/lvol3 ?
Our System has Standard JFS with mirrored disk.
3 REPLIES 3
unix team_4
Occasional Advisor

Re: How can I increase lvol3 with mirrored disk?

o Have you linked out /var/adm/sw/patch or /opt. These might be easier ways to handle a space problem.
----------------------------------
I assume you have the following:
/dev/vg00/lvol1 ...... /stand
/dev/vg00/lvol2 ...... swap
/dev/vg00/lvol3 ...... /
---and no other vg00 volumes---
and that your mirror is bootable & you have unallocated space on your primary boot device
o lvlnboot -v [verify 2 bootable devices]
o if you dont already have a [tested] bootable mirror you should do that first
o Schedule two 2-hour outages a day apart
1st outage----------
o split the mirror for vg00
giving you /dev/vg00/lvol3b, etc.
o lvextend -l big# /dev/vg00/lvol3b
o lvlnboot -v [verify 2 boot devices again]
o mkdir /rootb
o mount /dev/vg00/lvol3b /rootb
o bdf -l
If you got your size, you should boot off your mirror device. Since your mirrors aren't synched yet make sure to boot without a quorum, ISL> hpux -lq
o If it comes up OK then run with it overnight.
2nd outage-----------
o If all this worked then you will have to lvreduce -m 0 ... the 3 mirrored volumes and then lvextend -m 1 all over again, including the lvlnboot stuff and, of course, a third outage to do a test reboot to the "new" mirror. The 3rd outage can be pushed out a week or two.
unix team_4
Occasional Advisor

Re: How can I increase lvol3 with mirrored disk?

Its me again. If vg00 has more than just /,swap, & /stand then you should check out John Palmer's response to a question on "extending root" in the LVM forums.
CHRIS_ANORUO
Honored Contributor

Re: How can I increase lvol3 with mirrored disk?

Here is the link:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xeee76c96588ad4118fef0090279cd0f9,00.html

When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.