all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <contact.ng0@cryptolab.net>
To: guix-devel@gnu.org
Subject: mapped-devices documentation question (multiple devices)
Date: Wed, 1 Mar 2017 18:35:35 +0000	[thread overview]
Message-ID: <20170301183535.lzlbjfw6d7tg2wx6@abyayala> (raw)

Hi,

upon trying to create a system with multiple mapped-devices the
current documentation about mapped-devices doesn't help me anymore.

So far I'm just trying with two luks devices, I'll get RAID in there as
a third device later.
So this part in a config.scm:

  (mapped-devices
   (list (mapped-device
          (source (uuid "fooooo1233333333333333333"))
          (target "my-root")
          (type luks-device-mapping))
         (mapped-device
           (source (uuid "fooooo124444444444444444"))
           (target "dg2")
           (type luks-device-mapping))))

  (file-systems (cons* (file-system
                        (device "my-root")
                        (title 'label)
                        (mount-point "/")
                        (type "ext4")
                        (dependencies mapped-devices))
                      (file-system
                        (device "/dev/sdb1")
                        (title 'device)
                        (mount-point "/mnt/dg1")
                        (type "ext4"))
                      (file-system
                        (device "dg2")
                        (title 'label)
                        (mount-point "/mnt/dg2")
                        (type "ext4")
                        (dependencies mapped-devices))
                      %base-file-systems))

...fails with this error:

user@greendragon ~$ guix system build /etc/config.scm                                                                              
guix system: error: service 'file-system-/mnt/dg2' requires
'device-mapping-my-root', which is not provided by any service

How do I fix this?

                 reply	other threads:[~2017-03-01 17:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20170301183535.lzlbjfw6d7tg2wx6@abyayala \
    --to=contact.ng0@cryptolab.net \
    --cc=guix-devel@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.