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)

From Jari Fredriksson <jarif@iki.fi>
Newsgroups linux.debian.user
Subject Jessie unable to start lvm2 on boot (raspbian)
Date 2016-03-17 16:50 +0100
Message-ID <rdIls-MU-21@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | 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