GNU bug report logs - #41143
[PATCH 1/2] Add 'lvm-device-mapping'

Previous Next

Package: guix-patches;

Reported by: tsmish <tsymsh <at> gmail.com>

Date: Sat, 9 May 2020 01:13:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #19 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: tsmish <tsymsh <at> gmail.com>
Cc: guix-patches <at> gnu.org
Subject: Re: [PATCH 1/2] mapped-devices: Allow target to be list of strings
Date: Sat, 6 Jun 2020 15:40:15 +0200
Hi,

I’ve tried the patches, but `guix system reconfigure` fails(?) with

	building /gnu/store/cy6d2a4b8bcqcjiaz8bm367j7vbdrslc-upgrade-shepherd-services.scm.drv...
	guix system: error: exception caught while executing 'start' on service 'device-mapping-disk3-data':
	error: <>: unbound variable

Relevant part of my config.scm:

	  (mapped-devices
		  (list (mapped-device
				  (source "disk3")
				  (target "disk3-data")
				  (type lvm-device-mapping))))
	  (file-systems (append
					 (list …
							(file-system
							 (device "/dev/mapper/disk3-data")
							 (mount-point "/storage/disk3")
							 (type "ext4")
							 (dependencies mapped-devices))
						   )
					 …))

I’m also curious why sources is a list of VG’s as opposed to a list of device
nodes (i.e. /dev/sdX), like the other mappings. Does `pvscan --cache` not work
here?

Lars





This bug report was last modified 4 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.