1838373 Members
3093 Online
110125 Solutions
New Discussion

ignite and vg00

 
Matrah
Advisor

ignite and vg00

Hi ,

I have the message : information in "/etc/lvmtab" differs from that in "/etc/lvmpvg".
VG "/dev/vg00" is not defined in file "/etc/lvmtab".
And, when i excecute this command : srings /etc/lvmtab | grep vg , i don't see any information about the vg00.


Thanks
15 REPLIES 15
Amruth
Regular Advisor

Re: ignite and vg00

Hi,
Can you explain me further. As far as i know the /etc/lvmpvg will not give any problem to you.

Last day i restored an Ignite backup and it found working fine.


AR
If i am doing the same way you are doing to me then what is the difference between us.
erics_1
Honored Contributor

Re: ignite and vg00

Matrah,
Have you tried re-creating the lvmtab?
mv /etc/lvmtab /etc/lvmtab.old
vgscan -v
strings /etc/lvmtab

This will create a new lvmtab file. When you do a strings on the lvmtab, does your vg00 information show?

Regards,
Eric
Matrah
Advisor

Re: ignite and vg00

vgscan -v doesn't do anything :((
here the message : lvdisplay -v /dev/vg00/lvol3 | more
lvdisplay: Volume group "/dev/vg00" does not exist in the "/etc/lvmtab" file.
lvdisplay: Cannot display logical volume "/dev/vg00/lvol3".
Uday_S_Ankolekar
Honored Contributor

Re: ignite and vg00

Hi,

Try this.
copy /etc/lvmtab as /etc/lvmtab.save
Run insf -e
than run vgscan -v

Goodluck,
-USA..
Good Luck..
erics_1
Honored Contributor

Re: ignite and vg00

Just for clarification, I think Uday is suggesting that you "mv" to lvmtab.save and not "cp".

Regards,
Eric
Matrah
Advisor

Re: ignite and vg00

some news.....
look at my /etc/lvmtab ....is it correct that i see only /dev/ ? whereis the vg00 ?

/dev/
|h;2
/dev/dsk/c3t4d0
/dev/dsk/c3t5d0
/dev/dsk/c4t4d0
/dev/dsk/c4t5d0
erics_1
Honored Contributor

Re: ignite and vg00

If you cd /dev, do you see a directory for vg00? If not, try:
mkdir /dev/vg00

From here, I would restore from backup everything at /dev/vg00.

Afterwards, move the lvmtab again and run vgscan -v.

Hope this helps!

Eric
Darrell Allen
Honored Contributor

Re: ignite and vg00

Hi,

lvmpvg is only for volume groups that have physical volume groups defined. If vg00 doesn't have PVGs then it won't show in lvmpvg.

It is correct to use "strings /etc/lvmtab". You should see the VGs and all disks assigned to each VG. If you don't see vg00 then you need to follow Eric's suggestion.

As an example, here's what I got when I ran vgscan -v on a test system (after mv /etc/lvmtab /etc/lvmtab.old):

root:/etc # vgscan -v
Creating "/etc/lvmtab".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg00".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg28".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg02".
Couldn't stat physical volume "/dev/dsk/c5t2d0":
Invalid argument


/dev/vg02
/dev/dsk/c1t8d0
/dev/dsk/c1t9d0
/dev/dsk/c1t10d0
/dev/dsk/c1t11d0
/dev/dsk/c1t13d0
/dev/dsk/c1t14d0
/dev/dsk/c1t15d0
/dev/dsk/c2t14d0
/dev/dsk/c4t12d0
/dev/dsk/c4t13d0
/dev/dsk/c4t14d0
/dev/dsk/c4t15d0



/dev/vg28
/dev/dsk/c1t12d0
/dev/dsk/c2t1d0
/dev/dsk/c4t10d0
/dev/dsk/c4t11d0



/dev/vg00
/dev/dsk/c2t6d0
/dev/dsk/c4t8d0
/dev/dsk/c4t9d0


Scan of Physical Volumes Complete.

root:/etc #


Note the message about c5t2d0 which is the dvdrom drive and can be ignored.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Matrah
Advisor

Re: ignite and vg00

the /dev/vg00 exist and it's correct..
Uday_S_Ankolekar
Honored Contributor

Re: ignite and vg00

Matrah
Advisor

Re: ignite and vg00

Hello ,

Sorry, but none of your solution resolv my problem ....

No more idea ?

Frederic Sevestre
Honored Contributor

Re: ignite and vg00

Hi,

Did the /etc/lvmpvg contains the list of the vg00 disks ?
You should try to move both the lvmtab and the lvmpvg and run vgscan to recreate the lvmtab.

Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
Matrah
Advisor

Re: ignite and vg00

# more /etc/vmpvg
VG /dev/vg00
PVG PVG0
/dev/dsk/c3t5d0
/dev/dsk/c3t4d0
Darrell Allen
Honored Contributor

Re: ignite and vg00

Perhaps you could post the steps you have taken so far (particularly in relation to vgscan).

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Matrah
Advisor

Re: ignite and vg00

the probleme is OK..
In fact, the file /dev/slvmvg had the same minor and major number than /dev/vg00/group