Operating System - HP-UX
1847290 Members
2310 Online
110263 Solutions
New Discussion

content of vg00.conf / vg01.conf /vg02.conf

 

content of vg00.conf / vg01.conf /vg02.conf

1) What is the content of vg0*.conf file?
2) Can we hard-code the content of any vg0*.conf file?

3)What is ment by below information ? Can i change it manually ? if so what are all steps i have to follow ?

#strings /etc/lvmconf/vg01.conf
CONFIG01
/dev/vg01
/dev/rdsk/c3t0d0
/dev/rdsk/c4t0d0
/dev/rdsk/c3t1d0
/dev/rdsk/c4t1d0
/dev/rdsk/c3t5d0
/dev/rdsk/c4t5d0
/dev/rdsk/c3t6d0
/dev/rdsk/c4t6d0
LVMREC01%
LVMREC01%
LVMREC01%
LVMREC01%
LVMREC01%
LVMREC01%
LVMREC01%
LVMREC01%
z:PVGDA0001
VGSA0001BF


Please give the complete details about these questions?
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: content of vg00.conf / vg01.conf /vg02.conf

The vg*.conf files are created by vgcfgbackup which is run automatically when any change is made to the VG. You cannot edit these files manually. See "man vgcfgbackup"


Pete

Pete
Jdamian
Respected Contributor

Re: content of vg00.conf / vg01.conf /vg02.conf

read manual pages of vgcfgbackup and vgcfgrestore commands.
Tony Scully_2
Valued Contributor

Re: content of vg00.conf / vg01.conf /vg02.conf

Might be best to post what you are trying to achieve - its possible to do most things using LVM.

Tony
You CAN do that on HP

Re: content of vg00.conf / vg01.conf /vg02.conf

Hi Tony and Pete,
fine. I will tell my actual problem.

HISTORY: In my m/c i came to know that vg01.conf was correpted(or removed vg01.conf and vg01.conf.old). Some how the disks which are using under group vg01 are also correpted so i am not able to use "vgcfgbackup" to get vg01.conf . Now i replaced the disks under vg01 with new one. Here one more thing is that , for the correpted disks i have a mirror images disks which are good.
So

Q1:Is there any possibility to get the same old configuration on to new disks? so that i will do merging with the mirror image disks. if it so please tell me the steps i have to follow?

Q2: I know that vg*.conf will be created by "vgcfgbackup" and will update after each LVM command? But here the Physical disks are also fail, So Can i Create it Manually, with what ever the information i want?

Q3: We can use "vgexport" and "vgimport" to get it, but I should have some other similar configuration m/c.

please answer question by question as A1,A2..
Tony Scully_2
Valued Contributor

Re: content of vg00.conf / vg01.conf /vg02.conf

Can you post the following:

ioscan -fnuCdisk
vgdisplay -v /dev/vg01

It should be possible to add the replacement disks into the vg, then sync the mirrors from the good lvol copies, so long as the good copies still exist.

Tony
You CAN do that on HP

Re: content of vg00.conf / vg01.conf /vg02.conf

Answers from experts solved my problem.