Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #165529

Jessie unable to start lvm2 on boot (raspbian)

Path csiph.com!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Jari Fredriksson <jarif@iki.fi>
Newsgroups linux.debian.user
Subject Jessie unable to start lvm2 on boot (raspbian)
Date Thu, 17 Mar 2016 16:50:02 +0100
Message-ID <rdIls-MU-21@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-user-request@lists.debian.org Thu Mar 17 15:45:40 2016
Old-Return-Path <jarif@iki.fi>
X-Amavis-Spam-Status No, score=-7.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, MDO_CABLE_TV3=0.5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5
X-Greylist delayed 452 seconds by postgrey-1.35 at bendel; Thu, 17 Mar 2016 15:45:25 UTC
Razorgate-Kas Status: not_detected
Razorgate-Kas Rate: 0
Razorgate-Kas Envelope from:
Razorgate-Kas Version: 5.5.3
Razorgate-Kas LuaCore: 80 2014-11-10_18-01-23 260f8afb9361da3c7edfd3a8e3a4ca908191ad29
Razorgate-Kas Lua profiles 69136 [Nov 12 2014]
Razorgate-Kas Method: none
MIME-Version 1.0
Content-Type text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding 7bit
X-Sender jarif@iki.fi
User-Agent Roundcube Webmail/1.1.4
X-Mailing-List <debian-user@lists.debian.org> archive/latest/705016
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/b6175f16b3b771d8bf58edea40eaa1ef@mail.fredriksson.dy.fi
Approved robomod@news.nic.it
Lines 32
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 17 Mar 2016 17:37:37 +0200
X-Original-Message-ID <b6175f16b3b771d8bf58edea40eaa1ef@mail.fredriksson.dy.fi>
Xref csiph.com linux.debian.user:165529

Show key headers only | View raw


I have an USB connected hard disk on my raspberry, and that is used via 
lvm2.

This worked as charm in wheezy, but after I upgraded to jessie it does 
not work. Every time after a reboot the boot sequence aborts and sshd is 
not up (maybe because the /home is an lvm2-partition...) and I have to 
connect a monitor and keyboard into the normally headless box.

There I have the following snippets in my /etc/rc.local

vgchange -a y
service lvm2 start
mount -a

(and then the starts of various services depending on the newly mounted 
parts...)


I have to enter root password to enter recovery mode in the boot 
sequence, and the run the /etc/rc.local not once, but twice, and after 
everything seems ok I have to systemctl default and disconnect the 
cables.

Very irritating. I would be very grateful if someone with similar 
problems had a cure for this!

Thanks.


-- 
jarif.bit

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Jessie unable to start lvm2 on boot (raspbian) Jari Fredriksson <jarif@iki.fi> - 2016-03-17 16:50 +0100
  Re: Jessie unable to start lvm2 on boot (raspbian) arian <debian@semioptimal.net> - 2016-03-17 17:00 +0100
    Re: Jessie unable to start lvm2 on boot (raspbian) Jari Fredriksson <jarif@iki.fi> - 2016-03-27 13:00 +0200
    Re: Jessie unable to start lvm2 on boot (raspbian) Jari Fredriksson <jarif@iki.fi> - 2016-03-27 13:10 +0200
      Re: Jessie unable to start lvm2 on boot (raspbian) Elimar Riesebieter <riesebie@lxtec.de> - 2016-03-27 13:30 +0200
        Re: Jessie unable to start lvm2 on boot (raspbian) Jari Fredriksson <jarif@iki.fi> - 2016-03-27 19:10 +0200

csiph-web