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 UJXdFMbEsl5JXwAA0tVLHw (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 mp2 with LMTPS id 2IHtCNLEsl7VLAAAB5/wlQ (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 E7976940FD9 for ; Wed, 6 May 2020 14:08:15 +0000 (UTC) Received: from localhost ([::1]:39760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWKie-0001LU-62 for larch@yhetil.org; Wed, 06 May 2020 10:08:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWEfv-00053f-9S for help-guix@gnu.org; Wed, 06 May 2020 03:41:03 -0400 Received: from duva.sjd.se ([2001:9b1:8633::105]:49590) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWEfu-0000xo-7e for help-guix@gnu.org; Wed, 06 May 2020 03:41:02 -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 0467eieJ008047 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 May 2020 07:40:45 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=josefsson.org; s=default; t=1588750845; bh=0Mmu2NlqZ9q9Da+768j3Ny9H1bIsUrhHVjvMolTFboI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=GzRMp6fTKOfT7onlep/X+psnIrgL5ZcaKknFhGZykMIxDYKzjVhbV90KfW/paEQDz hTtiCnCJO22/7CUw0akfaxm0hKLf7YV4+wNFtH5LvQO1E1Hw//M2RBFXbG51K/sQC8 JRnQ2mXRriKta5M3LiFK5IOVaHKgi3/ML1o+JK9GcetvHsIcXHqyFjmhqKHxznoXGD X9R6ZSdjanBkJj5SCKl2dvuoprV90GjPvURg7D0Wm60dCcUpI0humV8LrlS8nVmGMV ILYDmQXm+VVPcp4A6W+4JGXKR1DO409vDEhE2PNUySsMdvKfpm/qr/h8jWATaZHFsH 70BnsT5a+8UGQ== From: Simon Josefsson To: Michael Rohleder Cc: help-guix@gnu.org Subject: Re: What LVM support is missing? References: <87ftcfu9gv.fsf@latte.josefsson.org> <87bln33bbu.fsf@rohleder.de> OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt X-Hashcash: 1:22:200506:help-guix@gnu.org::sBXp7rqvlY7Qsp2m:0r5W X-Hashcash: 1:22:200506:mike@rohleder.de::RDemdK2uW4G/6Cy5:72Z2 Date: Wed, 06 May 2020 09:40:43 +0200 In-Reply-To: <87bln33bbu.fsf@rohleder.de> (Michael Rohleder's message of "Mon, 04 May 2020 18:37:57 +0200") Message-ID: <877dxptssk.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=GzRMp6fT; 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]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[josefsson.org,quarantine]; DKIM_TRACE(0.00)[josefsson.org:+]; 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:~]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; 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)[]; URIBL_BLOCKED(0.00)[rohleder.de:email,gnu.org:url,josefsson.org:dkim,strugglers.net:url]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: GVu2nyt+JiIC --=-=-= Content-Type: text/plain Michael Rohleder writes: > Hey Simon! > > Simon Josefsson writes: >> 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. > > I use a root fs on lvm. > What helped me a lot was this posting, where I stole most things: > > https://lists.gnu.org/archive/html/bug-guix/2020-02/msg00285.html Thanks for pointer! Maybe some examples like this could be added to the manual. I'll experiment a bit too and see if I can propose something... > What (currrently) isnt working is the lvm device-mapper and (for me more > important) lvmcache... What do you expect from a lvm device-mapper? When I thought about it, it is mostly a no-op since the kernel handles this automatically, or? Working lvmcache does not seem required to claim support for LVM to me. Why doesn't lvmcache work? Also sometimes the performance improvements doesn't seem that significant: http://strugglers.net/~andy/blog/2017/07/19/bcache-and-lvmcache/ /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCXrJp+wAKCRBRcisI/kdF ohrnAQDDpLCggKEYa6UReDyBOv13/1kzlwrsJWUcZW5OHJPKpQEAnuAQYF2WpV6I w0SLhRAvd+4qkqFDuRblYiaJpKP+Gwg= =raX9 -----END PGP SIGNATURE----- --=-=-=--