You are not logged in.

#1 2011-02-13 22:23:35

amnesia
Member
Registered: 2011-02-13
Posts: 1

LVM nodes not created in /dev

Hi,

I recently installed arch on an usb-pin with two partitions:
/dev/sda1 = /boot
/dev/sda2 = LVM with 1 VG (name = 1)
The VG contains one LV (sys) which is used for /. The path to the LV in /dev is /dev/1/sys or /dev/mapper/1-sys.

The initramfs finds the usb device, scans for volume groups and is then able to mount and switch to /dev/mapper/1-sys as /. (I had to put lvmwait=/dev/sda in the kernel cmdline to get this to work.)

But when the initramfs has switched to the real system (/dev/mapper/1-sys) it says that /dev/mapper/1-sys can't be find and I get the option of being dropped to a shell or rebooting the system. If I drop myself to the shell I can see that the correct device is mounted on /, as it has all my files and /proc/mounts tells me that /dev/mapper/1-sys is mounted on / (which the initramfs accomplished). However, the node /dev/mapper/1-sys hasn't been created, just like vgchange -ay hasn't been run.

Is it a udev problem perhaps? What should I do?

EDIT: Perhaps I forgot to install some package? The LVM utils are installed though, since I can do lvscan etc. when I'm dropped to the shell.

Last edited by amnesia (2011-02-13 23:12:10)

Offline

Board footer

Powered by FluxBB