cancel
Showing results for 
Search instead for 
Did you mean: 

lvmtab file missing

 
rajesh73
Super Advisor

lvmtab file missing

after my storage migartion , i checked my server, lvmtab disk name changed . please find the below screen shot

 

/etc
#strings lvmtab
/dev/vg00
/dev/dsk/c2t0d0
/dev/dsk/c2t1d0
/dev/lockvg
/dev/orvg01
/dev/dsk/c9t0d3
/dev/dsk/c8t0d3
/dev/dsk/c8t0d4
/dev/dsk/c9t0d4

#vgscan
vgscan: Warning: couldn't query all of the physical volumes.
vgscan: Warning: couldn't query physical volume "/dev/dsk/c9t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c8t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c8t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c9t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Warning: couldn't query all of the physical volumes.
vgscan: The physical volume "/dev/dsk/c2t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c2t1d0" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument

Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c15t0d3
/dev/dsk/c15t0d4
/dev/dsk/c16t0d3
/dev/dsk/c16t0d4

The Volume Group /dev/orvg01 was not matched with any Physical Volumes.
#


 

 

how mount the old disk with same vg

 

 

i was tried below option, but is not useful

 

#mv lvmtab /etc/lvmtab.bkp

#mv lvmtab lvmtab.old

#vgscan

#strings lvmtab
/dev/vg00
/dev/dsk/c2t0d0
/dev/dsk/c2t1d0

 

 

but i want to mount oravg , please advise

 

 

 

1 REPLY
Torsten.
Acclaimed Contributor

Re: lvmtab file missing

Storage migration?

What have you done?

>> Use the vgimport command to complete the process

This should be your option.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!