[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mapped-devices documentation question (multiple devices)

From: ng0
Subject: mapped-devices documentation question (multiple devices)
Date: Wed, 1 Mar 2017 18:35:35 +0000


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:

   (list (mapped-device
          (source (uuid "fooooo1233333333333333333"))
          (target "my-root")
          (type luks-device-mapping))
           (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))
                        (device "/dev/sdb1")
                        (title 'device)
                        (mount-point "/mnt/dg1")
                        (type "ext4"))
                        (device "dg2")
                        (title 'label)
                        (mount-point "/mnt/dg2")
                        (type "ext4")
                        (dependencies mapped-devices))

...fails with this error:

address@hidden ~$ 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 via email to

[Prev in Thread] Current Thread [Next in Thread]