Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
cancel
Showing results for 
Search instead for 
Did you mean: 

LVM upgrade

marvin51796
Regular Advisor

LVM upgrade

Is it possible to take 1.0 VG to 2.1 without tearing it down and rebuilding it?

thanks

9 REPLIES
Torsten.
Acclaimed Contributor

Re: LVM upgrade

If you run hp-ux 11.31, make a backup and use update-ux to go to the latest release.

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!   
Matti_Kurkela
Honored Contributor

Re: LVM upgrade

Torsten means you'll need a March 2009 release of HP-UX 11.31 (or newer) to have the LVM version upgrade capability.

 

Please see this whitepaper (titled LVM Volume Group Version Migration):

 

http://h20000.www2.hp.com/bizsupport/TechSupport/CoreRedirect.jsp?redirectReason=DocIndexPDF&prodSeriesId=4296010&targetPage=http%3A%2F%2Fbizsupport2.austin.hp.com%2Fbc%2Fdocs%2Fsupport%2FSupportManual%2Fc01916196%2Fc01916196.pdf

MK
marvin51796
Regular Advisor

Re: vg upgrade from 1.0 to 2.1

maybe i need to explain more, i have created a vg and its version 1.0 and i cant extend the extents , i should have created it in version 2.1. Is there anyway to upgrade the VG to 2.1 without rebuilding via vgexport ?

Torsten.
Acclaimed Contributor

Re: vg upgrade from 1.0 to 2.1

Do you want to extend the VG?

I'm not sure about your problem.

Sounds like "vgmodify" could help you.


>> maybe i need to explain more

Yes, please.

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!   
marvin51796
Regular Advisor

Re: vg upgrade from 1.0 to 2.1

I have a vg that is 1.0 i need to extend the vg and the lv, it says that i cant. After doing some research i have read that it needs to be level 2.1 to extend the vg past where i am. Is there a way to make the vg 2.1 with rebuilding it?

Torsten.
Acclaimed Contributor

Re: vg upgrade from 1.0 to 2.1

I'm not sure if this solves your problem, because i dont know what your problem is ...

 

How about an exact commands and error messages???

 

vgdisplay output etc etc???

 

 

vgversion command can be used to "upgrade" volume groups, btw.


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!   
marvin51796
Regular Advisor

Re: vg upgrade from 1.0 to 2.1

yes the vgversion is the command i was looking for but it doesnt appear that it can be done LIVE, it looks like i ahve deactivate the vg to do this.....I was trying to do it without taking down the vg since this is a live system..

 

Torsten.
Acclaimed Contributor

Re: vg upgrade from 1.0 to 2.1

VG must be deactivated for migration.

 

 

If you could tell more details about your problem we probably can help you ...


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!   
Highlighted
Emil Velez_2
Trusted Contributor

Re: LVM upgrade

Assuming you have the software for LVM v2 loaded you can do a online upgrade with vxupgrade command that should be included with LVMv2 with one of the recent OE releases of 11.31.  Volume group must be deactivated and this cannot be done for vg00.

 

It seems to work fine with the systems I have done it to.

 

VG00 can be lvmv2 but only from a install as far as I know... (I could be wrong)

 

Good luck.. try it with a small VG first. it changes the structure of the VG and can be revered if no other changes have been made.

Emil Velez
Instructor Storage, Servers, HP-UX and Partner Courses
Hewlett Packard Enterprise Education Services
Ask me about training on StoreServ (3PAR) StoreOnce, StoreEasy, StoreAll, StoreVirtual, HP-UX, ServiceGuard and HPE Partner Ready Certification Training

internet: Emil.Velez@hpe.com
Linkedin: http://www.linkedin.com/in/emilvelez

HPE Master ASE Server Solutions Architect V3
HPE Master ASE Storage Solutions Architect V2
HP UNIX Certified (ASE HPUX 11iv3 Administration V1)
Certified HPE Instructor
HPE Product Certified - OneView [2016]
HP Sales Certified -Servers, Converged Systems and Services [2015]
HPE Product Certified - Converged Solutions [2017]