System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Vgdisplay Error: Information in "/etc/lvmtab" or "/etc/lvmtab_p" differs from that in "/etc/lvmpvg".

valleysaint
Frequent Visitor

Vgdisplay Error: Information in "/etc/lvmtab" or "/etc/lvmtab_p" differs from that in "/etc/lvmpvg".

Hi,

 

While running vgdisplay -v, I am getting the following error message :-

 

#-> vgdisplay -v
Error: Information in "/etc/lvmtab" or "/etc/lvmtab_p" differs from
that in "/etc/lvmpvg".
Physical volume "/dev/disk/disk49" does not belong
to volume group "/dev/vgwwprod03".
--- Volume groups ---
VG Name                     /dev/vg00
VG Write Access             read/write
VG Status                   available
Max LV                      255
Cur LV                      8
Open LV                     8
Max PV                      16
Cur PV                      1
Act PV                      1
Max PE per PV               4304
VGDA                        2
PE Size (Mbytes)            16
Total PE                    4294
Alloc PE                    3076
Free PE                     1218
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  1.0
VG Max Size                 1076g
VG Max Extents              68864

   --- Logical volumes ---
   LV Name                     /dev/vg00/lvol1
   LV Status                   available/syncd
   LV Size (Mbytes)            1792
   Current LE                  112
   Allocated PE                112
   Used PV                     1

   LV Name                     /dev/vg00/lvol2
   LV Status                   available/syncd
   LV Size (Mbytes)            16384
   Current LE                  1024
   Allocated PE                1024
   Used PV                     1

   LV Name                     /dev/vg00/lvol3
   LV Status                   available/syncd
   LV Size (Mbytes)            1024
   Current LE                  64
   Allocated PE                64
   Used PV                     1

   LV Name                     /dev/vg00/lvol4
   LV Status                   available/syncd
   LV Size (Mbytes)            1024
   Current LE                  64
   Allocated PE                64
   Used PV                     1

   LV Name                     /dev/vg00/lvol5
   LV Status                   available/syncd
   LV Size (Mbytes)            9632
   Current LE                  602
   Allocated PE                602
   Used PV                     1

   LV Name                     /dev/vg00/lvol6
   LV Status                   available/syncd
   LV Size (Mbytes)            1024
   Current LE                  64
   Allocated PE                64
   Used PV                     1

   LV Name                     /dev/vg00/lvol7
   LV Status                   available/syncd
   LV Size (Mbytes)            9632
   Current LE                  602
   Allocated PE                602
   Used PV                     1

   LV Name                     /dev/vg00/lvol8
   LV Status                   available/syncd
   LV Size (Mbytes)            8704
   Current LE                  544
   Allocated PE                544
   Used PV                     1


   --- Physical volumes ---
   PV Name                     /dev/disk/disk1_p2
   PV Status                   available
   Total PE                    4294
   Free PE                     1218
   Autoswitch                  On
   Proactive Polling           On


Error: Information in "/etc/lvmtab" or "/etc/lvmtab_p" differs from
that in "/etc/lvmpvg".
Physical volume "/dev/disk/disk49" does not belong
to volume group "/dev/vgwwprod03".
--- Volume groups ---
VG Name                     /dev/vgwwcomm03
VG Write Access             read/write
VG Status                   available, exclusive
Max LV                      2047
Cur LV                      1
Open LV                     1
Cur Snapshot LV             0
Max PV                      2048
Cur PV                      2
Act PV                      2
Max PE per PV               65536
VGDA                        4
PE Size (Mbytes)            16
Unshare unit size (Kbytes)  1024
Total PE                    51198
Alloc PE                    51198
Current pre-allocated PE    0
Free PE                     0
Total PVG                   2
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  2.2
VG Max Size                 1t
VG Max Extents              65536
Cur Snapshot Capacity       0p
Max Snapshot Capacity       1t

   --- Logical volumes ---
   LV Name                     /dev/vgwwcomm03/lvol1
   LV Status                   available/syncd
   LV Size (Mbytes)            409584
   Current LE                  25599
   Allocated PE                51198
   Used PV                     2


   --- Physical volumes ---
   PV Name                     /dev/disk/disk24
   PV Status                   available
   Total PE                    25599
   Free PE                     0
   Current pre-allocated PE    0
   Autoswitch                  On
   Proactive Polling           On

   PV Name                     /dev/disk/disk110
   PV Status                   available
   Total PE                    25599
   Free PE                     0
   Current pre-allocated PE    0
   Autoswitch                  On
   Proactive Polling           On


