I'm currently messing around creating LVMs on an external drive and think I may have deleted something by mistake!
When I run pvcreate /dev/sdc1
to create my physical volume, I get this message:
WARNING: Device for PV 0JAtDx-VWuk-Xv7E-SVHl-saUz-5JFI-IQ4Jq6 not found or rejected by a filter.
Yet pv
is still created?
Any ideas?
There might be some stale information, either in the kernel or cached by the LVM tools, about the data on
/dev/sdc
or/dev/sdc1
that was suggesting this device is suspicious to be used as a PV storage. Can you check the following commands if everything is as you expect them to be, and no errors show up?(None of the above should change anything on any of the devices)
If it's about LVM's cache, you may need
to refresh it.
You should try: