Gentoo Archives: gentoo-user

From: Carlos Sura <carlos.sura1@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] "lvm failed to start"
Date: Sat, 07 Apr 2012 08:49:39
In Reply to: Re: [gentoo-user] "lvm failed to start" by Neil Bothwick
On 5 April 2012 15:42, Neil Bothwick <neil@××××××××××.uk> wrote:

> On Thu, 05 Apr 2012 17:59:42 +0200, Dan Johansson wrote: > > > > > I have a similar thing on my ~x86, but the difference is that I know > > > > why I get it. I have successfully be able to create an initramfs > > > > that does a vgscan, vgchange -a y and mounts /usr (which is on > > > > LVM). But now I (naturally) I get "LVM failed to start" (and of > > > > cause "failed to mount /usr) when openrc processes the > > > > init-scripts. > > > > > > This is not down to your initramfs, see the previously linked bug. > > > > What do you mean by "This is not down to your initramfs"? > > With the new "C:\" concept of udev /usr needs to be mounted > > before /sbin/init is run and as I am using LVM, LVM needs to be started > > before /sbin/init as well - or have I missed something here? > > You are getting this error from openrc, which means the initramfs > has already done its stuff and passed control to init on the real root > partition. At this point /usr is already mounted, it is the openrc > startup of LVM that is failing, because it is trying to write a lockfile > to a read-only filesystem, which would be the case even if you were not > using an initramfs. > > The problem is that it is trying to write to /var/lock, which is on / at > this point, rather than /run/lock, which is on a writeable tmpfs. > > > -- > Neil Bothwick > > Bus: (n.) a connector you plug money into, something like a slot machine. >
I got this error, and saw a bugfile on Gentoo, just downgrade to your previous working version and you will get it working again. -- Carlos Sura.-


Subject Author
Re: [gentoo-user] "lvm failed to start" Neil Bothwick <neil@××××××××××.uk>