VG Name                     /dev/vgwwcomm02
VG Write Access             read/write
VG Status                   available, exclusive
Max LV                      2047
Cur LV                      1
Open LV                     1
Cur Snapshot LV             0
Max PV                      2048
Cur PV                      2
Act PV                      2
Max PE per PV               65536
VGDA                        4
PE Size (Mbytes)            16
Unshare unit size (Kbytes)  1024
Total PE                    10238
Alloc PE                    10112
Current pre-allocated PE    0
Free PE                     126
Total PVG                   2
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  2.2
VG Max Size                 1t
VG Max Extents              65536
Cur Snapshot Capacity       0p
Max Snapshot Capacity       1t

   --- Logical volumes ---
   LV Name                     /dev/vgwwcomm02/lvol1
   LV Status                   available/syncd
   LV Size (Mbytes)            80896
   Current LE                  5056
   Allocated PE                10112
   Used PV                     2


   --- Physical volumes ---
   PV Name                     /dev/disk/disk15
   PV Status                   available
   Total PE                    5119
   Free PE                     63
   Current pre-allocated PE    0
   Autoswitch                  On
   Proactive Polling           On

   PV Name                     /dev/disk/disk89
   PV Status                   available
   Total PE                    5119
   Free PE                     63
   Current pre-allocated PE    0
   Autoswitch                  On
   Proactive Polling           On


VG Name                     /dev/vgwwcomm01
VG Write Access             read/write
VG Status                   available, exclusive
Max LV                      2047
Cur LV                      4
Open LV                     4
Cur Snapshot LV             0
Max PV                      2048
Cur PV                      2
Act PV                      2
Max PE per PV               65536
VGDA                        4
PE Size (Mbytes)            16
Unshare unit size (Kbytes)  1024
Total PE                    23038
Alloc PE                    21632
Current pre-allocated PE    0
Free PE                     1406
Total PVG                   2
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  2.2
VG Max Size                 1t
VG Max Extents              65536
Cur Snapshot Capacity       0p
Max Snapshot Capacity       1t

   --- Logical volumes ---
   LV Name                     /dev/vgwwcomm01/lvol1
   LV Status                   available/syncd
   LV Size (Mbytes)            51200
   Current LE                  3200
   Allocated PE                6400
   Used PV                     2

   LV Name                     /dev/vgwwcomm01/lvol2
   LV Status                   available/syncd
   LV Size (Mbytes)            10240
   Current LE                  640
   Allocated PE                1280
   Used PV                     2

   LV Name                     /dev/vgwwcomm01/lvol3
   LV Status                   available/syncd
   LV Size (Mbytes)            10240
   Current LE                  640
   Allocated PE                1280
   Used PV                     2

   LV Name                     /dev/vgwwcomm01/lvol4
   LV Status                   available/syncd
   LV Size (Mbytes)            101376
   Current LE                  6336
   Allocated PE                12672
   Used PV                     2


   --- Physical volumes ---
   PV Name                     /dev/disk/disk10
   PV Status                   available
   Total PE                    11519
   Free PE                     703
   Current pre-allocated PE    0
   Autoswitch                  On
   Proactive Polling           On

   PV Name                     /dev/disk/disk92
   PV Status                   available
   Total PE                    11519
   Free PE                     703
   Current pre-allocated PE    0
   Autoswitch                  On
   Proactive Polling           On


vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vgwwprod02".
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vgwwprod01".
VG Name                     /dev/vgignite
VG Write Access             read/write
VG Status                   available
Max LV                      511
Cur LV                      1
Open LV                     1
Max PV                      511
Cur PV                      2
Act PV                      2
Max PE per PV               262144
VGDA                        4
PE Size (Mbytes)            4
Total PE                    7672
Alloc PE                    7670
Free PE                     2
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  2.0
VG Max Size                 1t
VG Max Extents              262144

   --- Logical volumes ---
   LV Name                     /dev/vgignite/lvol1
   LV Status                   available/syncd
   LV Size (Mbytes)            30680
   Current LE                  7670
   Allocated PE                7670
   Used PV                     2


   --- Physical volumes ---
   PV Name                     /dev/disk/disk98
   PV Status                   available
   Total PE                    5116
   Free PE                     0
   Autoswitch                  On
   Proactive Polling           On

   PV Name                     /dev/disk/disk105
   PV Status                   available
   Total PE                    2556
   Free PE                     2
   Autoswitch                  On
   Proactive Polling           On


vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vgwwprod03".



Thanks

4 REPLIES
Torsten.
Acclaimed Contributor

Re: Vgdisplay Error: Information in "/etc/lvmtab" or "/etc/lvmtab_p" differs fro

 

vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vgwwprod03".

 

Please run vgdisplay -v vgwwprod03

 

on the owner cluster node.

 

 

Also attach

 

# cat /etc/lvmpvg

 

# strings /etc/lvmtab

 

# strings /etc/lvmtab_p

 

 

 

 

Likely your lvmpvg file does not fit the configuration.


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!   
valleysaint
Frequent Visitor

Re: Vgdisplay Error: Information in "/etc/lvmtab" or "/etc/lvmtab_p" differs fro

Here is the info :-

 

#-> vgdisplay -v vgwwprod03
Error: Information in "/etc/lvmtab" or "/etc/lvmtab_p" differs from
that in "/etc/lvmpvg".
Physical volume "/dev/disk/disk110" does not belong
to volume group "/dev/vgwwcomm03".
--- Volume groups ---
VG Name                     /dev/vgwwprod03
VG Write Access             read/write
VG Status                   available, exclusive
Max LV                      2047
Cur LV                      1
Open LV                     1
Cur Snapshot LV             0
Max PV                      2048
Cur PV                      2
Act PV                      2
Max PE per PV               131072
VGDA                        4
PE Size (Mbytes)            8
Unshare unit size (Kbytes)  1024
Total PE                    10236
Alloc PE                    9984
Current pre-allocated PE    0
Free PE                     252
Total PVG                   2
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  2.2
VG Max Size                 1t
VG Max Extents              131072
Cur Snapshot Capacity       0p
Max Snapshot Capacity       1t

   --- Logical volumes ---
   LV Name                     /dev/vgwwprod03/lvol1
   LV Status                   available/syncd
   LV Size (Mbytes)            39936
   Current LE                  4992
   Allocated PE                9984
   Used PV                     2


   --- Physical volumes ---
   PV Name                     /dev/disk/disk28
   PV Status                   available
   Total PE                    5118
   Free PE                     126
   Current pre-allocated PE    0
   Autoswitch                  On
   Proactive Polling           On

   PV Name                     /dev/disk/disk115
   PV Status                   available
   Total PE                    5118
   Free PE                     126
   Current pre-allocated PE    0
   Autoswitch                  On
   Proactive Polling           On


[root@wwux:/root]#
#->

------------------------

 

