Operating System - HP-UX
1832761 Members
3219 Online
110045 Solutions
New Discussion

/etc/lvmtab is out of date problem !!

 
kpatel786
Frequent Advisor

/etc/lvmtab is out of date problem !!

more backup_all.01
Tue May 19 23:59:16 check if services are running
Tue May 19 23:59:16 check if filesystems already split
Tue May 19 23:59:16 initial check for split mirrors shows 0 already split
Tue May 19 23:59:16 App cache not running , next split filesystems
Tue May 19 23:59:16 check for split mirror
Tue May 19 23:59:16 initial check for split mirrors shows 0 already split
Tue May 19 23:59:16 Splitting the mirrors...
Tue May 19 23:59:16 process_fs starts for split of /data/jdw/live/CHSBACK.
Logical volume "/dev/vg00/chsbackbk" has been successfully created with
character device "/dev/vg00/rchsbackbk".
Logical volume "/dev/vg00/chsback" has been successfully split.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
log replay in progress
replay complete - marking super-block as CLEAN
Tue May 19 23:59:19 /data/jdw/live/CHSBACKbk mounted ok
Tue May 19 23:59:19 process_fs starts for split of /data/jdw/test.
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t1d2":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t1d2":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c10t1d2":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c8t1d2":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t1d2":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c8t1d2":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c10t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c10t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c8t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 2 disks for "/dev/vg02"; /etc/lvmtab has 4 disks.
Cannot proceed with backup.
Logical volume "/dev/vg02/testdbk" has been successfully created with
character device "/dev/vg02/rtestdbk".
Logical volume "/dev/vg02/testd" has been successfully split.
Tue May 19 23:59:20 process_fs starts for split of /data/jdw/backupsoc2.
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 2 disks for "/dev/vg07"; /etc/lvmtab has 4 disks.
Cannot proceed with backup.
Logical volume "/dev/vg07/warmsocsrv2bkupbk" has been successfully created with
character device "/dev/vg07/rwarmsocsrv2bkupbk".
Logical volume "/dev/vg07/warmsocsrv2bkup" has been successfully split.
Tue May 19 23:59:20 process_fs starts for split of /apps/jdw/soc2cache.
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 2 disks for "/dev/vg07"; /etc/lvmtab has 4 disks.
Cannot proceed with backup.
Logical volume "/dev/vg07/soc2cachebk" has been successfully created with
character device "/dev/vg07/rsoc2cachebk".
Logical volume "/dev/vg07/soc2cache" has been successfully split.
Tue May 19 23:59:20 process_fs starts for split of /data/jdw/train.
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t1d3":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t1d3":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c10t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c10t1d3":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c8t1d3":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c8t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t1d3":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c8t1d3":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c8t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c10t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c10t1d3":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d3":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c10t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c10t1d3":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c8t1d3":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c8t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 4 disks for "/dev/vg03"; /etc/lvmtab has 8 disks.
Cannot proceed with backup.
Logical volume "/dev/vg03/traindbk" has been successfully created with
character device "/dev/vg03/rtraindbk".
Logical volume "/dev/vg03/traind" has been successfully split.
Tue May 19 23:59:21 process_fs starts for split of /tmp/jdw.
Logical volume "/dev/vg00/tmpjdwbk" has been successfully created with
character device "/dev/vg00/rtmpjdwbk".
Logical volume "/dev/vg00/tmpjdw" has been successfully split.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
log replay in progress
replay complete - marking super-block as CLEAN
Tue May 19 23:59:23 /tmp/jdwbk mounted ok
Tue May 19 23:59:23 Issuing prompt:- backup_all failed - Error splitting file systems!


I am getting the above error on one my hpux server. On doing vgdisplay -v it gave :

