GNU bug report logs -
#28638
[PATCH] doc: Suggest decreasing bytes per inode.
Previous Next
Reported by: Mohammed Sadiq <sadiq <at> sadiqpk.org>
Date: Fri, 29 Sep 2017 03:30:02 UTC
Severity: normal
Tags: patch, wontfix
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28638 in the body.
You can then email your comments to 28638 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#28638
; Package
guix-patches
.
(Fri, 29 Sep 2017 03:30:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mohammed Sadiq <sadiq <at> sadiqpk.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 29 Sep 2017 03:30:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
This may not be optimal. But I believe this might be good.
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).
[0001-doc-Suggest-decreasing-bytes-per-inode.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28638
; Package
guix-patches
.
(Tue, 03 Oct 2017 13:15:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 28638 <at> debbugs.gnu.org (full text, mbox):
Hello,
Mohammed Sadiq <sadiq <at> sadiqpk.org> 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’ve used ext4 partitions much bigger than this but I’ve never needed to
pass “-i 8192” or similar.
Could it be that the ENOSPC you experienced was due to something else,
or on some other partition?
Thanks,
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28638
; Package
guix-patches
.
(Tue, 03 Oct 2017 14:06:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 28638 <at> debbugs.gnu.org (full text, mbox):
> On October 3, 2017 at 6:44 PM Ludovic Courtès <ludo <at> gnu.org> wrote:
>
>
> Hello,
Hello,
> I’ve used ext4 partitions much bigger than this but I’ve never needed to
> pass “-i 8192” or similar.
>
The issue happens when lots of small files are stored in store.
It may be possible to reproduce this by creating a separate partition
for /gnu/store with size around 5-10 GiB (I haven't tried that way though).
> Could it be that the ENOSPC you experienced was due to something else,
> or on some other partition?
Idk. This same error was shown when downloading a file in icecat or copying
a file in nautilus in home dir.
But of course, this patch can wait, until some others have the same issue.
Anyway, note that if no space error is shown, it can either be disk space
filled (df -h) or inode space filled (df -hi).
Thanks
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28638
; Package
guix-patches
.
(Tue, 03 Oct 2017 14:21:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 28638 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Tue, Oct 03, 2017 at 03:14:35PM +0200, Ludovic Courtès wrote:
> Mohammed Sadiq <sadiq <at> sadiqpk.org> skribis:
> > +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’ve used ext4 partitions much bigger than this but I’ve never needed to
> pass “-i 8192” or similar.
I've also not run out of inodes on my ext4 system that was set up with
Debian's defaults.
Also, it may be better to recommend creating the filesystem with more
inodes than usual, rather than reducing the size of the inodes. From the
man page mkfs.ext4(8):
-N number-of-inodes
Overrides the default calculation of the number of inodes that
should be reserved for the filesystem (which is based on the
number of blocks and the bytes-per-inode ratio). This allows the
user to specify the number of desired inodes directly.
But then you are really asking for too much expertise when installing
Guix, in my opinion.
[signature.asc (application/pgp-signature, inline)]
Added tag(s) wontfix.
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Sat, 07 Oct 2017 20:43:01 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
28638 <at> debbugs.gnu.org and Mohammed Sadiq <sadiq <at> sadiqpk.org>
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Sat, 07 Oct 2017 20:43:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 05 Nov 2017 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 288 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.