You are not logged in.

#1 2011-11-21 17:02:42

Angrist
Member
Registered: 2011-11-21
Posts: 2

Open failed "Activating logical volumes" with Custom Kernel

Hello.

I have a problem after compiling a custom kernel with lvm.

When I load the custom kernel initramfs shows:

:: Running Hook [lvm2]
Activating logical volumes ...
4 logical volume (s) in volumn group "vg" now active
/ dev / mapper / vg-root: open failed: No such file or directory
/ dev / mapper / vg-var: open failed: No such file or directory
/ dev / mapper / vg-swap: open failed: No such file or directory
/ dev / mapper / vg-home: open failed: No such file or directory

Then continue with no problem rc.sysinit script and mount the file system.

Everything seems to work correctly, but I don't know why it shows that message during boot.

When I load linux kernel ARCH, that message dont appears.


Thanks

Offline

#2 2011-11-25 04:12:16

llawwehttam
Member
From: United Kingdom
Registered: 2010-01-19
Posts: 181

Re: Open failed "Activating logical volumes" with Custom Kernel

Welcome to the forum.

This thread seems to have a very similar problem and provides a solution:

http://forums.gentoo.org/viewtopic-t-84 … a15df06fa2

Offline

#3 2011-11-25 16:42:30

Angrist
Member
Registered: 2011-11-21
Posts: 2

Re: Open failed "Activating logical volumes" with Custom Kernel

Thanks for answering.

I read the post you mention and helped me to approach the problem, but I have not solved.

I modified initramfs image, calling a shell before receiving these messages, when the script tries to run the lvm2 hook.

I tried running the following commands manually

lvm
vgscan
vgchange-ay

The last command gives the error. Curiously, if I run it a second time, it works.

Offline

Board footer

Powered by FluxBB