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


Groups > linux.debian.user > #166014

Re: Jessie unable to start lvm2 on boot (raspbian)

From Elimar Riesebieter <riesebie@lxtec.de>
Newsgroups linux.debian.user
Subject Re: Jessie unable to start lvm2 on boot (raspbian)
Date 2016-03-27 13:30 +0200
Message-ID <rhh3k-7za-3@gated-at.bofh.it> (permalink)
References <rdIls-MU-21@gated-at.bofh.it> <rdIv7-Qo-11@gated-at.bofh.it> <rhgJX-7nf-1@gated-at.bofh.it>
Organization LXTEC

Show all headers | View raw


* Jari Fredriksson <jarif@iki.fi> [2016-03-27 14:02 +0300]:

> arian kirjoitti 17.3.2016 17:50:
> >raspbian is not mainline debian. Maybe ask on raspbian support channels?
> >
> >>vgchange -a y
> >>service lvm2 start
> >>mount -a
> >
> >why the service lvm2 start? is lvm service disabled?
> >
> >please provide output of those commands.
> >
> >>Every time after a reboot the boot sequence aborts and sshd is not up
> >>(maybe because the /home is an lvm2-partition...)
> >
> >sshd should not bother about /home not being available. default setups
> >won't find users' authorized keys anymore obviously.
> 
> Output from those commands is expected: the services start.
> 
> They do not start on boot for *some reason I'm trying to figure out here in
> this post*. The "fix" to make the services startable seems to be the
> "vgchange -a". The boot process just cancels and no services will be up,
> including the sshd...
> 
> But why is this like it is...

Workaround:
cat /etc/initramfs-tools/scripts/local-top/vgscan

#!/bin/sh
vgchange -ay

Elimar
-- 
  "Talking much about oneself can also
   be a means to conceal oneself."
         -Friedrich Nietzsche

Back to linux.debian.user | Previous | Next — Previous in thread | 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