While I have already found the commented-out lvm support entry in udev.rules (which creates my volume group and logical volume entries in /dev), udev isn't creating the /dev/mapper entries, and as the lvm entries are symlinks to the mapper entries, they don't work.
How/ what must I do to get udev to create the /dev/mapper entries?
As a workaround, I have edited the two vgscan calls in rc.S to include the --mknodes option, but is this really the best way?
Additionally, Why is the lvm entry in udev.rules commented out in the first place? Support for LVM isn't commented out in rc.S.
I'm running 18.104.22.168.
Wooo wait. Just about to post, but I found this commented-out line in udev.rules (around like 119):
#KERNEL=="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK+="%c"
Is that what I'm missing? I guess I'll reboot and try.
*Edit: That didn't work, and /sbin/devmap_name doesn't even exist. I softlinked dmsetup to it, and in /dev now I get nodes like /dev/main-usr /dev/main-var which work, and soft link to /dev/dm-0, dm-1, etc, but /dev/main/[usr,var] still link to /dev/mapper/dm-0 which doesn't exist. Is something missing in the start up? Is my initrd wrong?