vgscan output this error
ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of volume
group "vgappl01" from physicalvolume(s)
1) Check the backups on /etc/lvmconf/
NOTE: I recommend make backup of this dir to tape or external media
2) Check PVS
# pvdisplay /dev/sdxn
If some PV output no informations use that.
3) Recreate PV on partition or disk
# pvcreate /dev/sdb1
4) Make restore of VG on disk
# vgcfgrestore -n vgappl01 /dev/sdb1 vgcfgrestore -- INFO: using backup
file "/etc/lvmconf/vgappl01.conf" vgcfgrestore -- VGDA for "vgappl01"
successfully restored to physical volume "/dev/sdb1"
5) Run pvscan
# pvscan pvscan -- reading all physical volumes (this may take a
while...) pvscan -- inactive PV "/dev/vpatha1" is associated to unknown
VG "vgappl01" (run vgscan) pvscan -- inactive PV "/dev/vpathb1" is
associated to unknown VG "vgappl01" (run vgscan) pvscan -- ACTIVE PV
"/dev/sda3" of VG "rootvg" [52.49 GB / 37.31 GB free] pvscan --
inactive PV "/dev/sdb1" is associated to unknown VG "vgappl01" (run
vgscan) pvscan -- inactive PV "/dev/sdc1" is associated to unknown
VG "vgappl01" (run vgscan) pvscan -- inactive PV "/dev/sdd1" is
associated to unknown VG "vgappl01" (run vgscan) pvscan -- inactive PV
"/dev/sde1" is associated to unknown VG "vgappl01" (run vgscan)
pvscan -- inactive PV "/dev/sdf1" is associated to unknown VG
"vgappl01" (run vgscan) pvscan -- inactive PV "/dev/sdg1" is
associated to unknown VG "vgappl01" (run vgscan) pvscan -- inactive PV
"/dev/sdh1" is associated to unknown VG "vgappl01" (run vgscan)
pvscan -- inactive PV "/dev/sdi1" is associated to unknown VG
"vgappl01" (run vgscan) pvscan -- total: 11 [402.42 GB] / in use: 11
[402.42 GB] / in no VG: 0 [0]
6) run vgscan
# vgscan vgscan -- reading all physical volumes (this may take a
while...) vgscan -- found active volume group "vgappl01" vgscan -- found
active volume group "rootvg" vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d"
successfully created vgscan -- WARNING: This program does not do a VGDA
backup of your volume groups
7) For your security, make new backup
# vgcfgbackup vgcfgbackup -- volume groups found: rootvg vgappl01
vgcfgbackup -- successful VGDA backup of volume group "rootvg" to
"/etc/lvmconf/rootvg.conf" vgcfgbackup -- successful VGDA backup of
volume group "vgappl01" to "/etc/lvmconf/vgappl01.conf"
Reference: http://kbase.redhat.com/faq/docs/DOC-5537
Comments !