LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to rename the boot volume group safely?

 
SOLVED
Go to solution
Highlighted
Robert_Honore
Occasional Contributor

Is it possible to rename the boot volume group safely?

Hi all, Is there a safe (preferably simple) way to rename the boot volume group in HP-UX? I am trying to set up a cluster using HP-UX, and I want to include information (a member number) about the member node in the name of the volume group name for the boot volume group of the member. For example, the boot volume group for member number 2 could be changed from vg00 to vg00-02 as one possibility. Is there a safe way to achieve this result? /RH
5 REPLIES 5
Torsten.
Acclaimed Contributor
Solution

Re: Is it possible to rename the boot volume group safely?

I don't think this makes any sense.

 

 

 

You need to vgexport/vgimport in LVM maintenance mode.


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
Robert_Honore
Occasional Contributor

Re: Is it possible to rename the boot volume group safely?


@Torsten. wrote:

I don't think this makes any sense.

 

 

 

You need to vgexport/vgimport in LVM maintenance mode.


Thanks, Torsten.  I suppose that is what I needed.  I just wanted to make sure I wasn't overlooking something simple and obvious.

Highlighted
Torsten.
Acclaimed Contributor

Re: Is it possible to rename the boot volume group safely?

You are welcome.



But again, I cannot see any reason for doing this.

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
Robert_Honore
Occasional Contributor

Re: Is it possible to rename the boot volume group safely?


@Torsten. wrote:
You are welcome.



But again, I cannot see any reason for doing this.

Torsten,

 

It's just that I have a preference for having information about the member embedded in non-shared volume groups. 

 

I never had to convert a set of standalone systems (in production) into a cluster before.  Previously, I've always built clusters from scratch.  Whenever I did that, I would embed information about the cluster member (an arbitrary integer used as a member number) into the name of the volume group.

 

I got so used to doing that, that I also wanted to do the same in this case as well.

 

Thus, I can see why it does not make sense to you.

 

/RH

Highlighted
Alzhy
Honored Contributor

Re: Is it possible to rename the boot volume group safely?

From BCH:

 

 

create map file for vg00

boot -lm  (LVM Maintenance mode)

vgexport vg00

vgimport to desired vgname from map file

do the usual LVM post import commants (lvln...)

edit /etc/fstab

 

 

Reboot... yer done.

 

I too have adopted such naming convention for my OS VGs on 11.11 and 11.31

 

Hakuna Matata.