[systemd-devel] Assertion 'u->meta.type != _UNIT_TYPE_INVALID' failed at src/unit.c:257, function unit_add_to_load_queue(). Aborting.

Albert Strasheim fullung at gmail.com
Mon Apr 4 09:30:29 PDT 2011


Hello

On Mon, Apr 4, 2011 at 6:01 PM, Albert Strasheim <fullung at gmail.com> wrote:
> I'm trying to set up a configuration where a variable number of
> devices under /dev/mapper get automounted.
> I've started with the following:
> # cat mpath\@.mount
> [Unit]
> Description=Data File System

After reading the systemd.mount manual page more carefully, it seems
this isn't going to work since each mount unit needs a file named
path-to-mount.mount. systemd probably shouldn't crash though.

Given some tens of devices under /dev/mapper, is there a better way to
get them all mounted without having to make a separate unit for each?
This is quite common when one starts connecting lots of disks in SAS
enclosures together.

Regards

Albert


More information about the systemd-devel mailing list