From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2Os0FiUwsF51MQAA0tVLHw (envelope-from ) for ; Mon, 04 May 2020 15:09:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aNmtGi8wsF7+RwAAB5/wlQ (envelope-from ) for ; Mon, 04 May 2020 15:09:35 +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 3B2DB9450C8 for ; Mon, 4 May 2020 14:24:47 +0000 (UTC) Received: from localhost ([::1]:36412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVc1X-0007cn-5Q for larch@yhetil.org; Mon, 04 May 2020 10:24:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVaxN-0008E7-Kt for help-guix@gnu.org; Mon, 04 May 2020 09:16:25 -0400 Received: from duva.sjd.se ([2001:9b1:8633::105]:49124) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVaxM-0000tB-4v for help-guix@gnu.org; Mon, 04 May 2020 09:16: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 044DG0kN003509 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 4 May 2020 13:16:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=josefsson.org; s=default; t=1588598162; bh=x9BHiQzXRGvxYexP2qcqzeY6yUbi/icEXjR2WJtwoxM=; h=From:To:Subject:Date:From; b=Z48qMe0kuLu9LQM53ZW4F70rfGlSNMdr9U+ABXYNZZDmmNhHlj/xh5enfUs/T/Y3f C0solkdcx7y18tRT2EDc4BR8IKKByPODuEHHoF/TB9oPI2gp8Qt9A2VUK3tOmST3Rq 6UOSUqLh980SeAPGzxYQ5Ul1ri4gAeiuXhW1JT7GteG2YUKUcLNvEWPIRrtyX2JdMV lWwRopHSg3syhKu5kX6vR4rVvteOjNFzXY+mKuSYPa/f/A9NrDqnu8h2XXTe1CKooz xyMoy1GC5eVB9vNYLno3v2fc7q/bgGRQpZ75U28Ra8ueoLlLuiMubl6QOMZqPgsdMe WMrl/0IXF9MxA== X-Hashcash: 1:22:200504:help-guix@gnu.org::9mvm4IYVnW+u6KoC:bNt From: Simon Josefsson To: help-guix@gnu.org Subject: What LVM support is missing? OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt Date: Mon, 04 May 2020 15:16:00 +0200 Message-ID: <87ftcfu9gv.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: Mon, 04 May 2020 10:24:34 -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=Z48qMe0k; 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.49477565069688]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail,josefsson.org:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.13), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; DKIM_TRACE(0.00)[josefsson.org:+]; DMARC_POLICY_ALLOW(-0.50)[josefsson.org,quarantine]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[31.208.42.58:received]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; SUBJECT_ENDS_QUESTION(1.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; FROM_NEQ_ENVFROM(0.00)[simon@josefsson.org,help-guix-bounces@gnu.org]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(-0.20)[josefsson.org:s=default]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[help-guix@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; URIBL_BLOCKED(0.00)[josefsson.org:dkim,gnu.org:url]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: lANiqstyb1p0 --=-=-= Content-Type: text/plain 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? I'm thinking that having the root file system on LVM may be unsupported, so that manual could say that, but I'm not even sure that is true. I haven't tried it though. Perhaps 'lvm2' should be pre-installed on the default installation image to help move LVM support along. Another thought may be that constructing LVM partitions through the mapped-device mechanism is not supported: http://guix.gnu.org/manual/en/html_node/Mapped-Devices.html however as far as I can tell, LVM is working just as well as LUKS/RAID here: LVM just doesn't need any command to start the devices. The mapped-device approach appear to require out-of-band device creation for LUKS and RAID, just like is required for LVM. A no-op `lvm-device-mapping' could be added for completeness, and it might run 'pvscan --active ay' or something like that if we really wanted to but I'm not sure when that would be useful. Thanks, /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCXrAVkAAKCRBRcisI/kdF ohLPAPoCxiL4hafLBsTX/tjYWdI/VwZCR+Mm61j0o95/T15e6QD+I7A7SBfTLvXf /DQaiKF/jeyRwSuR8YVYuAoH7o98zgU= =Am2S -----END PGP SIGNATURE----- --=-=-=--