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


Groups > linux.debian.user > #166016

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

From Jari Fredriksson <jarif@iki.fi>
Newsgroups linux.debian.user
Subject Re: Jessie unable to start lvm2 on boot (raspbian)
Date 2016-03-27 19:10 +0200
Message-ID <rhmml-2Ya-9@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> <rhh3k-7za-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Elimar Riesebieter kirjoitti 27.3.2016 14:23:
> * 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
> 

Thanks! I'll give that a shot.

-- 
jarif.bit

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