Operating System - HP-UX
1838594 Members
3972 Online
110128 Solutions
New Discussion

Volume group not activited

 
Fenny_1
Super Advisor

Volume group not activited

Hi!
My problem is this that i've created a Vdisk on my EVA and presented it to the host.
After presentation i have created created vgtest on it.
Now i've removed the Vdisk and also removed the volume group with vgremove.
now when i tried vgdisplay -v
i recieved an error stating vgtest is not activated
how can i resolve this issue.
Also tell me if i want to assign the minor no. which i assigned to vgtest is it available now or not.
5 REPLIES 5
RAC_1
Honored Contributor

Re: Volume group not activited

If you have removed vg, how you are getting error?? What exact command do you use??

Anil
There is no substitute to HARDWORK
Florian Heigl (new acc)
Honored Contributor

Re: Volume group not activited

It seems that vgtest was not completely removed :)

is the /dev/vgtest directory still there?

what happens if You try a
vgchange -a r vgtest ?

I wouldn't use that minor number right now, just skip to vg02, this doesn't do any harm.
Later You can even rename it and change the minor using vgexport/vgimport.

greetings,
Florian
yesterday I stood at the edge. Today I'm one step ahead.
Robert-Jan Goossens_1
Honored Contributor

Re: Volume group not activited

Hi,

# vgexport /dev/vgtest

# vgdisplay -v

minor should be available for a new VG.

Regards,
Robert-Jan
Nguyen Anh Tien
Honored Contributor

Re: Volume group not activited

Right.!
1. Vgdisplay -v will scan all vg on your server.
With your config:
It may vgtest is not remove from /etc/lvmtab.
I recommend you user
#vgexport vgtest
and then
#vgdisplay -v
2. there is no mirror for vg, only for lv
To mirror lv you use
vgextend -m number_of_minor lv_name pv_path

HTH
tienna
HP is simple
Fenny_1
Super Advisor

Re: Volume group not activited

thanx to all u friends. Problem solved