From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6ABhJMbEsl75fgAA0tVLHw (envelope-from ) for ; Wed, 06 May 2020 14:08:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id Ayx1GNLEsl55LwAA1q6Kng (envelope-from ) for ; Wed, 06 May 2020 14:08:18 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 60397940CFB for ; Wed, 6 May 2020 14:08:16 +0000 (UTC) Received: from localhost ([::1]:39762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWKie-0001Lg-86 for larch@yhetil.org; Wed, 06 May 2020 10:08:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWEZV-0003yP-T0 for help-guix@gnu.org; Wed, 06 May 2020 03:34:25 -0400 Received: from duva.sjd.se ([2001:9b1:8633::105]:49410) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWEZU-0000LI-33 for help-guix@gnu.org; Wed, 06 May 2020 03:34:25 -0400 Received: from latte (31-208-42-58.cust.bredband2.com [31.208.42.58]) (authenticated bits=0) by duva.sjd.se (8.15.2/8.15.2/Debian-8) with ESMTPSA id 0467Xseq001810 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 May 2020 07:33:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=josefsson.org; s=default; t=1588750436; bh=7QWDjcFSGFj81I7nwPm0gVnFZaaIdXeRCdXfbxrFUpA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=UWpBfwwqzQxzpHDv2AzvGcxlLr6wRWYxjUikxsFxidEEORf9vad30mUcH5ah35RiR 3HCzi651Gn2SUq7bY8V/NWW4FGjFYQCLwjV/NX1tcbNoRgy6hYD71sFsPZZRzOGpxp hj2+9XwWDEY6E9TuB8z0Kv5+xKs4Vkbw+DL/+QMJqQbwjYUlPPBv3eEIaQpIuC59HI w64n1oidIXobGxDrqqo5JNcrXezQuYm2i1otFFUZXTyHc2h8wsQPyiK1hrp16wv4cu /WUUw9UnimUuGxdNrYv8YtRNoFYGow6x0qQ5H56RHJdesaMUAnf0wNIZCYioN2VRYs sZp1b1SDZ/sWw== From: Simon Josefsson To: Marius Bakke Cc: help-guix@gnu.org Subject: Re: What LVM support is missing? References: <87ftcfu9gv.fsf@latte.josefsson.org> <87368f1y12.fsf@devup.no> OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt X-Hashcash: 1:22:200506:mbakke@fastmail.com::RJgyBISqztaSZK2B:DZju X-Hashcash: 1:22:200506:help-guix@gnu.org::iGElA/6EA0J7OcOk:JFSf Date: Wed, 06 May 2020 09:33:53 +0200 In-Reply-To: <87368f1y12.fsf@devup.no> (Marius Bakke's message of "Mon, 04 May 2020 18:10:33 +0200") Message-ID: <87bln1tt3y.fsf@latte.josefsson.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Virus-Scanned: clamav-milter 0.102.2 at duva.sjd.se X-Virus-Status: Clean Received-SPF: pass client-ip=2001:9b1:8633::105; envelope-from=simon@josefsson.org; helo=duva.sjd.se X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Wed, 06 May 2020 10:08:07 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 X-Spam-Score: -2.81 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=josefsson.org header.s=default header.b=UWpBfwwq; dmarc=pass (policy=quarantine) header.from=josefsson.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Scan-Result: default: False [-2.81 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49632204041759]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.12), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail,josefsson.org:server fail]; DKIM_TRACE(0.00)[josefsson.org:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[josefsson.org,quarantine]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[fastmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[31.208.42.58:received]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[josefsson.org:s=default]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[josefsson.org:dkim,gnu.org:url,fastmail.com:email]; FROM_NEQ_ENVFROM(0.00)[simon@josefsson.org,help-guix-bounces@gnu.org]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: iFj5piwJWeto --=-=-= Content-Type: text/plain Marius Bakke writes: > Simon Josefsson writes: > >> The manual is quite clear that LVM support is missing: >> >> https://guix.gnu.org/manual/en/html_node/Limitations.html >> >> This held me back from using guix as the OS for my virtualization >> servers since I use LVM for virtual machines. However, one evening I >> was curious how difficult it would be to fix the above limitation, so I >> started with a simple 'guix package -i lvm2' and that allowed me to get >> LVM to work and I can't really notice anything missing. >> >> Before producing a patch to correct the manual, could someone explain >> what LVM support was intended that was missing? Does a reference to LVM >> as a limitation of Guix still make sense? > > What's missing is support in the configuration system: the ability to > declare a LVM mapped device in the OS configuration and expect 'guix > system init', 'guix system reconfigure' etc to work. > > LVM 2.03 simplifies things a bit, but I don't know of any recent > attempts to add LVM support to the configuration system. How is that different than RAID or LUKS support not being available through that mechanism? I need to run 'mdadm --create' or 'cryptsetup luksFormat' externally to config.scm too. It appears to me that the status of LVM is similar o RAID or LUKS wrt the configuration system. I think people generally regard RAID and LUKS as supported and working by Guix, right? My point is that the state of LVM support is similar, so the warning about this limitation may do more harm than good. There could be some more examples added on how to setup some LVM partitions and have them be mounted, or even examples of how to put rootfs on LVM, and with that the prominent warning about missing LVM could be dropped. /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCXrJoYgAKCRBRcisI/kdF ojUeAQDo3r5GigM84v1gaxyjMJcdXzIKzuZxhT4x/BOOftRWKgD/XWRbbPRGwBfM bgmVAdQ1A660Qpt9DqhEbzKPhXgWegQ= =fm6H -----END PGP SIGNATURE----- --=-=-=--