pvscan Shows 'There are # physical volumes missing', but these PVs really exist.
(Doc ID 2412066.1)
Last updated on JULY 28, 2020
Applies to:
Oracle Cloud Infrastructure - Version N/A and laterLinux OS - Version Oracle Linux 6.9 with Unbreakable Enterprise Kernel [4.1.12] and later
Linux x86-64
Symptoms
The output of pvscan command shows 'There are # physical volumes missing', but these physical volumes indeed exist and work well.
# pvscan -v -d
WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!
Using physical volume(s) on command line.
Wiping cache of LVM-capable devices
Wiping internal VG cache
There are 3 physical volumes missing. <<----
WARNING: Device mismatch detected for VGExaDb/LVDbSys1 which is accessing /dev/xvda2, /dev/xvde1 instead of (null).
WARNING: Device mismatch detected for VGExaDb/LVDbSys2 which is accessing /dev/xvdd1, /dev/xvde1 instead of (null).
WARNING: Device mismatch detected for VGExaDb/LVDbOra1 which is accessing /dev/xvdd1 instead of (null).
WARNING: Device mismatch detected for VGExaDb/LVDbSwap1 which is accessing /dev/xvdd1 instead of (null).
WARNING: Device mismatch detected for VGExaDb/LVDoNotRemoveOrUse which is accessing /dev/xvdd1 instead of (null).
WARNING: Device mismatch detected for VGExaDb/LVDbVdR2D201VM04DBFSC4 which is accessing /dev/xvda2 instead of (null).
There are 3 physical volumes missing. <<----
PV /dev/xvda2 VG VGExaDb lvm2 [24.50 GiB / 0 free] <<---- exists
PV /dev/xvdd1 VG VGExaDb lvm2 [62.00 GiB / 0 free] <<---- exists
PV /dev/xvde1 VG VGExaDb lvm2 [96.00 GiB / 23.36 GiB free] <<---- exists
PV /dev/xvdf VG VGExaDb lvm2 [150.00 GiB / 20.00 GiB free]
Total: 4 [332.48 GiB] / in use: 4 [332.48 GiB] / in no VG: 0 [0 ]
# ls /dev/xvd*
... /dev/xvda2 ... /dev/xvdd1 ... /dev/xvde1 /dev/xvdf ...
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |