From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzN2S-0006sr-0m for guix-patches@gnu.org; Tue, 03 Oct 2017 09:15:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzN2M-0000s3-CA for guix-patches@gnu.org; Tue, 03 Oct 2017 09:15:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36748) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dzN2M-0000ro-8n for guix-patches@gnu.org; Tue, 03 Oct 2017 09:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dzN2M-0000oA-1i for guix-patches@gnu.org; Tue, 03 Oct 2017 09:15:02 -0400 Subject: [bug#28638] [PATCH] doc: Suggest decreasing bytes per inode. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <2026981815.9444.1506655757552@webmail.mailhostbox.com> Date: Tue, 03 Oct 2017 15:14:35 +0200 In-Reply-To: <2026981815.9444.1506655757552@webmail.mailhostbox.com> (Mohammed Sadiq's message of "Fri, 29 Sep 2017 08:59:17 +0530 (IST)") Message-ID: <87tvzg74qs.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Mohammed Sadiq Cc: 28638@debbugs.gnu.org Hello, Mohammed Sadiq skribis: > On my system (with 21 GiB root partition), I was always getting > "No space left on device" error while `df -h' was reporting 7 GiB > of free space. After further investigation I found that the inode > space was filled (df -i). [...] > +As the store (@pxref{The Store}) shall be having lots of directories, > +symbolic links, and small files, the inode space may run out before > +the disk space is filled, especially if the partition size is small. > +Decreasing the bytes per inode shall be better to avoid related issues. > +So, with partition @file{/dev/sda1}, and with a label @code{my-root}, > +bytes per inode can be set with: > + > +@example > +mkfs.ext4 -L my-root -i 8192 /dev/sda1 Are you sure that this suggestion helps fix what you experienced? I=E2=80=99ve used ext4 partitions much bigger than this but I=E2=80=99ve ne= ver needed to pass =E2=80=9C-i 8192=E2=80=9D or similar. Could it be that the ENOSPC you experienced was due to something else, or on some other partition? Thanks, Ludo=E2=80=99.