Cannot do `pvresize`

I’m trying to run pvmove to move a lvm physical partition, but it’s returning Required device-mapper target(s) not detected in your kernel.

This is on a single partition. Output of pvs:

  PV             VG    Fmt  Attr PSize    PFree
  /dev/nvme0n1p3 chunk lvm2 a--  <475.94g <109.94g

Do you just have to pvcreate on the device you’re trying to move to? And maybe add it to your volume group?

(Accidentally opened this topic early, whoops! Asking about pvmove was an xy problem)

The actual issue I have is that I’m trying to do pvresize --setphysicalvolumesize 470G /dev/nvme0n1p3, but get this output instead:

/dev/nvme0n1p3: Requested size 470.00 GiB is less than real size <475.94 GiB. Proceed?  [y/n]: y
  WARNING: /dev/nvme0n1p3: Pretending size is 985661440 not 998115983 sectors.
  /dev/nvme0n1p3: cannot resize to 120319 extents as later ones are allocated.
  0 physical volume(s) resized or updated / 1 physical volume(s) not resized