1754020 Members
7055 Online
108811 Solutions
New Discussion юеВ

VG configuration failed

 
SOLVED
Go to solution
RASE_1
Advisor

VG configuration failed

Hi,

HP UX 11.23
Smart Array P400 Raid Controller
6 disks

I created 2 logical drives using the Smart Array P400 setup, the first logical drive using 2 disks with Raid 0+1 mode, the second one using 4 disks with Raid 5 mode.
Thus I created vg00 using logical drive 1 and vg01 using ld 02.
For space management raisons, I deleted the logical drive 02 without removing vg01 and included logical volumes. I created 2 new logical dives using both 2 disks with Raid 0+1.
But I'm now unable to create new vg01 and vg02, because it seems that vg01 is still mentionned into the volume groupe configuration. I tried to delete this configuration using vgremove and vgcfgrestore unsuccessfully.

Question: how modify the volume groupe configuration to remove any vg01 information and keep vg00 information only ?

Thanks.
2 REPLIES 2
melvyn burnard
Honored Contributor

Re: VG configuration failed

use vgexport to delete vg01
man vgexport
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
likid0
Honored Contributor
Solution

Re: VG configuration failed

You have to vgexport the vg.

you can do a:
#strings /etc/lvmtab
To see what you have in your config.
If vg01 is there, you should export it with:
#vgexport /dev/vg01

After that you shouldn't have anything related to vg01, in the lvmtab nor in the dev files, you can have a look with:

#ll /dev/*/group
Windows?, no thanks