Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

pvcreate: WARNING!

Writer Andrew Henderson

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?

5

2 Answers

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?

dmesg|grep sdc
fdisk -l /dev/sdc
blkid
lsblk -f

(None of the above should change anything on any of the devices)

If it's about LVM's cache, you may need

pvscan --cache

to refresh it.

1

You should try:

sudo pvcreate -ff /dev/sdc1
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy