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: Carlos Sura <carlos.sura1@...>
Subject: Re: "lvm failed to start"
Date: Sat, 7 Apr 2012 02:47:41 -0600
<br><br><div class="gmail_quote">On 5 April 2012 15:42, Neil Bothwick <span dir="ltr">&lt;<a href="mailto:neil@...">neil@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, 05 Apr 2012 17:59:42 +0200, Dan Johansson wrote:<br>
<br>
&gt; &gt; &gt; I have a similar thing on my ~x86, but the difference is that I know<br>
&gt; &gt; &gt; why I get it. I have successfully be able to create an initramfs<br>
&gt; &gt; &gt; that does a vgscan, vgchange -a y and mounts /usr (which is on<br>
&gt; &gt; &gt; LVM). But now I (naturally) I get &quot;LVM failed to start&quot; (and of<br>
&gt; &gt; &gt; cause &quot;failed to mount /usr) when openrc processes the<br>
&gt; &gt; &gt; init-scripts.<br>
&gt; &gt;<br>
&gt; &gt; This is not down to your initramfs, see the previously linked bug.<br>
&gt;<br>
&gt; What do you mean by &quot;This is not down to your initramfs&quot;?<br>
&gt; With the new &quot;C:\&quot; concept of udev /usr needs to be mounted<br>
&gt; before /sbin/init is run and as I am using LVM, LVM needs to be started<br>
&gt; before /sbin/init as well - or have I missed something here?<br>
<br>
You are getting this error from openrc, which means the initramfs<br>
has already done its stuff and passed control to init on the real root<br>
partition. At this point /usr is already mounted, it is the openrc<br>
startup of LVM that is failing, because it is trying to write a lockfile<br>
to a read-only filesystem, which would be the case even if you were not<br>
using an initramfs.<br>
<br>
The problem is that it is trying to write to /var/lock, which is on / at<br>
this point, rather than /run/lock, which is on a writeable tmpfs.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Neil Bothwick<br>
<br>
Bus: (n.) a connector you plug money into, something like a slot machine.<br>
</font></span></blockquote></div><br><br clear="all"><div>I got this error, and saw a bugfile on Gentoo, just downgrade to your previous working version and you will get it working again.</div>-- <br><div>Carlos Sura.-</div>
<div><a href="http://www.carlossura.com/" target="_blank">www.carlossura.com</a></div><br>
Replies:
Re: "lvm failed to start"
-- Neil Bothwick
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
Re: "lvm failed to start"
-- Neil Bothwick
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:
/etc/pm/sleep.d/ problem
Next by date:
Re: FFTOOLS flags?


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.