You are not logged in.

#1 2007-03-25 06:18:17

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 135

lvm not creating the "special files" in /dev after update

After installing the quite massive amounts of updates, I rebooted.
I could not log in, since my /home wasn't mounted because vlm had'nt created the special files needed for volume group devices in /dev.

Manually running

sudo lvm vgmknodes

creates them and /home is mountable again.

btw, still on 2.6.19-beyond. (atleast for a while longer)

Whats the problem, and is there a temporary fix for this? (eg. creating them manually from rc.local with the above command)

Offline

#2 2007-03-25 12:05:25

enrique
Member
Registered: 2005-10-25
Posts: 95
Website

Re: lvm not creating the "special files" in /dev after update

Sry this is just a "me to" post sad

If you find a solution, please post it, I will do the same.

P.s. I have /usr /var /home /opt on lvm smile


Kind regards, enrique

Offline

#3 2007-03-25 13:09:31

enrique
Member
Registered: 2005-10-25
Posts: 95
Website

Re: lvm not creating the "special files" in /dev after update

Hm, no succes so far. Chrooted in and downgraded lvm and coreutil packages, but that did not make any difference.

I was able to log in as root and do a lvm vgmknodes as suggested, but that also did not difference.


Kind regards, enrique

Offline

#4 2007-03-25 13:17:23

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,328

Re: lvm not creating the "special files" in /dev after update

me is working on a fix atm with a guy from irc

Offline

#5 2007-03-25 13:40:07

enrique
Member
Registered: 2005-10-25
Posts: 95
Website

Re: lvm not creating the "special files" in /dev after update

Ok, cool, any idea if the problem is caused by coreutils or a bug in lvm? mayby lvm should have been statically linked with some lib and it is not?


Kind regards, enrique

Offline

#6 2007-03-25 17:05:43

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 135

Re: lvm not creating the "special files" in /dev after update

tpowa wrote:

me is working on a fix atm with a guy from irc

Sounds great. Let us now if you guys come up with somehing. smile

Offline

#7 2007-03-25 20:28:33

Skwisgaar
Member
Registered: 2007-03-25
Posts: 3

Re: lvm not creating the "special files" in /dev after update

Same here after an update this morning, but vgmknodes worked for me.

However the problem does not seem to be limited to LVM, because now I can't mount my TrueCrypt drives (which also use the device mapper):

# truecrypt secret.tc /crypt
Enter password for 'secret.tc':
mount: special device /dev/mapper/truecrypt0 does not exist
truecrypt: Mount failed

Offline

#8 2007-03-25 20:52:58

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: lvm not creating the "special files" in /dev after update

Update your system to get the latest versions of device-mapper, udev, and klibc-udev, released today. They include tpowa's fix.

Offline

#9 2007-03-25 21:08:21

Skwisgaar
Member
Registered: 2007-03-25
Posts: 3

Re: lvm not creating the "special files" in /dev after update

That solved the problem. Thanks tomk!

Offline

#10 2007-03-26 07:57:05

enrique
Member
Registered: 2005-10-25
Posts: 95
Website

Re: lvm not creating the "special files" in /dev after update

That sounds nice, I will do it as soon as I get home from work. Thanks for the quick fix!


Kind regards, enrique

Offline

#11 2007-03-26 09:26:17

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 135

Re: lvm not creating the "special files" in /dev after update

Same here, will do when I get home from work. Thanks, that was fast smile

Offline

#12 2007-03-26 11:15:11

sven
Member
Registered: 2005-02-01
Posts: 311

Re: lvm not creating the "special files" in /dev after update

I had the same problem with my device mapper partitions - and the latest update fixed it. Thanks!

Offline

Board footer

Powered by FluxBB