Operating System - HP-UX
1753918 Members
7579 Online
108810 Solutions
New Discussion юеВ

Re: Need to increase mirrored lvol

 
ATL-Sysadmin
Advisor

Need to increase mirrored lvol

I have mirrored all vg00 filesystems; which includes /opt. I need to increase the size of /opt. What are the procedures that I follow? I have OnLine JFS installed on my 11i server.
5 REPLIES 5
Torsten.
Acclaimed Contributor

Re: Need to increase mirrored lvol

You can simply use SAM or follow this guide:

http://docs.hp.com/en/B2355-90950/ch06s02.html#bficeaha

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!   
SKR_1
Trusted Contributor

Re: Need to increase mirrored lvol

Give only two commands given below

lvextend -L (newsize in MB)M lvolname
fsadm -F vxfs -b (newsize in MB)M /opt

Dont forget to give capital M alongwith size when you are taking the size in MB.

Thanks

SKR
Mark McDonald_2
Trusted Contributor

Re: Need to increase mirrored lvol

SKR - dont forget to check that the VG has spare space! :-O
sujit kumar singh
Honored Contributor

Re: Need to increase mirrored lvol

Hi,


Alll cn be done online and without ny diruption as u already said that u have ONlineJFS installed.

yes u need to check that enoughh space is there in ur VG that u can increase the size to teh mirrired LVs.

#vgdisplay -v vg00 | more


note
1)the PE Size and Free PE and multiply those u can get the Free Space in MB in the VG.

2)Remember that in the case of mirrored LV if u see that an LV sizer is 2048 MB that means this is occupying actually 4096 MB space in the VG.
3)the space available in the VG should also be acccording to the allocation ploicies of the existinng LVs.

Rest is the same as the command for extending any other LV.


#lvextend -L 2048 /dev/vg00/lvol1 (the LV Name)

#fsadm -b 2048m /stand ( this is the Mount point for the LV /dev/vg00/lvol1)



Regards

Sujit
sujit kumar singh
Honored Contributor

Re: Need to increase mirrored lvol






The Correct synayx for the fsadm shall be like thus

#fsadm -b 2048M /stand

or

#fsadm -b 2097152 /stand

That is i f we want to increase the fileystem for the LV /dev/vg00/lvol2 to 2048 MB


Regards


Sujit