disable --cache on pvscan, we do not have lvmetad enabled

  # lvm pvscan --cache
  Command failed with status code 5.

  # lvm pvscan
  PV /dev/sda1   VG sys   lvm2 [8.00 GiB / 5.61 GiB free]
  Total: 1 [8.00 GiB] / in use: 1 [8.00 GiB] / in no VG: 0 [0   ]

probably correct would be check status code 5 and try without --cache argument