Hi Roger,
I have tried this with the older LVM package(.176) and this issue was not seen. Issue was seen with .180 version every time.
# executing command: vgchange -ay
(status, output): (0, WARNING: Failed to connect to lvmetad. Falling back to device scanning.)
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
# executing command: pvcreate -ffy /dev/sda3
(status, output): (5, WARNING: Failed to connect to lvmetad. Falling back to device scanning.
Error reading device /dev/sda3 at 0 length 4096.
Error reading device /dev/ram0 at 0 length 4096.
Error reading device /dev/loop0 at 0 length 4096.
Error reading device /dev/sda at 0 length 512.
Error reading device /dev/sda at 0 length 4096.
Error reading device /dev/ram1 at 0 length 4096.
Error reading device /dev/sda1 at 0 length 4096.
Error reading device /dev/ram2 at 0 length 4096.
Error reading device /dev/sda2 at 0 length 4096.
Error reading device /dev/ram3 at 0 length 4096.
Error reading device /dev/ram4 at 0 length 4096.
Error reading device /dev/ram5 at 0 length 4096.
Error reading device /dev/ram6 at 0 length 4096.
Error reading device /dev/ram7 at 0 length 4096.
Error reading device /dev/ram8 at 0 length 4096.
Error reading device /dev/ram9 at 0 length 4096.
Error reading device /dev/ram10 at 0 length 4096.
Error reading device /dev/ram11 at 0 length 4096.
Error reading device /dev/ram12 at 0 length 4096.
Error reading device /dev/ram13 at 0 length 4096.
Error reading device /dev/ram14 at 0 length 4096.
Error reading device /dev/ram15 at 0 length 4096.
Device /dev/sda3 excluded by a filter.)
Failed to execute command: pvcreate -ffy /dev/sda3
ec=0
I have tried with different options of pvcreate but didnt helped much. After the system got halted with the above error, i tried to executing pvs command but got the below error.
bash-4.4# pvs
Error reading device /dev/ram0 at 0 length 4096.
Error reading device /dev/loop0 at 0 length 4096.
Error reading device /dev/sda at 0 length 512.
Error reading device /dev/sda at 0 length 4096.
Error reading device /dev/ram1 at 0 length 4096.
Error reading device /dev/sda1 at 0 length 4096.
Error reading device /dev/ram2 at 0 length 4096.
Error reading device /dev/sda2 at 0 length 4096.
Error reading device /dev/ram3 at 0 length 4096.
Error reading device /dev/sda3 at 0 length 4096.
Error reading device /dev/ram4 at 0 length 4096.
Error reading device /dev/sda4 at 0 length 4096.
Error reading device /dev/ram5 at 0 length 4096.
Error reading device /dev/ram6 at 0 length 4096.
Error reading device /dev/ram7 at 0 length 4096.
Error reading device /dev/ram8 at 0 length 4096.
Error reading device /dev/ram9 at 0 length 4096.
Error reading device /dev/ram10 at 0 length 4096.
Error reading device /dev/ram11 at 0 length 4096.
Error reading device /dev/ram12 at 0 length 4096.
Error reading device /dev/ram13 at 0 length 4096.
Error reading device /dev/ram14 at 0 length 4096.
Error reading device /dev/ram15 at 0 length 4096.
Error reading device /dev/sdb at 0 length 512.
Error reading device /dev/sdb at 0 length 4096.
Error reading device /dev/sdb1 at 0 length 4096.
Error reading device /dev/sdb2 at 0 length 4096.
Error reading device /dev/sdb3 at 0 length 4096.
Read-only locking type set. Write locks are prohibited.
Recovery of standalone physical volumes failed.
Cannot process standalone physical volumes
bash-4.4#
Attached the complete log in initial mail.
Thanks.