ore backup_all.01
Tue May 19 23:59:16 check if services are running
Tue May 19 23:59:16 check if filesystems already split
Tue May 19 23:59:16 initial check for split mirrors shows 0 already split
Tue May 19 23:59:16 App cache not running , next split filesystems
Tue May 19 23:59:16 check for split mirror
Tue May 19 23:59:16 initial check for split mirrors shows 0 already split
Tue May 19 23:59:16 Splitting the mirrors...
Tue May 19 23:59:16 process_fs starts for split of /data/jdw/live/CHSBACK.
Logical volume "/dev/vg00/chsbackbk" has been successfully created with
character device "/dev/vg00/rchsbackbk".
Logical volume "/dev/vg00/chsback" has been successfully split.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
log replay in progress
replay complete - marking super-block as CLEAN
Tue May 19 23:59:19 /data/jdw/live/CHSBACKbk mounted ok
Tue May 19 23:59:19 process_fs starts for split of /data/jdw/test.
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t1d2":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t1d2":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c10t1d2":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c8t1d2":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t1d2":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c8t1d2":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c10t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c10t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c8t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 2 disks for "/dev/vg02"; /etc/lvmtab has 4 disks.
Cannot proceed with backup.
Logical volume "/dev/vg02/testdbk" has been successfully created with
character device "/dev/vg02/rtestdbk".
Logical volume "/dev/vg02/testd" has been successfully split.
Tue May 19 23:59:20 process_fs starts for split of /data/jdw/backupsoc2.
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 2 disks for "/dev/vg07"; /etc/lvmtab has 4 disks.
Cannot proceed with backup.
Logical volume "/dev/vg07/warmsocsrv2bkupbk" has been successfully created with
character device "/dev/vg07/rwarmsocsrv2bkupbk".
Logical volume "/dev/vg07/warmsocsrv2bkup" has been successfully split.
Tue May 19 23:59:20 process_fs starts for split of /apps/jdw/soc2cache.
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c10t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 2 disks for "/dev/vg07"; /etc/lvmtab has 4 disks.
Cannot proceed with backup.
Logical volume "/dev/vg07/soc2cachebk" has been successfully created with
character device "/dev/vg07/rsoc2cachebk".
Logical volume "/dev/vg07/soc2cache" has been successfully split.
Tue May 19 23:59:20 process_fs starts for split of /data/jdw/train.
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t1d3":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t1d3":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c10t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c10t1d3":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c8t1d3":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query physical volume "/dev/dsk/c8t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvsplit: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c10t1d3":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c8t1d3":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c8t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c10t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c10t1d3":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d3":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c10t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c10t1d3":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c8t1d3":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c8t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 4 disks for "/dev/vg03"; /etc/lvmtab has 8 disks.
Cannot proceed with backup.
Logical volume "/dev/vg03/traindbk" has been successfully created with
character device "/dev/vg03/rtraindbk".
Logical volume "/dev/vg03/traind" has been successfully split.
Tue May 19 23:59:21 process_fs starts for split of /tmp/jdw.
Logical volume "/dev/vg00/tmpjdwbk" has been successfully created with
character device "/dev/vg00/rtmpjdwbk".
Logical volume "/dev/vg00/tmpjdw" has been successfully split.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
log replay in progress
replay complete - marking super-block as CLEAN
Tue May 19 23:59:23 /tmp/jdwbk mounted ok
Tue May 19 23:59:23 Issuing prompt:- backup_all failed - Error splitting file systems!
================================>
================================>

One of my backup failes with the above error. For resolving this I did :

mv /etc/lvmtab /etc/lvmtab.bak
vgscan -av

This created new lvmtab file which has lesser entries then the original one and the vgdisplay error has resolved. I donot understand what exactly it did and what was the problem. It looks like it has removed all the alternate path entries. Kindly assist with your inputs.

P.S. There were no new changes done on the system.

================================>
================================>
The entries are as below:

# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t0d0s2
/dev/dsk/c2t1d0s2
/dev/vg01
/dev/dsk/c6t0d1
/dev/dsk/c6t0d2
/dev/dsk/c4t0d1
/dev/dsk/c4t0d2
/dev/vg05
/dev/dsk/c6t0d3
/dev/dsk/c4t0d3
/dev/vg03
/dev/dsk/c6t1d0
/dev/dsk/c6t1d3
/dev/dsk/c4t1d0
/dev/dsk/c4t1d3
/dev/vg07
/dev/dsk/c6t1d1
/dev/dsk/c4t1d1
/dev/vg02
/dev/dsk/c6t1d2
/dev/dsk/c4t1d2
socsrv2 (/etc) # strings /etc/lvmtab.bak
/dev/vg00
/dev/dsk/c2t0d0s2
/dev/dsk/c2t1d0s2
/dev/vg02
/dev/dsk/c6t1d2
/dev/dsk/c10t1d2
/dev/dsk/c8t1d2
/dev/dsk/c4t1d2
/dev/vg07
/dev/dsk/c6t1d1
/dev/dsk/c10t1d1
/dev/dsk/c8t1d1
/dev/dsk/c4t1d1
/dev/vg03
/dev/dsk/c6t1d0
/dev/dsk/c10t1d0
/dev/dsk/c6t1d3
/dev/dsk/c10t1d3
/dev/dsk/c4t1d0
/dev/dsk/c4t1d3
/dev/dsk/c8t1d3
/dev/dsk/c8t1d0
/dev/vg01
/dev/dsk/c6t0d1
/dev/dsk/c6t0d2
/dev/dsk/c4t0d1
/dev/dsk/c4t0d2
/dev/dsk/c10t0d1
/dev/dsk/c10t0d2
/dev/dsk/c8t0d1
/dev/dsk/c8t0d2
/dev/vg05
/dev/dsk/c6t0d3
/dev/dsk/c4t0d3
/dev/dsk/c10t0d3
/dev/dsk/c8t0d3

4 REPLIES 4
Nido
Trusted Contributor

Re: /etc/lvmtab is out of date problem !!

Patel Sahab,

Inquire if any activity has been performed on the server. These messages show that disks are missing from the host while disks entries are still in VGs.

>>>>vgcfgbackup: Couldn't query physical volume "/dev/dsk/c8t1d0":
The specified path does not correspond to physical volume attached to
this volume group

This message says device c8t1d0 is not found.
Check the status of the device with ioscan.

#ioscan -fnC disk /dev/dsk/c8t1d0

Check the /var/adm/syslog/syslog.log and see if you can find any message regarding these devices.


>>>>This created new lvmtab file which has lesser entries then the original one and the vgdisplay error has resolved. I donot understand what exactly it did and what was the problem. It looks like it has removed all the alternate path entries. Kindly assist with your inputs.


This is expected while running vgscan. Please check man page: vgscan


Thanks,



" Let Villagers Be Happy!! "
Suraj K Sankari
Honored Contributor

Re: /etc/lvmtab is out of date problem !!

Hi,
Some time we need to re-construct /etc/lvmtab when the system is running production
application, vgscan will create a partial /etc/lvmtab. In this case, most of the primary paths should
be included in the /etc/lvmtab.
before running the vgscan take a backup of /etc/lvmtab then run vgscan -v

For more detail see the man pages of vgscan.

Suraj
Anoop P_2
Regular Advisor

Re: /etc/lvmtab is out of date problem !!

Your point of interest:

" I donot understand what exactly it did and what was the problem. "

"vgscan" scans all connected luns for lvm headers, correlates them, groups them and builds the /etc/lvmtab file.

#man vgscan - for more details

Quite handy if your lvmtab file got deleted. But there are caveats. If you found similar errors like "Could not query.. does not correspond to pv attached to this vg" etc. it can be due to many reasons.

First thing to do is to ensure all your logical volumes are accessible. If that is the case, make sure you do not have BC/CA configured or any thing is amiss there. In fact if you have any thing like that configured, vgscan may not be a good idea (These are storage level configs, but still many times they become visible to the system and can interfere with vgscan)

Remember, vgscan cannot scan disks that are not available to the system when it scans. Means if a group of luns are not available, and you do vgscan, you lose existing config for a vg if those luns belonged to that vg!

In this case it resolved the errors since it scanned all luns it saw and recreated lvmtab and now vg/lvm commands refer to the new lvmtab for any operation.
johnsonpk
Honored Contributor

Re: /etc/lvmtab is out of date problem !!

Hi,

Could you please Paste output of below vgdisplay -v ..just to make sure the links are missing..
is this disks are from SAN?
Is there any mutipathing software?

Thanks!
Johnson