Operating System - HP-UX
1835592 Members
2748 Online
110079 Solutions
New Discussion

Re: lvremove using Serviceguard

 
SOLVED
Go to solution
Mark A. Smith
Occasional Advisor

lvremove using Serviceguard

I want to remove a logical volume and retain the space in the VG so I can lvextend other logical volumes in the VG, do I need to use the -A option with lvremove ?

lvremove -A -f /dev/vgsb1/lvstva

Plus I believe a new map has to be made and then imported to the failover system after I make the change and take it out of the control script so it doesnt try to mount it at the next boot time.
4 REPLIES 4
IT_2007
Honored Contributor
Solution

Re: lvremove using Serviceguard

Make sure that you unmounted corresponding mount point before you do lvremove.
Don't have to use -A option. Just use

lvremove /dev/vgsb1/lvstva and it will ask confirmation to remove.

You need to make fresh map file and export to other node.
Geoff Wild
Honored Contributor

Re: lvremove using Serviceguard

No - you don't need -A - default is yes.

Yes - you will have to export the vg on the failover system and re-import from a new map file.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Mark A. Smith
Occasional Advisor

Re: lvremove using Serviceguard

the -A option is automatic now, (it didnt used to be somewhere in the past)
Geoff Wild
Honored Contributor

Re: lvremove using Serviceguard

No worries.

BTW:

http://forums1.itrc.hp.com/service/forums/publicProfile.do?userId=CA300939&forumId=1

I have assigned points to 0 of 33 responses to my questions.

Now, assigning points isn't mandatory - but it does assist others when searching in determining if the answers helped solve an issue.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.