1834609 Members
3001 Online
110069 Solutions
New Discussion

VGmodify

 
SOLVED
Go to solution
Mohammad Sanaullah
Frequent Advisor

VGmodify

On a test server I had fixed the max lv to 2 by on vg by vgcreate -l 2 now i want to extend that number by 10 but thats not working as error shows:-

# vgmodify -l 10 vg03
vgmodify: The volume group "vg03" is active on this system.
Cannot perform requested change.
also while using

# vgmodify vg03 -l 10
vgmodify: -B must be specified in conjunction with a PV list
which command should i use as i tried these things first time.

thanks in Advance for supports.
Alive
6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: VGmodify

Hi,

see the remarks for this command:

http://docs.hp.com/en/B2355-60130/vgmodify.1M.html

Perhaps you have to de-activate the VG first.

Anyway, 10 as the maximum for the LVOLs is a little less.

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

Re: VGmodify

Hello,

Deactivate the VG before increasing max_lv:
# vgchange -a n vg03

PCS
mavrick
Regular Advisor

Re: VGmodify

Hi,
Try this

vgchnage -a n vg03

vgmodify -l 10 vg03
Babu A
Frequent Advisor
Solution

Re: VGmodify

Hi Sanaullah,

The volume group can be active when reporting the configuration (-r) or displaying a table of available settings (-t). The volume group must be de-activated before vgmodify can perform any configuration changes

Hence De-activate the VG and and try again.

# vgchange -a n /dev/vg03
# vgmodify -l 10 /dev/vg03

Hope this helps you!!!

Babu
Khashru
Valued Contributor

Re: VGmodify

First you need to deactivate vg by vgchange -a n vg_name
Mohammad Sanaullah
Frequent Advisor

Re: VGmodify

Thanks for all the support but one thing is that after deactivating and modifying the VG we can not directly do any action on that VG without activating the same by

vgchange -a y

thank you all again
Mohammad Sanaullah
Alive