You are not logged in.

#1 2011-09-10 08:43:02

btw0
Member
Registered: 2006-06-25
Posts: 9

udev doesn't make LVM device nodes on boot

I have recently upgraded (``pacman -Syu'' ) my netbook. It's a massive upgrade since I hadn't done that for a while. After reboot however, fsck.ext4 complained it could't resolve the disk label since my root partition is on a LVM logical partition, it turned out udev failed to make appropriate devices nodes for LVM logical partitions.

In rescue mode, running ```vgmknodes && mount -a'' will have everything back again, but that's not a solution in the long run.

Offline

#2 2011-09-11 20:23:14

SIFTU
Member
Registered: 2011-09-11
Posts: 4

Re: udev doesn't make LVM device nodes on boot

I had the same problem with my laptop running LVM & LUKS. As I update often so I found the offending package was the new version of sysvinit. sysvinit-2.88-2 seems to work for me.

Offline

#3 2011-09-11 21:17:01

jakobm
Member
Registered: 2008-03-24
Posts: 132

Re: udev doesn't make LVM device nodes on boot

SIFTU wrote:

As I update often so I found the offending package was the new version of sysvinit.

Can you check this again please? I do not see how the relevant change can cause that.

Offline

#4 2011-09-11 22:40:33

SIFTU
Member
Registered: 2011-09-11
Posts: 4

Re: udev doesn't make LVM device nodes on boot

jakobm, maybe its something with my setup but I tried again with the new sysvinit and confirmed it broke my boot. Like the first poster my volume group is not even a device in /dev. I get the message

/etc/rc.sysinit: line 15: mountpoint: command not found

Offline

#5 2011-09-11 22:57:14

SIFTU
Member
Registered: 2011-09-11
Posts: 4

Re: udev doesn't make LVM device nodes on boot

well apparently its some known bug in pacman.. performing a "sudo pacman -S sysvinit; sudo pacman -S util-linux" fixed the problem of the missing mountpoint command

Offline

#6 2011-09-12 18:51:09

btw0
Member
Registered: 2006-06-25
Posts: 9

Re: udev doesn't make LVM device nodes on boot

SIFTU wrote:

well apparently its some known bug in pacman.. performing a "sudo pacman -S sysvinit; sudo pacman -S util-linux" fixed the problem of the missing mountpoint command

That solved my problem too, thanks!

Offline

#7 2011-09-12 20:04:29

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: udev doesn't make LVM device nodes on boot

Tip:  change the subject line of the first post to SOLVED for others to find later in their searches.  That or you risk the wrath of some random admin. smile

Offline

Board footer

Powered by FluxBB