I'm trying to create a single LVM volume on my SD card, using Ubuntu Netbook Remix. The SD card is at /dev/mmcblk0. So far, I've used fdisk to create a partition (type 8e - Linux LVM) on the device. The partiton is /dev/mmcblk0p1. However, when I run
sudo pvcreate /dev/mmcblk0p1
I only get this response:
Device /dev/mmcblk0p1 not found (or ignored by filtering).
As the Ubuntu Guide suggests, I've tried looking at my /etc/lvm/lvm.conf, but the filter seems to be ok - the problem remains even when the default option is enabled.
# By default we accept every block device:
filter = [ "a/.*/" ]
# Only devices beginning with "mmcblk":
# filter = [ "a|/dev/mmcblk.*|", "r/.*/" ]
I assume the problem is somewhere within the LVM configuration, since when I run sudo vgscan -vv with the default "accept every block device" configuration, it lists many devices being scanned - however not the /dev/mmcblk devices. When using the more restrictive filter, it scans no devices.
My complete /etc/lvm/lvm.conf is available online for inspection.
I've tried reading multiple guides about setting up LVM (1,2,3), but none of them seem to be of help with this issue.
Any ideas what is going wrong? How would I troubleshoot this issue further?