From unknown Fri Sep 19 21:29:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27401] [PATCH] doc: Suggest a QEMU image size large enough for the system examples. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Jun 2017 05:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 27401@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149767651423157 (code B ref -1); Sat, 17 Jun 2017 05:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jun 2017 05:15:14 +0000 Received: from localhost ([127.0.0.1]:51942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dM64n-00061R-Ne for submit@debbugs.gnu.org; Sat, 17 Jun 2017 01:15:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dM64m-00061F-Ii for submit@debbugs.gnu.org; Sat, 17 Jun 2017 01:15:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dM64g-0005sr-C3 for submit@debbugs.gnu.org; Sat, 17 Jun 2017 01:15:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49987) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dM64g-0005sk-8R for submit@debbugs.gnu.org; Sat, 17 Jun 2017 01:15:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dM64f-0000tP-5m for guix-patches@gnu.org; Sat, 17 Jun 2017 01:15:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dM64c-0005pb-0k for guix-patches@gnu.org; Sat, 17 Jun 2017 01:15:05 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:34765) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dM64Z-0005oz-VX for guix-patches@gnu.org; Sat, 17 Jun 2017 01:15:01 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 16E5D20816; Sat, 17 Jun 2017 01:14:59 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 17 Jun 2017 01:14:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=+xTDQ9tOzjX4F4PRBggU9q8FpKV dIc70Nsj+ZIneqDc=; b=PqaG7SsW8X4qxG/8TsW97B22uagS049TVr9CnT6S4pZ T3K8MRn2B+DMrjZw4XlkrvBXtMsyuDk+cx70CkEbBoQ7/NCKrovdUDXDTwUSMjfT mgJRZ+Ee3bWi84kV/EnUffpxyRes/vM0yM+DZhfLF4bc4zA6pq4j9TSecGHCTqPQ = DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=+xTDQ9 tOzjX4F4PRBggU9q8FpKVdIc70Nsj+ZIneqDc=; b=Cjho7/CYRl2iv1FnKw25eD cnHT0G7czLt2a9JQF0Ql5ex4VVRlXgELl95m4XKFsZbnMaNMidHUX4EGDqOg6Kj2 ykFZOSGYeMrUYGE3Er+s6w8QdHP5RPHjgecYFd/iGYkZDvzCqqO8XdKoIuLjDUjW FF7th3v5qLuKjARoAAip2jGos0FFU87GAFCvqjv9IUF2+KiR0niS/mhp2oUzWx1J uYBdvISK6NsxVADkXH2VkoSRFQCletnltqhDnBGLVXKxXZqUe9O6YlJnKEeN+EcL qY1KQ+NSx1bsxuBdLB80hFGYZtMq/mNk56Y8mKWlMYxTnAi5s9VBN22zYE7kftUw == X-ME-Sender: X-Sasl-enc: 8YMA8/BLfE1iW4/QSYfPCz2idUP3F4ucTlOVSrmzujLG 1497676498 Received: from jasmine.lan (c-73-165-108-70.hsd1.pa.comcast.net [73.165.108.70]) by mail.messagingengine.com (Postfix) with ESMTPA id C542A248E7 for ; Sat, 17 Jun 2017 01:14:58 -0400 (EDT) From: Leo Famulari Date: Sat, 17 Jun 2017 01:14:54 -0400 Message-Id: <4fedabaa491c5a46b8d437748f9071a4aa1d966d.1497676494.git.leo@famulari.name> X-Mailer: git-send-email 2.13.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.4 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * doc/guix.texi (Installing GuixSD in a Virtual Machine): Increase suggested image size from 5 GB to 50 GB. --- doc/guix.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index db0e2fbd7..4933a98dd 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -7796,11 +7796,11 @@ Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command: @example -qemu-img create -f qcow2 guixsd.img 5G +qemu-img create -f qcow2 guixsd.img 50G @end example -The resulting file will be much smaller than 5GB, but it will grow as -the virtualized storage device is filled up. +The resulting file will be much smaller than 50 GB (typically less than +1 MB), but it will grow as the virtualized storage device is filled up. @item Boot the USB installation image in an VM: -- 2.13.1 From unknown Fri Sep 19 21:29:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27401] [PATCH] doc: Suggest a QEMU image size large enough for the system examples. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Jun 2017 12:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari , 27401@debbugs.gnu.org Received: via spool by 27401-submit@debbugs.gnu.org id=B27401.14977020543824 (code B ref 27401); Sat, 17 Jun 2017 12:21:02 +0000 Received: (at 27401) by debbugs.gnu.org; 17 Jun 2017 12:20:54 +0000 Received: from localhost ([127.0.0.1]:52190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMCij-0000zb-1u for submit@debbugs.gnu.org; Sat, 17 Jun 2017 08:20:53 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:44093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMCig-0000zN-HF for 27401@debbugs.gnu.org; Sat, 17 Jun 2017 08:20:51 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 00DBC20969; Sat, 17 Jun 2017 08:20:50 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sat, 17 Jun 2017 08:20:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=8xCP09Loe6fLh9Eza5RlvgXOctjBugbLDrr4T8RLp ds=; b=lXDakOevtUq3e5FEMA9rUwUwEQHgNnlsnuHZA13H5ZUgDjlCIYKvR6yUZ TjBCbvQpXelHTu1Cz7HZyyQXXBxUp6awZNF6FnHeixcZ3LZ1JeQGacHhUk9vkbSD slcD4KNqWpDI/CRtpxx3eODn1iSgJC76Ku+XFOinCBCJti/NP+QDdHDFkdvzLprf 7YikMi8zcOAnRFCsQU3Uf9CKs5xRvJaJX4vpC6SMZoCKt/+xr0iNStr27/GxktB9 EsQyMosGSi58Xvpn59Nzc0D5+MJH4p5c35HHYz8mj9Fe6YxHL9fMOZgCL/Qbrhfm 7GQjVHDD3e4JB/FEowOCBXl8onvZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=8xCP09Loe6fLh9Eza5 RlvgXOctjBugbLDrr4T8RLpds=; b=YBb5os/HjmVTob54Dr9vri2RlCvW8U3lfS 2KgahraxmtV+qHL/t4CxPBjvLg0q5MSjsXTz67JjrRWm+xBr/kDj97MZH2uNieM6 /etStg44MzGJcimY4Sc5in1oVF0fx9Vjv7Sc0AzSiRuyHEnm7X8Rt0wnHQgO7wGM H+z7Em7qQCZAFHSHTHd5x0tQRE4Inw15beYN5/mKi8ih8A8SifzphilDnvtDX4KD nBxBCCmauD0DWBSmArM9aSIyWuRvSS67KfzUtt38QxSfVQy2msJ6NMeezyCSmdqu FWoFN1Wbs4o3BoSVPUImpDqEGHWspqPvMg4Bp7si+VEEzBwLlzDA== X-ME-Sender: X-Sasl-enc: GcjnjRLQshF9bI5FTNX7KLleouSCsk6xHI1pn7T1bRbD 1497702049 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 85BC424998; Sat, 17 Jun 2017 08:20:49 -0400 (EDT) From: Marius Bakke In-Reply-To: <4fedabaa491c5a46b8d437748f9071a4aa1d966d.1497676494.git.leo@famulari.name> References: <4fedabaa491c5a46b8d437748f9071a4aa1d966d.1497676494.git.leo@famulari.name> User-Agent: Notmuch/0.24.2 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Sat, 17 Jun 2017 14:20:47 +0200 Message-ID: <87bmpmhkkg.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Leo Famulari writes: > * doc/guix.texi (Installing GuixSD in a Virtual Machine): Increase suggested > image size from 5 GB to 50 GB. LGTM. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAllFHp8ACgkQoqBt8qM6 VPqRQQf+JFj86F9rtklMQLoj5WdhnUrpOjoysdswQR4wYYt9PL14Hll3/fSm/6DP Kdf++E1N94dzyIZ6OuremSITJ3pPL92yjk9qaqJCiCyduPgJHZ4Fc6V+xzj9i6YO qj+Tr8GxJZfR22mq6fZmstvZHC42tOBw7uGFiy0ZOCcYLOHY5Qn4+Bod0hnyDdPG FxrqNLdzxMnhw90ijx7qUPr4srpTcpHqf4eJk6Z7zzBEDdRh2eIhgO1Cu3fuCbgZ 9sxFj0uKbJ+DufyCxCQl+C9ViXR5Q4EZD2QrOlTS+VfNveGdGku51wb1ZOYrHnBf XIT/5xEwGBc5VhEOypH+K6qYQVE//Q== =AZop -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 17 18:06:14 2017 Received: (at control) by debbugs.gnu.org; 17 Jun 2017 22:06:14 +0000 Received: from localhost ([127.0.0.1]:53755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMLrC-00025B-09 for submit@debbugs.gnu.org; Sat, 17 Jun 2017 18:06:14 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:43169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMLrA-000254-M2 for control@debbugs.gnu.org; Sat, 17 Jun 2017 18:06:12 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 9D41220BAB; Sat, 17 Jun 2017 18:06:12 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Sat, 17 Jun 2017 18:06:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=content-type:date:from:message-id:mime-version:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=8K6+T9IUYzUBlCp 8Lvt7pbvhZXujDYwY5ctJiB/KiOk=; b=TfYf/2wdoAGeRjNxfOwQqZdkEbzfBrU 2QA96/0JO0PZxqHwsm1MIcgr5z7VIxTJdIaHMFX6uZRBMGYbh02eP2ZhtZbRMHxm 2ShicVXKafB3meCf5M2HcSZiKsPBhINp+mJznGz7O6QxNlN56lqEA+7UqwvpFYDi IyDaftUwtFiI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=8K6+T9IUYzUBlCp8Lvt7pbvhZXujDYwY5ctJiB/KiOk=; b=OdlSG NIVc8FaHPLysZlE0ZzISW8ndcQSfJh+uXfqopKw0zMos5IKVTNe8UvU57axsDZHQ EWhX7mO7UNLeaPPHMElqn9r20voZdoin5Dby6UeHwQCGbSaB7Xw7N9XY+nJ+z8uA v0dLt1ge+5T3vVnp6u2J+Ku2QKnujEAGmpwSTOsn6+R5xgzkEZqpbf6HGcVxGD1v jbk7TUDhl1V2ElXVJtXf1zroSG8o7zOu2GQ9q6pNQQS9mavXCgChcNpj7XKZbEW7 nJAd7cSCNOlqLzXMvlhMt84gPEV271JqdWrSBRsntyX2t04EwHky2ZaMA/LiU1BY /RzXkhloLMQkBkdGg== X-ME-Sender: X-Sasl-enc: QSVyDkI8lEBKyV+ql/h1cq5tTIKxrfSKM9WuKRMduhn/ 1497737172 Received: from localhost (c-73-165-108-70.hsd1.pa.comcast.net [73.165.108.70]) by mail.messagingengine.com (Postfix) with ESMTPA id 54AC67E9ED for ; Sat, 17 Jun 2017 18:06:12 -0400 (EDT) Date: Sat, 17 Jun 2017 18:06:11 -0400 From: Leo Famulari To: control@debbugs.gnu.org Message-ID: <20170617220611.GA18125@jasmine.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.8.3 (2017-05-23) X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 27401 [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [66.111.4.27 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 27401 [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [66.111.4.27 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.0 TVD_SPACE_RATIO No description available. 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid close 27401 From unknown Fri Sep 19 21:29:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27401] [PATCH] doc: Suggest a QEMU image size large enough for the system examples. Resent-From: Jan Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Jun 2017 17:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 27401@debbugs.gnu.org Received: via spool by 27401-submit@debbugs.gnu.org id=B27401.149789492824966 (code B ref 27401); Mon, 19 Jun 2017 17:56:01 +0000 Received: (at 27401) by debbugs.gnu.org; 19 Jun 2017 17:55:28 +0000 Received: from localhost ([127.0.0.1]:56493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dN0tY-0006UX-CQ for submit@debbugs.gnu.org; Mon, 19 Jun 2017 13:55:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dN0tW-0006UL-N5 for 27401@debbugs.gnu.org; Mon, 19 Jun 2017 13:55:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dN0tQ-0004AM-EI for 27401@debbugs.gnu.org; Mon, 19 Jun 2017 13:55:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dN0tG-00044c-Rh; Mon, 19 Jun 2017 13:55:06 -0400 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:37286 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dN0tG-0003Gp-7T; Mon, 19 Jun 2017 13:55:06 -0400 From: Jan Nieuwenhuizen Organization: AvatarAcademy.nl References: <4fedabaa491c5a46b8d437748f9071a4aa1d966d.1497676494.git.leo@famulari.name> X-Url: http://AvatarAcademy.nl Date: Mon, 19 Jun 2017 19:55:03 +0200 In-Reply-To: <4fedabaa491c5a46b8d437748f9071a4aa1d966d.1497676494.git.leo@famulari.name> (Leo Famulari's message of "Sat, 17 Jun 2017 01:14:54 -0400") Message-ID: <87vanrc16w.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Leo Famulari writes: > * doc/guix.texi (Installing GuixSD in a Virtual Machine): Increase sugges= ted > image size from 5 GB to 50 GB. LGTM, however -- What about something like this patch too? I seems that the VMs we create (although they are of the ballooning cow2 kind), are 2GiB -- i.e., almost unusable for Real Stuff (TM)? $ git diff diff --git a/Makefile.am b/Makefile.am index a3b3e557a..ff2ae120b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -592,7 +592,7 @@ GUIXSD_VM_IMAGE_BASE =3D guixsd-vm-image-$(PACKAGE_VERS= ION) GUIXSD_INSTALLATION_IMAGE_SIZE ?=3D 950MiB =20 # Size of the VM image (for x86_64 typically). -GUIXSD_VM_IMAGE_SIZE ?=3D 2GiB +GUIXSD_VM_IMAGE_SIZE ?=3D 50GiB =20 # The release process works in several phases: # --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com From unknown Fri Sep 19 21:29:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27401] [PATCH] doc: Suggest a QEMU image size large enough for the system examples. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Jun 2017 21:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jan Nieuwenhuizen Cc: 27401@debbugs.gnu.org Received: via spool by 27401-submit@debbugs.gnu.org id=B27401.149790890420275 (code B ref 27401); Mon, 19 Jun 2017 21:49:02 +0000 Received: (at 27401) by debbugs.gnu.org; 19 Jun 2017 21:48:24 +0000 Received: from localhost ([127.0.0.1]:56659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dN4X2-0005Gx-9C for submit@debbugs.gnu.org; Mon, 19 Jun 2017 17:48:24 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:47855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dN4X0-0005Gp-N4 for 27401@debbugs.gnu.org; Mon, 19 Jun 2017 17:48:23 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0BA7E20C25; Mon, 19 Jun 2017 17:48:22 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Mon, 19 Jun 2017 17:48:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=XlB9YKAbdJohKQHmUhnASAEbz2Gv1kf4bCro6G AWHZs=; b=Px+SI3k0ZeLuGdMqYIGot9Tajn1FjmT/4hUIKdJ/y7QPM2wCDRRcvD CixJfD2V1zZfpskfTuRZazqMtBa7UGS9NBocrighF0rAwCx54ydeRyZxGrWDN0Ou nnQftEKP+C5aDhojebK2I+XghOa6dDBJV3sdoeV7pwbwV+t4ISmmM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=XlB9YKAbdJohKQHmUh nASAEbz2Gv1kf4bCro6GAWHZs=; b=Wk3+gYKipCXnvvjiKpJPftvTb9jy+NfDA2 4b0IPO3xIUr1yfpOduVYFLfjnKFA57M6hQ3a49t4kRQYjTiVePpmgNdIZpUH9R7Z SYrR0T+SbDVmAk0WV3k39o7V5F7ZY9QPsgMymRNc5kl2qdo86DTQxGcdEmty1twq xdZf8IsctP2XGdn++RwW/XC/iSa2G+fZg/AQo7lg0Bw+L6wE5U0kgtbnIp4dH3k+ 1WckoGJ2Upnok0fP/M/jZTG0P8+h2FTWm3A2XGJWUab3jUvlRj863tliL74U6GjK b0LKGEmjiUWgYZpFaXrIJgu2Wexs/pFiA3Rg+XuJyfo7Lru7uJww== X-ME-Sender: X-Sasl-enc: jbAG4GjXWeDUyX+/HuxkPIv3Hqu9xnq4OqNQmKEc92bv 1497908901 Received: from localhost (c-73-165-108-70.hsd1.pa.comcast.net [73.165.108.70]) by mail.messagingengine.com (Postfix) with ESMTPA id BBC43249EC; Mon, 19 Jun 2017 17:48:21 -0400 (EDT) Date: Mon, 19 Jun 2017 17:48:20 -0400 From: Leo Famulari Message-ID: <20170619214820.GA2317@jasmine.lan> References: <4fedabaa491c5a46b8d437748f9071a4aa1d966d.1497676494.git.leo@famulari.name> <87vanrc16w.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <87vanrc16w.fsf@gnu.org> User-Agent: Mutt/1.8.3 (2017-05-23) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 19, 2017 at 07:55:03PM +0200, Jan Nieuwenhuizen wrote: > Leo Famulari writes: >=20 > > * doc/guix.texi (Installing GuixSD in a Virtual Machine): Increase sugg= ested > > image size from 5 GB to 50 GB. >=20 > LGTM, however -- What about something like this patch too? I seems that > the VMs we create (although they are of the ballooning cow2 kind), are > 2GiB -- i.e., almost unusable for Real Stuff (TM)? I chose 2GiB for those images because it's pretty easy to grow a partition and ext4 filesystem from a running system. On the other hand, I couldn't find an easy way to shrink them. We can't predict the size of the virtual block device storage provided by a VPS hoster, so I chose this small size with these expectations: 1) 2GiB will never be too big 2) users will resize after booting I didn't come up with a better solution for the problem of not knowing the storage size in advance. What do you think? --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAllIRqEACgkQJkb6MLrK fwiA+RAA43qKJJJvOBYvIaWfwzCq7Sl98mJn6yW4Uk11Xeeksn2S5yu/+PcUAEJW 8+Cq6chCG0iifWgQGNEwZoaCu9QAPRfkvr+gtHmZiQUutbz/Xj932+AD3lV8EN/j 28TIgYY1inC39dOBjUVsXoMPWtilA3VE3/LZCTVLyk2HDWfEIi6CPEs8dJQxwZ0z vaN8NpdnNEA+tJxNuIYsXQ5KKkD3Axm+L8oD7FVOKY0oWtFsNsCNH85aN0APNFKP otKeUjKKn2uPdl3rK3wJug9BLfPNEH84g+hOMoB3EGS0SUCIJjkjNiUQfBT1gaUR ERH+CYb+HNpum1r2B4uqW9yRxC9AfbkW/BK16AOthXKpw5TZoN4KQ56Ajciz+/5L YIA9Cq2vX3xXAgyFJQrmBze0LLGRvnR7+5ZH8NDGHGUTqH7cc6VU8kIu5JcwDbIE TAM89OX3Qkic/VtovZTFdWgXT4i8rAPcqbcjdPI9VYyskis13xGmuXupwpZgxo+g NZSNROhT5TkOzqAX1DrtRzeoOAyz6QPw7S7VYxvPH1i5TLajd+YeaykcufE2E+o/ VAdIFOeUXpjIMGjonudPwTgMn31Ie4w76ua68UH6fSyoqxgJ0DQlGAwiW5s6ipnT htw6Xogp04PfNnBL0b3UepHMaUo4/HPOKAG82xLJqp544eSDg8s= =9CYO -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM-- From unknown Fri Sep 19 21:29:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27401] [PATCH] doc: Suggest a QEMU image size large enough for the system examples. Resent-From: Jan Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Jun 2017 18:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 27401@debbugs.gnu.org Received: via spool by 27401-submit@debbugs.gnu.org id=B27401.149798182326171 (code B ref 27401); Tue, 20 Jun 2017 18:04:02 +0000 Received: (at 27401) by debbugs.gnu.org; 20 Jun 2017 18:03:43 +0000 Received: from localhost ([127.0.0.1]:58383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNNV9-0006o3-4G for submit@debbugs.gnu.org; Tue, 20 Jun 2017 14:03:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNNV8-0006nn-2H for 27401@debbugs.gnu.org; Tue, 20 Jun 2017 14:03:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNNUz-0003LD-Im for 27401@debbugs.gnu.org; Tue, 20 Jun 2017 14:03:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNNUo-0003E6-FW; Tue, 20 Jun 2017 14:03:22 -0400 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:55956 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dNNUn-0006sj-Od; Tue, 20 Jun 2017 14:03:22 -0400 From: Jan Nieuwenhuizen Organization: AvatarAcademy.nl References: <4fedabaa491c5a46b8d437748f9071a4aa1d966d.1497676494.git.leo@famulari.name> <87vanrc16w.fsf@gnu.org> <20170619214820.GA2317@jasmine.lan> X-Url: http://AvatarAcademy.nl Date: Tue, 20 Jun 2017 20:03:17 +0200 In-Reply-To: <20170619214820.GA2317@jasmine.lan> (Leo Famulari's message of "Mon, 19 Jun 2017 17:48:20 -0400") Message-ID: <8760fq7d0a.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) Leo Famulari writes: >> LGTM, however -- What about something like this patch too? I seems that >> the VMs we create (although they are of the ballooning cow2 kind), are >> 2GiB -- i.e., almost unusable for Real Stuff (TM)? > > I chose 2GiB for those images because it's pretty easy to grow a > partition and ext4 filesystem from a running system. On the other hand, > I couldn't find an easy way to shrink them. > > We can't predict the size of the virtual block device storage provided > by a VPS hoster, Ah, sure. I missed that aspect. > so I chose this small size with these expectations: > 1) 2GiB will never be too big Yes. > 2) users will resize after booting When I was asked to help with this, I was confronted with a 2GiB sda1 and right behind that an EFI sda2. That was running in vmware (don't ask ;-). We hesitated, removed the sda2 and did the resize thing. Sadly I have no further information, instead of testing the reboot we decided to go for qemu. > I didn't come up with a better solution for the problem of not knowing > the storage size in advance. What do you think? Yes, I think you made the right choice. Greetings, janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com From unknown Fri Sep 19 21:29:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27401] [PATCH] doc: Suggest a QEMU image size large enough for the system examples. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Jun 2017 21:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jan Nieuwenhuizen Cc: 27401@debbugs.gnu.org Received: via spool by 27401-submit@debbugs.gnu.org id=B27401.149825241414298 (code B ref 27401); Fri, 23 Jun 2017 21:14:02 +0000 Received: (at 27401) by debbugs.gnu.org; 23 Jun 2017 21:13:34 +0000 Received: from localhost ([127.0.0.1]:34833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOVtV-0003iY-QL for submit@debbugs.gnu.org; Fri, 23 Jun 2017 17:13:33 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:36727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOVtT-0003iM-M5 for 27401@debbugs.gnu.org; Fri, 23 Jun 2017 17:13:32 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 115A920C01; Fri, 23 Jun 2017 17:13:31 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Fri, 23 Jun 2017 17:13:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=Qtv8blko9awFbvpzTGQmISzCGwUqt8dzBQ6aRC pQ8dY=; b=PTtv0fY4PO0N9d4EQBtNCceKlHFTJEF6qMAzEfwRnE7/l9hUXisxsY S/zldaek1wa/1dTH5K04bFjyB3Rp9++aoEuNgrf3kN6p+MWkPlmnoT+0CaBrP/JZ ApuMMwoYJxMgNbhA2t4IsvZJVc/TMOAzZlQMgmSPcwlG0n3De1nnM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=Qtv8blko9awFbvpzTG QmISzCGwUqt8dzBQ6aRCpQ8dY=; b=A4/GrAu6lHkbdFWjZew3InZz8jeTvN01lb mVwlkCsWSRDMRZe8lKk4CuOix/5iKhel+WW2prJiLX0bcZvdUtwDKRYjxcV3D+nV XTxyFO3ZCN7gKvmgDbOxEJo6qO8x47NXDHUdNb1ZwGAky+B+DqVwhiOsmrQrsmSv UhHIJf51j2XeH8eoyBFLbu0bjfCCPOJn5I+h4m52MG70GJrGYxNfocGir/ZKvniO 1FtqbvBPuCnOWeDU2Hky7dzdKsD+e1LhrEtF9Ul5xj6ywEaoy42g96ndqtyOSpFy eIGxZh6gE6coFn2nhJSqvHabxbU4Qw54OmOfCjcpxzmjwztJ9m9Q== X-ME-Sender: X-Sasl-enc: 8mx4qe7kzIDP8BN9eKjKMlJqCU0l3xnJXMe1OtOjaC5a 1498252410 Received: from localhost (unknown [128.64.129.7]) by mail.messagingengine.com (Postfix) with ESMTPA id C514024009; Fri, 23 Jun 2017 17:13:30 -0400 (EDT) Date: Fri, 23 Jun 2017 17:13:28 -0400 From: Leo Famulari Message-ID: <20170623211328.GA31313@jasmine.lan> References: <4fedabaa491c5a46b8d437748f9071a4aa1d966d.1497676494.git.leo@famulari.name> <87vanrc16w.fsf@gnu.org> <20170619214820.GA2317@jasmine.lan> <8760fq7d0a.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline In-Reply-To: <8760fq7d0a.fsf@gnu.org> User-Agent: Mutt/1.8.3 (2017-05-23) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 20, 2017 at 08:03:17PM +0200, Jan Nieuwenhuizen wrote: > Leo Famulari writes: > > 2) users will resize after booting >=20 > When I was asked to help with this, I was confronted with a 2GiB sda1 > and right behind that an EFI sda2. That was running in vmware (don't > ask ;-). We hesitated, removed the sda2 and did the resize thing. Ah, I didn't plan for that sort of disk layout. > Sadly I have no further information, instead of testing the reboot we > decided to go for qemu. >=20 > > I didn't come up with a better solution for the problem of not knowing > > the storage size in advance. What do you think? >=20 > Yes, I think you made the right choice. Okay. I'd like to clarify and say that I think we could do something more sophisticated, but I'm not sure what we would do :) --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAllNhHgACgkQJkb6MLrK fwiMHw/+M2Gm+gvfkr9kIhfR2DVskWv0Q28EIdj1MFb21vPXrp4pPfW98TSEMK2i B2W1oeg8wgi+R3ERJkxFm1DTru7RcPGBPlyzqlaInIpto8ptxT8aRboMKGy8ONCC UdZrhDuysuAD/xoCKMuHheL1sTQbkH0IzoX5Fc9vSPFPCUNDVoI3ZJDt7I0G4QxG gsL+yAMNWLUKAYme8wrc6yKvSqdGQds0BPkVF3vbmb970D8yBeTbEKepwpLwHhIW OcYQcknPo4eWOQ7CbO5Ps/BB9coYzHPxx3rNF9XBfDqh5sOpR2tHwSgev2WbYkEP zy/22ln5O/f6Fh/dOAkCPHJ3PmiKrJoenvn2SxBhW1W9cCPupBlLZyX0lTM/gQ1p ZNclVVt+EdjyaP2oMov5JZV502jPzUUXyqZx6LWfmHj/XMCcHaZzi/8QSdJdkDIw i/Ji928T49kIYa3OHDjblBuAmjGHt7J0fanUVcqdI/Zw4nvpTmDFZJ6aP2XSZW9W jQAlYOC0SsuVq6zC28mh4JH7isTrh3RKyxtjI0bOtlQ+eW6Vkmiao74jzN5bgBx4 jRDDNj+5u5+vLYXmPbHySDiKDef4iJxxCKqhoFeCqo+xnDnGhnwf+gTa9+HJmfjX opIpL/C31X66kjOtBtbqPscPCQ+jDrCWZyuZwjbS053g0QMaWzE= =QddY -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62-- From unknown Fri Sep 19 21:29:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27401] Guessing the disk image size in 'guix system' Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Jun 2017 11:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 27401@debbugs.gnu.org, Jan Nieuwenhuizen Received: via spool by 27401-submit@debbugs.gnu.org id=B27401.14984778928727 (code B ref 27401); Mon, 26 Jun 2017 11:52:01 +0000 Received: (at 27401) by debbugs.gnu.org; 26 Jun 2017 11:51:32 +0000 Received: from localhost ([127.0.0.1]:38120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPSYG-0002Gh-86 for submit@debbugs.gnu.org; Mon, 26 Jun 2017 07:51:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40411) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPSYD-0002GW-VX for 27401@debbugs.gnu.org; Mon, 26 Jun 2017 07:51:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPSY7-00025Q-Ep for 27401@debbugs.gnu.org; Mon, 26 Jun 2017 07:51:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPSY0-00024Y-S3; Mon, 26 Jun 2017 07:51:16 -0400 Received: from [193.50.110.179] (port=36884 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dPSY0-0005Su-5Z; Mon, 26 Jun 2017 07:51:16 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <4fedabaa491c5a46b8d437748f9071a4aa1d966d.1497676494.git.leo@famulari.name> <87vanrc16w.fsf@gnu.org> <20170619214820.GA2317@jasmine.lan> <8760fq7d0a.fsf@gnu.org> <20170623211328.GA31313@jasmine.lan> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 8 Messidor an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Mon, 26 Jun 2017 13:51:13 +0200 In-Reply-To: <20170623211328.GA31313@jasmine.lan> (Leo Famulari's message of "Fri, 23 Jun 2017 17:13:28 -0400") Message-ID: <87vanj55n2.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello! Leo Famulari skribis: > On Tue, Jun 20, 2017 at 08:03:17PM +0200, Jan Nieuwenhuizen wrote: [...] >> > I didn't come up with a better solution for the problem of not knowing >> > the storage size in advance. What do you think? >>=20 >> Yes, I think you made the right choice. > > Okay. I'd like to clarify and say that I think we could do something > more sophisticated, but I'm not sure what we would do :) We can do =E2=80=9Cguix size $(guix system build foo.scm)=E2=80=9D and add = 10% or so to that. Maybe something like this mostly-untested patch would work? Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm index 392737d07..15cc0d993 100644 --- a/gnu/system/vm.scm +++ b/gnu/system/vm.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright =C2=A9 2013, 2014, 2015, 2016 Ludovic Court=C3=A8s +;;; Copyright =C2=A9 2013, 2014, 2015, 2016, 2017 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2016 Christopher Allan Webber ;;; Copyright =C2=A9 2016 Leo Famulari ;;; Copyright =C2=A9 2017 Mathieu Othacehe @@ -108,8 +108,7 @@ (references-graphs #f) (memory-size 256) (disk-image-format "qcow2") - (disk-image-size - (* 100 (expt 2 20)))) + (disk-image-size 'guess)) "Evaluate EXP in a QEMU virtual machine running LINUX with INITRD (a derivation). In the virtual machine, EXP has access to all its inputs fro= m the store; it should put its output files in the `/xchg' directory, which is @@ -138,19 +137,24 @@ made available under the /xchg CIFS share." (define builder ;; Code that launches the VM that evaluates EXP. (with-imported-modules (source-module-closure '((guix build utils) + (guix build store-co= py) (gnu build vm))) #~(begin (use-modules (guix build utils) + (guix build store-copy) (gnu build vm)) =20 - (let ((inputs '#$(list qemu coreutils)) - (linux (string-append #$linux "/" - #$(system-linux-image-file-name)= )) - (initrd (string-append #$initrd "/initrd")) - (loader #$loader) - (graphs '#$(match references-graphs - (((graph-files . _) ...) graph-files) - (_ #f)))) + (let* ((inputs '#$(list qemu coreutils)) + (linux (string-append #$linux "/" + #$(system-linux-image-file-name= ))) + (initrd (string-append #$initrd "/initrd")) + (loader #$loader) + (graphs '#$(match references-graphs + (((graph-files . _) ...) graph-files) + (_ #f))) + (size #$(if (eq? 'guess disk-image-size) + #~(round (* 1.1 (closure-size graphs))) + disk-image-size))) =20 (set-path-environment-variable "PATH" '("bin") inputs) =20 @@ -160,7 +164,7 @@ made available under the /xchg CIFS share." #:memory-size #$memory-size #:make-disk-image? #$make-disk-image? #:disk-image-format #$disk-image-format - #:disk-image-size #$disk-image-size + #:disk-image-size size #:references-graphs graphs))))) =20 (gexp->derivation name builder @@ -198,10 +202,13 @@ the image." (expression->derivation-in-linux-vm name (with-imported-modules (source-module-closure '((gnu build vm) + (guix build store-copy) (guix build utils))) #~(begin (use-modules (gnu build vm) - (guix build utils)) + (guix build store-copy) + (guix build utils) + (srfi srfi-26)) =20 (let ((inputs '#$(append (list qemu parted e2fsprogs dosfstools) @@ -227,9 +234,14 @@ the image." #:copy-closures? #$copy-inputs? #:register-closures? #$register-closures? #:system-directory #$os-drv)) + (root-size #$(if (eq? 'guess disk-image-size) + #~(closure-size + (map (cut string-append "/xchg/" <>) + graphs)) + (- disk-image-size + (* 50 (expt 2 20))))) (partitions (list (partition - (size #$(- disk-image-size - (* 50 (expt 2 20)))) + (size root-size) (label #$file-system-label) (file-system #$file-system-type) (flags '(boot)) diff --git a/guix/build/store-copy.scm b/guix/build/store-copy.scm index a296bdf78..fe2eb6f69 100644 --- a/guix/build/store-copy.scm +++ b/guix/build/store-copy.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright =C2=A9 2013, 2014 Ludovic Court=C3=A8s +;;; Copyright =C2=A9 2013, 2014, 2017 Ludovic Court=C3=A8s ;;; ;;; This file is part of GNU Guix. ;;; @@ -20,7 +20,9 @@ #:use-module (guix build utils) #:use-module (srfi srfi-1) #:use-module (ice-9 rdelim) + #:use-module (ice-9 ftw) #:export (read-reference-graph + closure-size populate-store)) =20 ;;; Commentary: @@ -46,6 +48,37 @@ The data at PORT is the format produced by #:references-= graphs." (loop (read-line port) result))))) =20 +(define (file-size file) + "Return the size of bytes of FILE, entering it if FILE is a directory." + (file-system-fold (const #t) + (lambda (file stat result) ;leaf + (+ (stat:size stat) result)) + (lambda (directory stat result) ;down + (+ (stat:size stat) result)) + (lambda (directory stat result) ;up + result) + (lambda (file stat result) ;skip + result) + (lambda (file stat errno result) + (format (current-error-port) + "file-size: ~a: ~a~%" file + (strerror errno)) + result) + 0 + file + lstat)) + +(define (closure-size reference-graphs) + "Return an estimate of the size of the closure described by +REFERENCE-GRAPHS, a list of reference-graph files." + (define (graph-from-file file) + (call-with-input-file file read-reference-graph)) + + (define items + (delete-duplicates (append-map graph-from-file reference-graphs))) + + (reduce + 0 (map file-size items))) + (define* (populate-store reference-graphs target) "Populate the store under directory TARGET with the items specified in REFERENCE-GRAPHS, a list of reference-graph files." diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index 35675cc01..7e20b10da 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -854,7 +854,7 @@ Some ACTIONS support additional ARGS.\n")) (build-hook? . #t) (max-silent-time . 3600) (verbosity . 0) - (image-size . ,(* 900 (expt 2 20))) + (image-size . guess) (install-bootloader? . #t))) =20 --=-=-=-- From unknown Fri Sep 19 21:29:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27401] Guessing the disk image size in 'guix system' Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 29 Jun 2017 22:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 27401@debbugs.gnu.org Received: via spool by 27401-submit@debbugs.gnu.org id=B27401.14987754348899 (code B ref 27401); Thu, 29 Jun 2017 22:31:02 +0000 Received: (at 27401) by debbugs.gnu.org; 29 Jun 2017 22:30:34 +0000 Received: from localhost ([127.0.0.1]:45130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQhxJ-0002JT-Nc for submit@debbugs.gnu.org; Thu, 29 Jun 2017 18:30:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQhxI-0002JG-KP for 27401@debbugs.gnu.org; Thu, 29 Jun 2017 18:30:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQhxA-0006C7-F2 for 27401@debbugs.gnu.org; Thu, 29 Jun 2017 18:30:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQhxA-0006Bq-Bh; Thu, 29 Jun 2017 18:30:24 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:52660 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dQhx9-0002rW-Lw; Thu, 29 Jun 2017 18:30:24 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <4fedabaa491c5a46b8d437748f9071a4aa1d966d.1497676494.git.leo@famulari.name> <87vanrc16w.fsf@gnu.org> <20170619214820.GA2317@jasmine.lan> <8760fq7d0a.fsf@gnu.org> <20170623211328.GA31313@jasmine.lan> <87vanj55n2.fsf_-_@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 Messidor an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 30 Jun 2017 00:30:21 +0200 In-Reply-To: <87vanj55n2.fsf_-_@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\?\= \=\?utf-8\?Q\?\=22's\?\= message of "Mon, 26 Jun 2017 13:51:13 +0200") Message-ID: <871sq2s9z6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > We can do =E2=80=9Cguix size $(guix system build foo.scm)=E2=80=9D and ad= d 10% or so to > that. > > Maybe something like this mostly-untested patch would work? I=E2=80=99ve committed a variant of this patch as a8ac4f081a9a679498ea42ccfe001f218bba3043. I=E2=80=99ve tested it with several OS configs and it worked, except for =E2=80=9Clightweight-desktop.tmpl=E2=80=9D where it failed with a confusing= GRUB error that might have been caused by ENOSPC. Feedback and suggestion to improve the estimate welcome! Ludo=E2=80=99.