Operating System - HP-UX
1825882 Members
2822 Online
109689 Solutions
New Discussion

Problem with number of disks in /etc/lvmtab

 
SOLVED
Go to solution
Mark Lawley
Contributor

Problem with number of disks in /etc/lvmtab

I am trying to create a make_recovery tape but it is failing with the following error:

vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 4 disks for "/dev/vg01"; /etc/lvmtab has 3 disks.
Cannot proceed with backup.

I have run vgscan -a and this gives the following error:

Couldn't stat physical volume "/dev/dsk/c1t2d0":
Invalid argument

Tried removing lvmtab and ran vgscan -a again but this gives the same error. /dev/dsk/c1t2d0 is the CD-ROM.

Can anybody help?
3 REPLIES 3
Stefan Farrelly
Honored Contributor

Re: Problem with number of disks in /etc/lvmtab


Hmm. Sounds like youve lost a disk at some point or one has not been removed correctly. I doubt your CDROM is the problem. If you do a vgdisplay -v vgXX | grep dsk
how many /dev/dsk entries are there ?

And if you do a strings /etc/lvmtab how many disks are listed for the same volume group ?

Then check them all and find out whats happened, are all the disks available ? can you diskinfo them all ??
Im from Palmerston North, New Zealand, but somehow ended up in London...
James R. Ferguson
Acclaimed Contributor
Solution

Re: Problem with number of disks in /etc/lvmtab

Mark:

Knowledge Base document #KBRC00000632 discusses this problem and a potential solution. For your convenience, I'v attached a copy of the document here.

Regards!

...JRF...
Mark Lawley
Contributor

Re: Problem with number of disks in /etc/lvmtab

Thanks James that appears to have done the trick.