1825795 Members
2288 Online
109687 Solutions
New Discussion

Re: Some error in lvmtab

 
SOLVED
Go to solution
mark yu
Occasional Contributor

Some error in lvmtab

I found some promblem when I use vgdisplay.
Can somebody help me to fix this issue?Thanks!

vgdisplay: Cannot open the control file "/dev//group":
No such file or directory
vgdisplay: Cannot display volume group "/dev/".


[root@test]strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0
/dev/vg14
/dev/dsk/c7t1d4
/dev/dsk/c9t1d4
/dev/vg13
/dev/dsk/c7t1d5
/dev/dsk/c9t1d5
/dev/vg12
/dev/dsk/c9t1d3
/dev/dsk/c7t1d3
/dev/dsk/c9t1d1
/dev/dsk/c7t1d1
/dev/vg11
/dev/dsk/c9t1d2
/dev/dsk/c7t1d2
/dev/
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0
13 REPLIES 13
Calandrello
Trusted Contributor

Re: Some error in lvmtab

Friend exists some VG bred called /dev?
Peter Godron
Honored Contributor
Chan 007
Honored Contributor
Solution

Re: Some error in lvmtab

Mark,

Did you install by any change cluster on this server, check a file in /dev/slvmvg file, this file will have a same major no like lvm, so this may cause a problem. So move that file and try running vgscan to solve this problem.

Chan
Jaime Bolanos Rojas.
Honored Contributor

Re: Some error in lvmtab

Mark,

The solution to your problem is located in this document in the ITRC site:

docID A4113865

Hope you have access to it,

Regards,

Jaime.
Work hard when the need comes out.
Bill Hassell
Honored Contributor

Re: Some error in lvmtab

There are a number of causes, from changed VGID numbers on some of the disks to bogus lvols or other junk files in the volume group. You can usually fix this by rebuilding lvmtab:

mv /etc/lvmtab /etc/lvmtab.old
vgscan -v
vgchange -a y

That should clear up the corruption in lvmtab.


Bill Hassell, sysadmin
mark yu
Occasional Contributor

Re: Some error in lvmtab

There did exist a vg "/dev/"
and it is same as vg00. I don't know what cause this, maybe someone do the wronge configuration.

/dev/vg00
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0
/dev/
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Asif Sharif
Honored Contributor

Re: Some error in lvmtab

#mv /etc/lvmtab /etc/lvmtab.old
#vgscan -a -v
Regards,
Asif Sharif
Peter Godron
Honored Contributor

Re: Some error in lvmtab

Mark,
I am confused ! Did you read the links I provided ?

The second link in my answer details:

mv /etc/lvmtab /etc/lvmtab.old
vgscan -a

Which you awarded 10 points to in a number of other answers, but my answer was worth
less than
"1-3: The answer didn't really help answer my question, but thanks for your assistance!"

I provide links in my answers, so people can see the various ways the problem may be resolved, giving you more than one solution.
mark yu
Occasional Contributor

Re: Some error in lvmtab

The problem has solved, I moved the lvmtab snd slvmvg then vgscan -a -v .
I am very appriciate for anyone reply this ticket.
Mark.
Pete Randall
Outstanding Contributor

Re: Some error in lvmtab

Peter Godron
Honored Contributor

Re: Some error in lvmtab

Pete,
thanks for the link! I agree that harassing posters for points is wrong, I was only wondering why my (problem resolving)answer at 12:02 was worthless, compared to same solution answers 20 minutes later.

I wondered whether my links had been read, which would have resolved the problem and closed the thread, saving people the effort to provide same solutions.

As I stated, I prefer to post the links, as normally more than one solution is proposed, which may be better suited to your individual fault.

Mark,
my sincerest apologies if you felt harrassed.

Pete Randall
Outstanding Contributor

Re: Some error in lvmtab

Peter,

Thanks for the explanation.


Pete

Pete
mark yu
Occasional Contributor

Re: Some error in lvmtab

Dear Peter,
I am sorry that I forgot to assign you points. I am in china the network is poor in these days, I could not open your link.
I want to thanks for anybody who reply this ticket.