Received: (at 37293) by debbugs.gnu.org; 3 Sep 2019 03:05:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 02 23:05:08 2019 Received: from localhost ([127.0.0.1]:59144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1i4z7z-0001Py-Tg for submit <at> debbugs.gnu.org; Mon, 02 Sep 2019 23:05:08 -0400 Received: from mail-pf1-f181.google.com ([209.85.210.181]:33394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jgibbons2357@HIDDEN>) id 1i4z7x-0001PL-Vn for 37293 <at> debbugs.gnu.org; Mon, 02 Sep 2019 23:05:06 -0400 Received: by mail-pf1-f181.google.com with SMTP id q10so4805022pfl.0 for <37293 <at> debbugs.gnu.org>; Mon, 02 Sep 2019 20:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:in-reply-to:references:date:mime-version :content-transfer-encoding; bh=FXBHmpXzjF2NtHaMkeK9eGcRe3P7eH7RfjA0UCTH/XQ=; b=jpLbt1VH7E5/bHVYMIbUrIK+GuHihS4dqbPc2x98i9FaA+dSCUn3DTuESjtpkScWaj ZMTRHMh6dtkKcGq2W65J6cQ3a2j9GxWZoVCbxLC7OqSeJwSCvVP+cOvc9SJGwgvmcrJR IIxqbtBMVgYkJA42gg7YEkfbgDVQ+MimLY0srYvzzRgmsGSUeORP7y0eXCRZtnE6i2/X /ahhiIjNSbTDxJZQJywaNNIaEeztbNEeRHHy8vU5tXGowyfPx19mlSFiOMm+Bk4snX27 FnEh3E6Ho/cyQm1fhFHnox4KxOpTtFxu3k7x6909GT+PkpiC/pZmItlq+PdgEUYLuNop lz6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:in-reply-to :references:date:mime-version:content-transfer-encoding; bh=FXBHmpXzjF2NtHaMkeK9eGcRe3P7eH7RfjA0UCTH/XQ=; b=CH5kI4X5gBLvFnf2jyvhSxerl7+SNMu0TvE7TEujtE/kwVV89H/MqSxNfN6GHvOyUl 1JHM5USs04z083r3LTdpjfo2GqEa7FQTuQv2cDspNhSVja2QFgLb5o7LnycOgmuGZ6SK 3tABpPtxa6kGa8bT8YsQudWEQtyo+LYxP6C+ROMZEgIRC5ejrgiNhiHA97FFhruf9ZxE rdXiYA8JXKA52YbU5+bSEgfF0XJiLyArpMjOPB/kYOeYo5Sstjv/QIPGs0xWn3ptyW0y NTSkygr0t0aQzic562wXFlLx7+FZ/8rOrZkcYeg865xF/KAs7lhPLczYfKnHoqUsa/AO 3UkQ== X-Gm-Message-State: APjAAAXjTsQfpIrkq60W7/Vit4183lqCsU13g0IDmdeCMVp0L8bNkheM 4eNi3Oyr+BghkC5W9I90jJaE6D6z X-Google-Smtp-Source: APXvYqwqv3rm889iENeN53vh8b34i8fqPxIlrZGRg0Nc++zYrQXCxGw1EmuPkWAjf//m3x3XwHYb0Q== X-Received: by 2002:a65:4844:: with SMTP id i4mr28405770pgs.113.1567479899781; Mon, 02 Sep 2019 20:04:59 -0700 (PDT) Received: from piranhaplant.local ([199.68.53.171]) by smtp.googlemail.com with ESMTPSA id z13sm11251823pfq.121.2019.09.02.20.04.58 for <37293 <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2019 20:04:59 -0700 (PDT) Message-ID: <756e464b19ac17ed6847fe091191503396e3fbfc.camel@HIDDEN> Subject: Re: bug#37293: image-size is meaningless when generating ext4 images From: Jesse Gibbons <jgibbons2357@HIDDEN> To: 37293 <at> debbugs.gnu.org In-Reply-To: <46bad7b539bd9a7ce04e2dcbfad336a00fdc03f0.camel@HIDDEN> References: <46bad7b539bd9a7ce04e2dcbfad336a00fdc03f0.camel@HIDDEN> Content-Type: text/plain; charset="UTF-8" Date: Mon, 02 Sep 2019 21:04:58 -0600 Mime-Version: 1.0 X-Mailer: Evolution 3.28.1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 37293 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) On Mon, 2019-09-02 at 20:48 -0600, Jesse Gibbons wrote: > The manual says in multiple places the --image-size option should set > the size of a generated ext4 disk image. > > I start with a minimalist configuration (attached: minimal.scm) and > run > build-minimal-os.sh (attached). I start virt-manager and make a new > virtual machine with the generated img as the disk image. virt- > manager > says the disk image is 20G. So far so good... > > I run "guix pull" and it fails because it runs out of disk space. > > I run df -h and see the partition mounted on / has only 494M. > available. > > I run cfdisk /dev/sda and see the first partition is 20G. > > I have added quite a bit to the minimal os, but have not changed the > behavior. The attached minimal.scm is my most recent version. > > Does anyone know of a way to expand the main partition's size? > > Thanks, > If I take build-minimal-os.sh and have it build a qcow2 vm-image instead of an ext4 disk-image it says I found a bug. I think it might be related, but it doesn't give me any details.
bug-guix@HIDDEN
:bug#37293
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 3 Sep 2019 02:48:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 02 22:48:38 2019 Received: from localhost ([127.0.0.1]:59134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1i4ys2-0000vk-1Y for submit <at> debbugs.gnu.org; Mon, 02 Sep 2019 22:48:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:33268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jgibbons2357@HIDDEN>) id 1i4ys0-0000vd-UN for submit <at> debbugs.gnu.org; Mon, 02 Sep 2019 22:48:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52988) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <jgibbons2357@HIDDEN>) id 1i4yrz-0006Zq-4x for bug-guix@HIDDEN; Mon, 02 Sep 2019 22:48: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=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <jgibbons2357@HIDDEN>) id 1i4yrx-0006YV-Eu for bug-guix@HIDDEN; Mon, 02 Sep 2019 22:48:35 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:37026) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <jgibbons2357@HIDDEN>) id 1i4yrx-0006Wb-6P for bug-guix@HIDDEN; Mon, 02 Sep 2019 22:48:33 -0400 Received: by mail-pf1-x42c.google.com with SMTP id y9so9846726pfl.4 for <bug-guix@HIDDEN>; Mon, 02 Sep 2019 19:48:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:mime-version; bh=qqccVTe7vLKQEVRSWx+aUprHi2E8pIzdPot0erYUr0M=; b=b4kuaN/hus6Urs9LSfv/pWZ0T7yK+drU90lcB7MotefAO89xPQIrKkoQUlTWlPVskC cR2KV7VXrqs03eQKtSI+vGB/lOGZCWc6xo9NmBuL28YsFoTU0uJl+/3rnytrryfPQ9+U vdbgSmOW41EtOlSFfncIzfnikykoHASSco06GUfCu9SofmmJ+KXKGHTGvV/r3nbggE2F xtpQ509aUPLA1l+zNzHtlcsiUrLyak6p9ojDn+r24Es2jteKi+vkpKVQFr31yhfIZTt5 33hwNxzRzFn3VeY45U8qb6HosrdcHjCrPSseKNUS8w87bH0cd9De1McJdM2ltEZmf8wD xCvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:mime-version; bh=qqccVTe7vLKQEVRSWx+aUprHi2E8pIzdPot0erYUr0M=; b=tKotzoRG+/3HUm4VvQfihgotTRAUNE8zgqcifu3LZx/Ac2eioDQrTYl95lcI2+CHFd PQYpaMCdIXKmIx1TS5MzhTL57ICLIqxtrllIj3l17t4og9O9Hov/hNDo+668KNSoVYbN 5ozNsTxBZFlpX6E0HHXHmwN0J2nzaKdgfMcWMdEQU1Vc8Uzc7ID8rsNNI/er1VLvGuoX FS/yqWaeAeXz8e3wWTLK6CAws+0w1ortrKACgk8w6y7S/HQIPnxRT3L9UVOm5E1/jHY0 lQxng4fWfJf7NSky+cuiukBntLXj66K2Oeq2kxKBwrBV6LvuldHE1TinW+KbvrTnQiIl jrPA== X-Gm-Message-State: APjAAAVRr/+93vyaNuHpLTUPGE9tE/7vHSecuEoXQ1Td0zEVM362A8n8 B/x614SAVRKR19rl36z+tkpbNjR8 X-Google-Smtp-Source: APXvYqwrkTNnRnTYs6KxW789lj45sOenP1qkAz0H0CQO6AkOdiAcll4UU2wA+wnMUdCCN7+HHFAaww== X-Received: by 2002:a63:2b84:: with SMTP id r126mr28600663pgr.308.1567478909724; Mon, 02 Sep 2019 19:48:29 -0700 (PDT) Received: from piranhaplant.local ([199.68.53.171]) by smtp.googlemail.com with ESMTPSA id j10sm14924869pjn.3.2019.09.02.19.48.28 for <bug-guix@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2019 19:48:28 -0700 (PDT) Message-ID: <46bad7b539bd9a7ce04e2dcbfad336a00fdc03f0.camel@HIDDEN> Subject: image-size is meaningless when generating ext4 images From: Jesse Gibbons <jgibbons2357@HIDDEN> To: bug-guix mailing list <bug-guix@HIDDEN> Content-Type: multipart/mixed; boundary="=-uPeM/DKsJe35Ft02ml5V" Date: Mon, 02 Sep 2019 20:48:27 -0600 Mime-Version: 1.0 X-Mailer: Evolution 3.28.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42c X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.1 (--) --=-uPeM/DKsJe35Ft02ml5V Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit The manual says in multiple places the --image-size option should set the size of a generated ext4 disk image. I start with a minimalist configuration (attached: minimal.scm) and run build-minimal-os.sh (attached). I start virt-manager and make a new virtual machine with the generated img as the disk image. virt-manager says the disk image is 20G. So far so good... I run "guix pull" and it fails because it runs out of disk space. I run df -h and see the partition mounted on / has only 494M. available. I run cfdisk /dev/sda and see the first partition is 20G. I have added quite a bit to the minimal os, but have not changed the behavior. The attached minimal.scm is my most recent version. Does anyone know of a way to expand the main partition's size? Thanks, -- -Jesse --=-uPeM/DKsJe35Ft02ml5V Content-Type: application/x-shellscript; name="build-minimal-os.sh" Content-Disposition: attachment; filename="build-minimal-os.sh" Content-Transfer-Encoding: base64 Z3VpeCBzeXN0ZW0gYnVpbGQgLS12ZXJib3NpdHk9MyBtaW5pbWFsLnNjbSB8fCBleGl0IDEKZ3Vp eCBzeXN0ZW0gZGlzay1pbWFnZSAtLWZpbGUtc3lzdGVtLXR5cGU9ZXh0NCAtLXJvb3Q9X21pbmlt YWwuaW1nIC0taW1hZ2Utc2l6ZT0yMEcgbWluaW1hbC5zY20gfHwgZXhpdCAxCmNwIF9taW5pbWFs LmltZyBtaW5pbWFsLmltZwpjaG1vZCB1K3cgbWluaW1hbC5pbWcK --=-uPeM/DKsJe35Ft02ml5V Content-Disposition: attachment; filename="minimal.scm" Content-Type: text/x-scheme; name="minimal.scm"; charset="UTF-8" Content-Transfer-Encoding: base64 KHVzZS1tb2R1bGVzIChnbnUpCgkgICAgIChnbnUgc2VydmljZXMgbmV0d29ya2luZykpCgoob3Bl cmF0aW5nLXN5c3RlbQogKGJvb3Rsb2FkZXIKICAoYm9vdGxvYWRlci1jb25maWd1cmF0aW9uCiAg KGJvb3Rsb2FkZXIgZ3J1Yi1ib290bG9hZGVyKSkpCiAgKGhvc3QtbmFtZSAibWluaW1hbC1vcyIp CiAoZmlsZS1zeXN0ZW1zIChjb25zKgoJCShmaWxlLXN5c3RlbQoJCSAodHlwZSAiZXh0NCIpCgkJ IChtb3VudC1wb2ludCAiLyIpCgkJIChkZXZpY2UgIi9kZXYvc2RhMSIpCgkJIChuZWVkZWQtZm9y LWJvb3Q/ICN0KQoJCSAoY3JlYXRlLW1vdW50LXBvaW50PyAjdCkpCgkJJWJhc2UtZmlsZS1zeXN0 ZW1zKSkKIChwYWNrYWdlcyAoY29ucyoKCSAgICAlYmFzZS1wYWNrYWdlcykpCgogKHNlcnZpY2Vz CiAgKGNvbnMqCiAgIChzZXJ2aWNlIG5ldHdvcmstbWFuYWdlci1zZXJ2aWNlLXR5cGUpCiAgIChz ZXJ2aWNlIHdwYS1zdXBwbGljYW50LXNlcnZpY2UtdHlwZSkKICAgJWJhc2Utc2VydmljZXMpKQog KHRpbWV6b25lICJBbWVyaWNhL0RlbnZlciIpKQo= --=-uPeM/DKsJe35Ft02ml5V--
Jesse Gibbons <jgibbons2357@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#37293
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.