public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Hampicke <mh@hadt.biz>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] dracut vs. genkernel
Date: Wed, 12 Jun 2013 17:54:58 +0200	[thread overview]
Message-ID: <51B899D2.7060905@hadt.biz> (raw)
In-Reply-To: <51B85652.1040702@xunil.at>

[-- Attachment #1: Type: text/plain, Size: 799 bytes --]

Am 12.06.2013 13:06, schrieb Stefan G. Weichinger:
> 
> I am currently trying to find out why my LVM2-volumes aren't activated
> correctly at boot time. I am using packages from the overlay
> systemd-love as I run systemd as init-system (why? that's another
> discussion ;-) ).

When you find a solution, I'd be interested :) Having the same problem,
also running grub2, systemd, lvm.

This is my current work-around

$ cat /etc/systemd/system/lvm.service
[Unit]
Description=Load LVM

[Service]
Type=oneshot
ExecStart=/sbin/pvscan
ExecStart=/sbin/vgscan --mknodes
ExecStart=/sbin/vgchange --sysinit -a ly
ExecStart=/usr/bin/sleep 1
ExecStart=/bin/mount -o noatime /dev/vg1/a	/mnt/a
ExecStart=/bin/mount -o noatime /dev/vg1/b	/mnt/b

[Install]
WantedBy=multi-user.target


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  parent reply	other threads:[~2013-06-12 15:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-12 11:06 [gentoo-user] dracut vs. genkernel Stefan G. Weichinger
2013-06-12 11:08 ` Stefan G. Weichinger
2013-06-12 15:53   ` Canek Peláez Valdés
2013-06-12 17:50     ` Stefan G. Weichinger
2013-06-12 18:24       ` Stefan G. Weichinger
2013-06-12 15:54 ` Michael Hampicke [this message]
2013-06-12 18:26   ` Stefan G. Weichinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51B899D2.7060905@hadt.biz \
    --to=mh@hadt.biz \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox