I have a freshly installed Ubuntu Server 20.04 on which I am attempting to create an LVM storage pool with a Logical Volume which I created on OS installation.
However I get the following error when attempting to create the storage pool:
$ lxc storage create test lvm source=/dev/ubuntu-vg/lxd-storage Error: Failed to run: pvcreate /dev/ubuntu-vg/lxd-storage: Failed to clear hint file. Device /dev/ubuntu-vg/lxd-storage excluded by a filter.
I have previously created the storage pool multiple times with the same steps and have not observed this error.
/etc/lvm/lvm.conf file has all filters commented out by default.
Following are details regarding the Logical Volume:
$ sudo lvdisplay -v /dev/ubuntu-vg/lxd-storage --- Logical volume --- LV Path /dev/ubuntu-vg/lxd-storage LV Name lxd-storage VG Name ubuntu-vg LV UUID SusZnB-2crM-IblT-6Ovc-KA9v-YeVL-LroQ1c LV Write Access read/write LV Creation host, time ubuntu-server, 2021-08-17 11:39:32 +0000 LV Status available # open 0 LV Size 829.98 GiB Current LE 212476 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:1
Any tips are appreciated.