1833758 Members
3151 Online
110063 Solutions
New Discussion

LVMTAB PROBLEMS

 
SOLVED
Go to solution
Kwahae_1
Regular Advisor

LVMTAB PROBLEMS

Admins,

Getting the following after rebooting machine - which is also preventing creation of ignite tape:

Other than that, system is running fine.

How to clear up problem so that warning messages are eliminated and ignite tape can be completed successfully.

This system is on 11.23 rp5470

Will summarize.

# vgdisplay -v vgapps
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c9t0d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c11t0d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Couldn't query the list of physical volumes.
--- Volume groups ---
VG Name /dev/vgapps
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 2
Open LV 2
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 51200
VGDA 2
PE Size (Mbytes) 16
Total PE 25596
Alloc PE 19375
Free PE 6221
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c9t0d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c11t0d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Couldn't query the list of physical volumes.
--- Logical volumes ---
LV Name /dev/vgapps/lvapps
LV Status available/syncd
LV Size (Mbytes) 250000
Current LE 15625
Allocated PE 15625
Used PV 1

# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t2d0
/dev/vgora
/dev/dsk/c5t0d1
/dev/dsk/c7t0d1
/dev/dsk/c9t0d1
/dev/dsk/c11t0d1
/dev/vgapps
/dev/dsk/c5t0d2
/dev/dsk/c7t0d2
/dev/dsk/c9t0d2
/dev/dsk/c11t0d2


Note that the c9 and c11 disks are no longer there. How can I remove them from the configs?

7 REPLIES 7
Fabio Ettore
Honored Contributor

Re: LVMTAB PROBLEMS

Hi,

please post output of

lvdisplay -v /dev/vgapps/lvapps

Best regards,
Fabio
WISH? IMPROVEMENT!
Mustafa Gulercan
Respected Contributor

Re: LVMTAB PROBLEMS

hi;
if you want to rebuild lvmtab ,you may use vgscan.
from then man page;
The vgscan command allows the re-creation of the /etc/lvmtab file and
possibly the associated volume group device files. This command
should be run only in the event of a catastrophic error such as the
deletion of the /etc/lvmtab file or the mismatch of names of the
physical volumes in the /etc/lvmtab file to the actual physical volume
path configuration. If the /etc/lvmtab file exists, the information
contained in the file is used to assist in rebuilding the file, but
the existing file is updated with the new corrected configuration.


#vgscan -a -v



regards,
mustafa
Kwahae_1
Regular Advisor

Re: LVMTAB PROBLEMS

Hi Fabio,

Attached is the lvdisplay output.

Thanks
Patrick Wallek
Honored Contributor

Re: LVMTAB PROBLEMS

If they are truly gone, you can do:

# vgreduce -f /dev/vgapps

To remove the non-existant disks.
Kwahae_1
Regular Advisor

Re: LVMTAB PROBLEMS

vgreduce -f /dev/vgapps

skip alternate link /dev/dsk/c7t0d2
vgreduce: Couldn't query physical volume "/dev/dsk/c9t0d2":
The specified path does not correspond to physical volume attached to
this volume group
vgreduce: Couldn't query physical volume "/dev/dsk/c11t0d2":
The specified path does not correspond to physical volume attached to
this volume group
Tim Nelson
Honored Contributor
Solution

Re: LVMTAB PROBLEMS

need to move /etc/lvmtab to /etc/lvmtab.old

execute vgscan -p ( preview mode ) first then recreate with vgscan.

Read the man page.

Kwahae_1
Regular Advisor

Re: LVMTAB PROBLEMS

Renamed lvmtab and run vgscan -a -v. Solved the problem and my Ignite is working like snake oil.

Thanks all.