Operating System - HP-UX
1834817 Members
2591 Online
110070 Solutions
New Discussion

Re: vg00 not in /etc/lvmtab

 
Rodolph
Advisor

vg00 not in /etc/lvmtab

Hello ,

I don't see the vg00 in the /etc/lvmtab.
Someone have an idea ?
thanks a lot
12 REPLIES 12
Clemens van Everdingen
Honored Contributor

Re: vg00 not in /etc/lvmtab

Send the output of /etc/lvmtab !

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Rodolph
Advisor

Re: vg00 not in /etc/lvmtab

Here the message ...

root@serv1:/etc# vgdisplay -v vg00

Information in "/etc/lvmtab" differs from that in "/etc/lvmpvg".
VG "/dev/vg00" is not defined in file "/etc/lvmtab".
vgdisplay: Volume group "/dev/vg00" does not exist in the "/etc/lvmtab" file.
vgdisplay: Cannot display volume group "vg00".
root@SUP011:/etc#
Stefan Farrelly
Honored Contributor

Re: vg00 not in /etc/lvmtab

You can use vgscan to rebuild the lvmtab file. First rename /etc/lvmtab to something else, then do a; vgscan -avp

This will preview what its going to do - you should see it list its going to add in vg00. If it does then run again without the p option and it will recreate /etc/lvmtab and you should be fixed.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Animesh Chakraborty
Honored Contributor

Re: vg00 not in /etc/lvmtab

Hi
Try this.
mv /etc/lvmtab /etc/lvmtab.old
#vgscan.
make sure your database is down and no user is on the system.
Did you take a backup?
Rodolph
Advisor

Re: vg00 not in /etc/lvmtab

I have already done the vgscan.
nothing have changed...
Animesh Chakraborty
Honored Contributor

Re: vg00 not in /etc/lvmtab

Did you move the lvmtab first ?
Did you take a backup?
Rodolph
Advisor

Re: vg00 not in /etc/lvmtab

yes, I did.

root@serv1:/dev/vg00# mount -a
mount: /dev/vg00/lvproduct is already mounted on /product
mount: /dev/vg04FA/lvol2 is already mounted on /fm
mount: /dev/vg04FA/lvol3 is already mounted on /fm/FRR2PD
mount: /dev/vg04FA/lvol1 is already mounted on /appl
mount: /dev/vg00/lvol8 is already mounted on /home
mount: /dev/vg00/lvol7 is already mounted on /var
mount - read of super-block on /dev/vg00/perf failed: I/O error

mount: /dev/vg00/lvol10 is already mounted on /var/adm/crash
mount: /dev/vg00/lvol6 is already mounted on /usr
mount: /dev/vg00/lvol5 is already mounted on /tmp
mount: /dev/vg00/lvol4 is already mounted on /opt
mount: /dev/vg00/lvol1 is already mounted on /stand
root@serv1:/dev/vg00# fsck -F vxfs /dev/vg00/perf
cannot open device /dev/vg00/perf
file system check failure, aborting ...
root@serv1:/dev/vg00#


Clemens van Everdingen
Honored Contributor

Re: vg00 not in /etc/lvmtab

Hi,

You need to check the /etc/lvmpvg file to see if it reflects the correct situation.
This file is ASCII and editable.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Bill McNAMARA_1
Honored Contributor

Re: vg00 not in /etc/lvmtab

are you viewing your lvmtab as follows:

strings /etc/lvmtab

ll /etc/lvmconf/

and

ll /dev/vg00

Later,
Bill

It works for me (tm)
Ravi_8
Honored Contributor

Re: vg00 not in /etc/lvmtab

Hi,

#mv /etc/lvmtab /etc/lvmtab.old
#vgscan

This must work, and you should be able to see vg00 in lvmtab file
never give up
Darren Prior
Honored Contributor

Re: vg00 not in /etc/lvmtab

Hi Rodolph,

---quote---
mount: /dev/vg00/lvol7 is already mounted on /var
mount - read of super-block on /dev/vg00/perf failed: I/O error
---end quote---

What is /dev/vg00/perf? Is it something recent, how was it created?

regards,

Darren.
Calm down. It's only ones and zeros...
T G Manikandan
Honored Contributor

Re: vg00 not in /etc/lvmtab