From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: mapped-devices documentation question (multiple devices) Date: Wed, 1 Mar 2017 18:35:35 +0000 Message-ID: <20170301183535.lzlbjfw6d7tg2wx6@abyayala> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cj81h-0001cP-2j for guix-devel@gnu.org; Wed, 01 Mar 2017 12:26:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cj81c-00010h-Cf for guix-devel@gnu.org; Wed, 01 Mar 2017 12:26:57 -0500 Received: from perdizione.investici.org ([94.23.50.208]:31496) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cj81c-0000yD-2c for guix-devel@gnu.org; Wed, 01 Mar 2017 12:26:52 -0500 Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id 1492B120F9B for ; Wed, 1 Mar 2017 17:26:49 +0000 (UTC) Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org 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?