From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 25 08:38:40 2020 Received: (at 39774) by debbugs.gnu.org; 25 Feb 2020 13:38:40 +0000 Received: from localhost ([127.0.0.1]:54573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6aQ4-0001Tx-Gg for submit@debbugs.gnu.org; Tue, 25 Feb 2020 08:38:40 -0500 Received: from lepiller.eu ([89.234.186.109]:58154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6aPy-0001Tj-SM for 39774@debbugs.gnu.org; Tue, 25 Feb 2020 08:38:38 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 37a014d0; Tue, 25 Feb 2020 13:38:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=CXSqJDnWmoNaWJw7nWx/vPy2vYZilgbS6bRkQSZrhxA=; b=LzE0IkuAt8Zb cGq7kJ+RqVD9UInW3mnfIabOOgFSdwCZmFym3FMD4w2ZneYwd3rcGVMEU0aD+6I6 ZFDxbF5scA3ZytRiLCa/JiNDVmbcmNADO4s4NfIpLCLeu29qFyhI2wqN2rxpNmmC 6OyfLSngrsC2m+fdHdO5UAWi/469DdFAPPl8u5Me733NIjFmDFsdE6XCd0j0vKUt yqG2VTHXesWe254MNCKzH302r3FDeEFEZgutBDrQyGgMDcs+8K62HENM72dzkXvi d/UiQB4gANe0SKW0Jce6XsOSmCpgEl8C1iMLJxjek8lCVOqKklp7z6GrY+UEBLzJ e6Dd069HtA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 23ded6db (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 25 Feb 2020 13:38:30 +0000 (UTC) Date: Mon, 24 Feb 2020 22:15:10 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <6c750a5f65242c052a75df812123b95f94592b70.camel@gmail.com> References: <6c750a5f65242c052a75df812123b95f94592b70.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: bug#39774: guix incorrectly says "No space left on device" To: Jesse Gibbons ,39774@debbugs.gnu.org From: Julien Lepiller Message-ID: <31D6F2BA-A08C-49C4-AD20-6076036A215C@lepiller.eu> X-Spam-Score: 1.1 (+) 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: Le 24 février 2020 22:01:45 GMT-05:00, Jesse Gibbons a écrit : >I have a laptop with two drives. A few days ago, when I ran `df -h` it >outputs: >Filesystem Size Used Avail [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_NONE SPF: sender does not publish an SPF Record 1.1 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: lepiller.eu] X-Debbugs-Envelope-To: 39774 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.1 (/) Le 24 f=C3=A9vrier 2020 22:01:45 GMT-05:00, Jesse Gibbons a =C3=A9crit : >I have a laptop with two drives=2E A few days ago, when I ran `df -h` it >outputs: >Filesystem Size Used Avail Use% Mounted on >none 16G 0 16G 0% /dev >/dev/sdb1 229G 189G 29G 87% / >/dev/sda1 458G 136G 299G 32% /gnu/store >tmpfs 16G 0 16G 0% /dev/shm >none 16G 64K 16G 1% /run/systemd >none 16G 0 16G 0% /run/user >cgroup 16G 0 16G 0% /sys/fs/cgroup >tmpfs 3=2E2G 16K 3=2E2G 1% /run/user/983 >tmpfs 3=2E2G 60K 3=2E2G 1% /run/user/1001 > >As you can see, /dev/sda1 is the drive mounted on /gnu/store=2E >Everything in the store is written to it, and it has plenty of space >available=2E > >Guix sometimes says there is "No space left on device"=2E This always >happens in particular when I try `guix gc --optimize`, but it sometimes >happens when I call `guix pull` or `guix upgrade`=2E When guix pull or >guix upgrade fails with this message, I can clear up more space by >deleting ~/=2Ecache and emtpying my trash and it works=2E > > >Today I have also seen this happen when I'm trying to upgrade a large >profile=2E It said it could not build anything because there was no more >disk space, even after I cleaned up /dev/sdb1 to 40% use=2E It finally >recognized the empty disk space when I called guix gc and it deleted a >few of the dependencies needed for the upgrades=2E But it didn't take >long to trigger this bug again=2E Here's the new output of `df -h`: > >Filesystem Size Used Avail Use% Mounted on >none 16G 0 16G 0% /dev >/dev/sdb1 229G 86G 131G 40% / >/dev/sda1 458G 182G 253G 42% /gnu/store >tmpfs 16G 0 16G 0% /dev/shm >none 16G 80K 16G 1% /run/systemd >none 16G 0 16G 0% /run/user >cgroup 16G 0 16G 0% /sys/fs/cgroup >tmpfs 3=2E2G 24K 3=2E2G 1% /run/user/983 >tmpfs 3=2E2G 12K 3=2E2G 1% /run/user/1000 >tmpfs 3=2E2G 60K 3=2E2G 1% /run/user/1001 > >Any clues why this happens and what can be done to fix it? Could it be >related to how /dev/sdb1 is 229G large, and the total used space in / >and /gnu/store is more than that? > >-Jesse There could be two explanations: you've run out of inodes or the filesyste= m that was out of space is not the one you think (maybe it was during a bui= ld and your /tmp is a tmpfs?)=2E Try `df -i`=2E