On Sat, Jul 20, 2013 at 11:27 PM, Nathan Coulson <[email protected]> wrote:
> I build a nice new shiny systemd build (my first "bootable" attempt).
> My root (and a few other partitions) are on a lvm partition, sitting
> on top of a mdraid1 array.
>
> When it boots the initramfs mounts root just fine,
> (root=/dev/ssd.vg/root), but the system only has /dev/mapper/control
> (when I would expect a ton of symlinks for each partition tracked by
> devicemapper).  Typing in dmset mknodes does recreate them though.
>
>
> I tested it on my existing LFS System (Similar, except root is on it's
> own partition, instead of the lvm on mdraid0, but it still mounts the
> partitions in the lvm in the mount bootscript) and it works fine.
>
>
>
>
> (Also, sleep is now in usr//bin/sleep, while udevadm is in /bin, but
> doing more testing before I bring that up)
>
> --
> Nathan Coulson (conathan)

Found a couple systemd scripts in lvm (Installed via make
install_systemd_generators, and install_systemd_units), although there
is a hardcoded path to lvm.

I fixed it with a ln -s /sbin/lvm /usr/sbin/lvm, but could also be
fixed with a sed against lvm2_activation_generator_systemd_red_hat.c.


(I have not poked at it too deeply, but the generators look like they
are responsible for vgchange.  I think the units are for monitoring
[again, new to systemd])





-- 
Nathan Coulson (conathan)
------
Location: British Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to