public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Robin Atwood <robin.atwood@attglobal.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Systemd and lvm
Date: Sun, 6 Jan 2013 20:24:25 +0700	[thread overview]
Message-ID: <201301062024.25811.robin.atwood@attglobal.net> (raw)
In-Reply-To: <CADPrc80b-DhGPtaVDAVDvM21==BMrAqL+VDPbvcBn589FC_xTw@mail.gmail.com>

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

On Sunday 06 January 2013, Canek Peláez Valdés wrote:
> On Sat, Jan 5, 2013 at 7:36 AM, Robin Atwood <robin.atwood@attglobal.net> 
wrote:
> > On Friday 04 Jan 2013, Canek Peláez Valdés wrote:
> >> On Fri, Jan 4, 2013 at 10:11 AM, Robin Atwood
> >> 
> >> <robin.atwood@attglobal.net> wrote:
> >> > Having observed all the ranting, I thought I would try systemd on a
> >> > laptop. It actually seems to work quite well and it is a lot faster.
> >> > However I am having trouble getting my LVM partitions mounted. I
> >> > installed the LVM service unit from the Gentoo Wiki but it never
> >> > completes, timing-out on a job that mounts /var. The VG is actually
> >> > created by an initramfs and when systemd dumps you out to the
> >> > emergency shell you can use lvs to see the volumes, /dev/mapper has
> >> > all the correct devices and "dmsetup ls" shows the LVs. In fact,
> >> > everything appears as it should, the partitions just don't get
> >> > mounted. I circumvented this by putting "mount -a" in the lvm.service
> >> > unit, which then completes and the mount jobs time-out. Everything
> >> > seems to be OK but it is a bit of a kludge. One thing I notice is:
> >> > 
> >> > 
> >> > 
> >> > # udevadm info -p /dev/mapper/vg00-rootfs -q all
> >> > 
> >> > syspath not found
> >> > 
> >> > 
> >> > 
> >> > Udev seems not to know about the LVs. Any ideas?
> >> 
> >> How did you create your initramfs? Have you tried dracut, with
> >> DRACUT_MODULES="lvm"?
> >> 
> >> Regards.
> > 
> > I always use genkernel with LVM=YES in genkernel.conf. There is a thread
> > about the udev issue at
> > http://forums.gentoo.org/viewtopic-p-6837888.html . I tried the
> > suggested work-around but it made no difference, I must still use "mount
> > - a".
> 
> I've never used genkernel. You could try dracut; its mandatory
> dependencies are minimal, and it's actually designed to create an
> initramfs, not like genkernel, where the functionality was added as an
> afterthought.
> 
> Another option is to roll your own initramfs, like the first responder
> in the forums thread.
> 
> Good luck.

Maybe I will try dracut but I suspect the problem lies with systemd.

-Robin
-- 
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------









[-- Attachment #2: Type: text/html, Size: 13453 bytes --]

  reply	other threads:[~2013-01-06 13:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-04 16:11 [gentoo-user] Systemd and lvm Robin Atwood
2013-01-04 16:28 ` Canek Peláez Valdés
2013-01-05 13:36   ` Robin Atwood
2013-01-05 18:26     ` Canek Peláez Valdés
2013-01-06 13:24       ` Robin Atwood [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-09-11 11:22 [gentoo-user] systemd " Stefan G. Weichinger
2013-09-11 11:38 ` Stefan G. Weichinger
2013-09-12  6:50   ` Mick
2013-09-12  8:37     ` Stefan G. Weichinger
2013-09-12 12:43       ` Mick
2013-09-12 13:03         ` Stefan G. Weichinger
2013-09-12 15:11           ` Canek Peláez Valdés
2013-09-12 16:10       ` gottlieb
2013-09-12 16:22         ` Canek Peláez Valdés
2013-09-12 17:35           ` Stefan G. Weichinger
2013-09-12 18:23             ` Canek Peláez Valdés
2013-09-13 12:42               ` Stefan G. Weichinger
2013-09-13 12:54                 ` Stefan G. Weichinger
2013-09-13 13:33                   ` Stefan G. Weichinger
2013-09-13 17:36                     ` Stefan G. Weichinger
2013-09-13 17:52                       ` Stefan G. Weichinger
2013-09-12 17:43           ` gottlieb

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=201301062024.25811.robin.atwood@attglobal.net \
    --to=robin.atwood@attglobal.net \
    --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