unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: guix-devel@gnu.org
Subject: No more space left on device issue
Date: Sun, 18 Dec 2016 11:16:52 -0800	[thread overview]
Message-ID: <87vauhjbdn.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 723 bytes --]

Hello Guix,

I've had this issue before but couldn't understand what was happening at
the time. At that time, I simply resized my filesystem then ran the
garbage collector.

$ touch /tmp/test.txt
touch: cannot touch '/tmp/test.txt': No space left on device

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
none            1.9G     0  1.9G   0% /dev
/dev/sda1        37G   25G   11G  71% /
tmpfs           1.9G     0  1.9G   0% /dev/shm
cgroup          1.9G     0  1.9G   0% /sys/fs/cgroup
none            1.9G   12K  1.9G   1% /run/systemd
none            1.9G     0  1.9G   0% /run/user
tmpfs           376M     0  376M   0% /run/user/1000

In the #guix channel, jmd suggested that this might be an inode issue:


[-- Attachment #2: Type: text/plain, Size: 1788 bytes --]

$ sudo tune2fs -l /dev/sda1
Password: 
tune2fs 1.42.13 (17-May-2015)
Filesystem volume name:   my-root
Last mounted on:          /
Filesystem UUID:          2b2b35a6-8f47-4fc2-9700-bda7fc1044cd
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              2445984
Block count:              9764864
Reserved block count:     488242
Free blocks:              3183059
Free inodes:              23
First block:              0
Block size:               4096
Fragment size:            4096
Group descriptor size:    64
Reserved GDT blocks:      1024
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8208
Inode blocks per group:   513
Flex block group size:    16
Filesystem created:       Tue Nov  1 08:38:50 2016
Last mount time:          Sun Dec 18 10:47:37 2016
Last write time:          Sun Dec 18 10:47:37 2016
Mount count:              20
Maximum mount count:      -1
Last checked:             Tue Nov  1 08:38:50 2016
Check interval:           0 (<none>)
Lifetime writes:          146 GB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     32
Desired extra isize:      32
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      330c34f4-9c29-4b59-bb21-d8d00770e2e7
Journal backup:           inode blocks

[-- Attachment #3: Type: text/plain, Size: 381 bytes --]


It does seem like it is; the "Free inodes" count is very low at 23 and
this is only refreshed at the time the filesystem is mounted (since I
last booted).

jmd also requests that I post this information here so that the
configuration of the GuixSD filesystem settings can be discussed. With
the store being very inode intensive, there might be something to tweak?

Thanks,

Maxim

             reply	other threads:[~2016-12-18 19:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-18 19:16 Maxim Cournoyer [this message]
2016-12-19 13:52 ` No more space left on device issue Ludovic Courtès
2016-12-21 18:52   ` Maxim Cournoyer
2016-12-21 21:48     ` Ludovic Courtès
2016-12-21 22:17       ` Tobias Geerinckx-Rice
2016-12-22 18:00         ` Maxim Cournoyer
2016-12-22 17:41       ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vauhjbdn.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).