From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXTYd-0005yz-Rq for guix-patches@gnu.org; Tue, 18 Jul 2017 10:33:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXTYc-0000V2-Uk for guix-patches@gnu.org; Tue, 18 Jul 2017 10:33:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44037) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXTYc-0000Ul-RH for guix-patches@gnu.org; Tue, 18 Jul 2017 10:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dXTYc-0005lD-LX for guix-patches@gnu.org; Tue, 18 Jul 2017 10:33:02 -0400 Subject: [bug#27754] [PATCH] vm: Increase disk size overhead estimate. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXTYR-0005nz-Pb for guix-patches@gnu.org; Tue, 18 Jul 2017 10:32:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXTYQ-0000Nn-Sb for guix-patches@gnu.org; Tue, 18 Jul 2017 10:32:51 -0400 Received: from tobias.gr ([2001:470:cc92::1]:58568) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dXTYQ-0000NH-Hv for guix-patches@gnu.org; Tue, 18 Jul 2017 10:32:50 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id b68206be for ; Tue, 18 Jul 2017 14:32:45 +0000 (UTC) Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id e5dced66 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Tue, 18 Jul 2017 14:32:44 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Tue, 18 Jul 2017 16:34:16 +0200 Message-Id: <20170718143416.12088-1-me@tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27754@debbugs.gnu.org * gnu/build/vm.scm (estimated-partition-size): Add 25% to the graph size. --- Guix, Add a conservative 5% to the disk size overhead estimate. It's enough to make ‘guix system disk-image gnu/system/install.scm’ work again for me. Kind regards, T gnu/build/vm.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm index 086f38ade..14bd7851f 100644 --- a/gnu/build/vm.scm +++ b/gnu/build/vm.scm @@ -157,8 +157,8 @@ the #:references-graphs parameter of 'derivation'." (define (estimated-partition-size graphs) "Return the estimated size of a partition that can store the store items given by GRAPHS, a list of file names produced by #:references-graphs." - ;; Simply add a 20% overhead. - (round (* 1.2 (closure-size graphs)))) + ;; Simply add a 25% overhead. + (round (* 1.25 (closure-size graphs)))) (define* (initialize-partition-table device partitions #:key -- 2.13.1