Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user@g.o
From: Neil Bothwick <neil@...>
Subject: Re: "lvm failed to start"
Date: Thu, 5 Apr 2012 22:42:39 +0100
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.
Attachment:
signature.asc (PGP signature)
Replies:
Re: "lvm failed to start"
-- Carlos Sura
References:
"lvm failed to start"
-- walt
Re: "lvm failed to start"
-- Dan Johansson
Re: "lvm failed to start"
-- Neil Bothwick
Re: "lvm failed to start"
-- Dan Johansson
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: "lvm failed to start"
Next by thread:
Re: "lvm failed to start"
Previous by date:
Re: Encrypted email
Next by date:
Re: WARNING dev-libs/icu-49.1 is BAD


Updated May 04, 2012

Summary: Archive of the gentoo-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.