[root@wwux:/root]#
#-> cat /etc/lvmpvg
VG      /dev/vgwwprod01
PVG     PVG1vgwwprod01
/dev/disk/disk26
PVG     PVG2vgwwprod01
/dev/disk/disk90
VG      /dev/vgwwprod02
PVG     PVG1vgwwprod02
/dev/disk/disk27
PVG     PVG2vgwwprod02
/dev/disk/disk88
VG      /dev/vgwwprod03
PVG     PVG1vgwwprod03
/dev/disk/disk28
PVG     PVG2vgwwprod03
/dev/disk/disk115
VG      /dev/vgwwcomm01
PVG     PVG1vgwwcomm01
/dev/disk/disk89
PVG     PVG2vgwwcomm01
/dev/disk/disk67
VG      /dev/vgwwcomm02
PVG     PVG1vgwwcomm02
/dev/disk/disk86
PVG     PVG2vgwwcomm02
/dev/disk/disk69
VG      /dev/vgwwcomm03
PVG     PVG1vgwwcomm03
/dev/disk/disk110
PVG     PVG2vgwwcomm03
/dev/disk/disk72

-----------------------------

 

[root@wwux:/root]#
#-> strings /etc/lvmtab
/dev/vg00
/dev/disk/disk1_p2
[root@wwux:/root]#
#-> strings /etc/lvmtab_p
/dev/vgwwprod01
A0000000000000001Tue Apr 20 08:30:47 2010a142efd5-2c84-4137-8985-0bb336a0ca91
/dev/disk/disk26
/dev/disk/disk90
/dev/vgwwprod02
A0000000000000002Tue Apr 20 09:09:16 2010a142efd5-2c84-4137-8985-0bb336a0ca91
/dev/disk/disk27
/dev/disk/disk88
/dev/vgwwprod03
A0000000000000003Tue Apr 20 09:56:05 2010a142efd5-2c84-4137-8985-0bb336a0ca91
/dev/disk/disk28
/dev/disk/disk115
/dev/vgwwcomm01
A0000000000000001Wed Apr 21 08:53:17 2010f94c53b8-84aa-4e63-922e-40e14a313ec6
/dev/disk/disk89
/dev/disk/disk67
/dev/vgwwcomm02
A0000000000000002Wed Apr 21 09:04:58 2010f94c53b8-84aa-4e63-922e-40e14a313ec6
/dev/disk/disk86
/dev/disk/disk69
/dev/vgignite
A0000000000000004Wed Jul 28 08:58:00 2010a142efd5-2c84-4137-8985-0bb336a0ca91
/dev/disk/disk96
/dev/disk/disk105
/dev/disk/disk124
/dev/vgwwcomm03
A0000000000000003Wed Apr 21 09:09:55 2010f94c53b8-84aa-4e63-922e-40e14a313ec6
/dev/dsk/c18t0d3
/dev/dsk/c16t0d3
/dev/dsk/c28t0d3
/dev/dsk/c24t0d3
/dev/dsk/c9t0d3
/dev/dsk/c7t0d3
/dev/dsk/c11t0d3
/dev/dsk/c13t0d3
/dev/dsk/c5t1d0
/dev/dsk/c20t1d0
/dev/dsk/c22t1d0
/dev/dsk/c3t1d0
[root@wwux:/root]#

---------------------------

 

Thanks

 

 

 

Torsten.
Acclaimed Contributor

Re: Vgdisplay Error: Information in "/etc/lvmtab" or "/etc/lvmtab_p" differs fro

Now you have a differnt error message!

Are the outputs from the other server?


However, the lvmpvg lists agile devices, the lvmtab_p lists legacy devices. Consider to use "vgdsf" to convert.

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!   
valleysaint
Frequent Visitor

Re: Vgdisplay Error: Information in "/etc/lvmtab" or "/etc/lvmtab_p" differs fro

Torsten,

 

Thanks for your reply.

 

I read the 'vgdsf' document and got some understanding about its use.

 

But, since these are production systems, I would like to know the procedure with respect to my problem.

 

Can you help me with it?

 

Let me know if you need more info.

 

Thanks