From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IAebOLVlXGCc5AAAgWs5BA (envelope-from ) for ; Thu, 25 Mar 2021 11:28:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yBUvNLVlXGA0KwAAbx9fmQ (envelope-from ) for ; Thu, 25 Mar 2021 10:28:05 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.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 5F5F18F1F for ; Thu, 25 Mar 2021 11:28:04 +0100 (CET) Received: from localhost ([::1]:57186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPNDe-0008Px-1X for larch@yhetil.org; Thu, 25 Mar 2021 06:28:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPNCr-0008Pg-CG for bug-guix@gnu.org; Thu, 25 Mar 2021 06:27:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPNCg-0002lC-OW for bug-guix@gnu.org; Thu, 25 Mar 2021 06:27:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPNCg-0000RK-M8 for bug-guix@gnu.org; Thu, 25 Mar 2021 06:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47379: "statfs" test in tests/syscall.scm fails with BTRFS file systems. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 25 Mar 2021 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47379 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Received: via spool by 47379-submit@debbugs.gnu.org id=B47379.16166679721618 (code B ref 47379); Thu, 25 Mar 2021 10:27:02 +0000 Received: (at 47379) by debbugs.gnu.org; 25 Mar 2021 10:26:12 +0000 Received: from localhost ([127.0.0.1]:37219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPNBr-0000Q1-ML for submit@debbugs.gnu.org; Thu, 25 Mar 2021 06:26:11 -0400 Received: from flashner.co.il ([178.62.234.194]:41320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPNBp-0000Ph-Q8 for 47379@debbugs.gnu.org; Thu, 25 Mar 2021 06:26:10 -0400 Received: from localhost (unknown [31.210.177.71]) by flashner.co.il (Postfix) with ESMTPSA id 61EA140304; Thu, 25 Mar 2021 10:26:03 +0000 (UTC) Date: Thu, 25 Mar 2021 12:25:14 +0200 From: Efraim Flashner Message-ID: References: <2cca61a298fd7481859a7268fbe98fc046fff736.camel@telenet.be> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2Km2JiEhS9VOfFpb" Content-Disposition: inline In-Reply-To: <2cca61a298fd7481859a7268fbe98fc046fff736.camel@telenet.be> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 47379@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616668084; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=0dBStwrogoF+E8/DTb6xKT13OXfra2fVX4r36UY4gB4=; b=mGE3ywh/A/kOrN8vh71Q9LEcG5blRSL8iG1wqyZwIqyo0wvJZw4EOnUgZTZYfSxk9untLI u4jHjRXmalSRO6Drl4QKgdWV7w3fBMxxImra1D+qw0ksZvWC+YzW2b7gE+S+mYmhZEA0cQ dN+RWwnB9fJbGn0hTJHesRpd0NEwbWqiL3rAO/iFRuhOD16VnlQB4X6LH/9dva/VGp29r7 7XQ7sO3HxrnRICQUVwTBvJmhQ7DjSdjAobkyjJP8A/7RQpv+P9yoqPaxx0/0H2pAhS78s4 yP4cmd5Ece4gfqbXBYQVgOk+GvOXR97zVL05MNDOhK/4tcnWXB1aCmPlnmduFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616668084; a=rsa-sha256; cv=none; b=B+k9+LHtH0inwbTJMOrGVHmc71B9hw2wmWTRAzkMhCTz7KKtm+lDCIQdqRzYiG1JNp2Zj3 9TNIqUuI+JU3D8Fgu3EtwWWVLI6NAcCdpP/ZqNImZPjRgVX696TCr4F98iyP3HG4fp/KfG 4oOqpLgV88zLzZDprbhQytcByj+U+Ct14zelV33+G3PS/u0GkouJbJ3P0rnJgOe8ghnLDL 15m5uNRjmqDp3F4fsJBy4+KrXUktZb3j6lourpVwz+TTtomC3Nlu2bNEBqgyd0ApfN/c9b U9DfLYJRTro1NRPkNRm0r5wO6JZRZzVqxXRDzIVff963sWD76x8nzInzQTkdmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.56 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 5F5F18F1F X-Spam-Score: -4.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: THcotcqZmwBx --2Km2JiEhS9VOfFpb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 25, 2021 at 11:16:25AM +0100, Maxime Devos wrote: > On Thu, 2021-03-25 at 12:04 +0200, Efraim Flashner wrote: > > [...] > > I'm also running on btrfs > > (ins)scheme@(guile-user)> (statfs "/") > > [...] > >=20 > > (ins)efraim@3900XT ~$ btrfs filesystem df / > > Data, single: total=3D289.00GiB, used=3D287.83GiB > > System, single: total=3D32.00MiB, used=3D48.00KiB > > Metadata, single: total=3D13.00GiB, used=3D12.07GiB > > GlobalReserve, single: total=3D512.00MiB, used=3D0.00B > >=20 > > When was the last time you ran btrfs balance? >=20 > ... never? My output of "btrfs filesystem df" FWIW: >=20 > $ btrfs filesystem df / > Data, single: total=3D224.01GiB, used=3D223.14GiB > System, DUP: total=3D8.00MiB, used=3D48.00KiB > Metadata, DUP: total=3D14.00GiB, used=3D13.81GiB > GlobalReserve, single: total=3D512.00MiB, used=3D0.00B >=20 > Are there any reasons for running "btrfs balance"? > If so, what command do you recommend (I assume something > only touching meta data?) >=20 btrfs balance moves the free space around so that you have fewer blocks with extra freed space. I normally run 'btrfs balance start -dusage=3D70 -musage=3D80 $mountpoint'. (unless I have it backwards) this takes any blocks with data which are less than 70% used and metadata blocks with less than 80% used and re-arranges them to effectively make the total space allocated closer to the actual space used. Running it with 50 is normally plenty. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --2Km2JiEhS9VOfFpb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmBcZQcACgkQQarn3Mo9 g1ExwxAAisGXY3bhvJiEkpZ0n9yiwUDGw8MuinoRtiMq4H1deGsyoDrqjvNsBdYX /fZ7K0I/JpqFAmYgc8bHpkEnSF2SuMV9pJC9d8J2RcDSIOcNGFRQcbw9rohVez1M hSyCROSpc90WqErjiajoqJh5Za1fedJIP5ONFQxMdsK4vWphdSN1CKKR4GcBWbRs TlBYKqF2qk4+z8si7MIlj2P255QtZWdLlhwt6KuvOHh86fETmhAFSb2teD5fugHM 5+YVhwRwDP7tkKZeSgPyk7LOQTh7zotuvNoi0NQ8bjy4oV7A+QzAuzWPQTrjZ2Fd 6LAHXoMMtGJrl/Dgp8Tb0SsQ5Hxu3TI8jFM8ltaLX+P9WyXIcj/LGwmLJN8sxThQ eeik9OuiultuypK6s6lFHIWxF6wnQ4vxU4/+7aNlf8SScjx4inE0pvut9KvLo3ix 33aNXJl4HYlqGnn+bFuYhUapB+SKNIqM46/C5BIxB187ES+quYz2t7b3lEpgdBXD Eu7A7b9lC/mAJb6jS/Am/TBNZukpZwuMezlj31DS9Eo+RjbA+ooSUfYAzsMm2SH8 ABkmK184gJnnc9gxWroO+lY98wRKZDwvqRDgJM3OeeFozy3sJwqbnm84mdLYYWlt tHSIdVJV5KCThQMakuWq2ymDeLBpscdnmVx/q8Jm6N0H1CUhLDU= =cLKD -----END PGP SIGNATURE----- --2Km2JiEhS9VOfFpb--