Path: csiph.com!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Jari Fredriksson Newsgroups: linux.debian.user Subject: Jessie unable to start lvm2 on boot (raspbian) Date: Thu, 17 Mar 2016 16:50:02 +0100 Message-ID: X-Mailbox-Line: From debian-user-request@lists.debian.org Thu Mar 17 15:45:40 2016 Old-Return-Path: 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: archive/latest/705016 List-ID: List-URL: 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: Xref: csiph.com linux.debian.user:165529 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