unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#68561: Guix wrongfully claims there is no space left
@ 2024-01-18  8:30 Lars Rustand
  2024-01-18  8:42 ` Christopher Baines
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Rustand @ 2024-01-18  8:30 UTC (permalink / raw)
  To: 68561


Guix is claiming that there is no space left on the device when none of
my devices are in fact full. As you can see from the output of df -h
there is more than enough space on all filesystems:


Filesystem      Size  Used Avail Use% Mounted on
none            7.8G     0  7.8G   0% /dev
/dev/nvme0n1p7  250G  159G   79G  67% /
/dev/nvme0n1p1  2.0G  428K  2.0G   1% /boot/efi
tmpfs           7.8G  281M  7.5G   4% /dev/shm
efivarfs        184K  137K   43K  77% /sys/firmware/efi/efivars
none            7.8G   24K  7.8G   1% /run/systemd
none            7.8G     0  7.8G   0% /run/user
tmpfs           1.6G  8.0K  1.6G   1% /run/user/1000


This is the build output from Guix when trying to reconfigure my home:


warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-cuda-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-cuda-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-cuda-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-va-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-va-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-va-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-bad-audio-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-bad-audio-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-bad-audio-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-insertbin-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-insertbin-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-insertbin-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-transcoder-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-transcoder-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-transcoder-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-player-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-player-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-player-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-sctp-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-sctp-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-sctp-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-webrtc-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-webrtc-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-webrtc-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-photography-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-photography-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-photography-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-codecparsers-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-codecparsers-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-codecparsers-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-plugins-bad-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-plugins-bad-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-plugins-bad-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-mpegts-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-mpegts-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-mpegts-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-play-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-play-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-play-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/libgstcuda-1.0.so
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/libgstcuda-1.0.so
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/libgstcuda-1.0.so

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/libgstcuda-1.0.so.0.2202.0
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/libgstcuda-1.0.so.0.2202.0
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/libgstcuda-1.0.so.0.2202.0

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/libgstcuda-1.0.so.0
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/libgstcuda-1.0.so.0
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/libgstcuda-1.0.so.0
Backtrace:
           8 (primitive-load "/gnu/store/pxzi0z14dn4wciazml3pdg46216…")
In guix/build/profiles.scm:
    200:4  7 (build-profile "/gnu/store/c29rkqijl03v6kab16mfjszgaqf…" …)
In unknown file:
           6 (hash-for-each #<procedure 7ffff778ae80 at guix/build/…> …)
           5 (hash-for-each #<procedure 7ffff30c3240 at guix/build/…> …)
           4 (hash-for-each #<procedure 7ffff2931ac0 at guix/build/…> …)
           3 (hash-for-each #<procedure 7ffff282c4c0 at guix/build/…> …)
           2 (hash-for-each #<procedure 7ffff284be40 at guix/build/…> …)
           1 (hash-for-each #<procedure 7ffff778ae40 at guix/build/…> …)
           0 (symlink "/gnu/store/ws1a1w74g9iq8774dlw2wl1dbnw6wck8-…" …)

ERROR: In procedure symlink:
In procedure symlink: No space left on device





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#68561: Guix wrongfully claims there is no space left
  2024-01-18  8:30 bug#68561: Guix wrongfully claims there is no space left Lars Rustand
@ 2024-01-18  8:42 ` Christopher Baines
  2024-01-19 11:03   ` Lars Rustand
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Baines @ 2024-01-18  8:42 UTC (permalink / raw)
  To: Lars Rustand; +Cc: 68561

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


Lars Rustand <rustand.lars@gmail.com> writes:

> Guix is claiming that there is no space left on the device when none of
> my devices are in fact full. As you can see from the output of df -h
> there is more than enough space on all filesystems:
>
>
> Filesystem      Size  Used Avail Use% Mounted on
> none            7.8G     0  7.8G   0% /dev
> /dev/nvme0n1p7  250G  159G   79G  67% /
> /dev/nvme0n1p1  2.0G  428K  2.0G   1% /boot/efi
> tmpfs           7.8G  281M  7.5G   4% /dev/shm
> efivarfs        184K  137K   43K  77% /sys/firmware/efi/efivars
> none            7.8G   24K  7.8G   1% /run/systemd
> none            7.8G     0  7.8G   0% /run/user
> tmpfs           1.6G  8.0K  1.6G   1% /run/user/1000

Check df -i, it could be that some filesystem has run out of inodes.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#68561: Guix wrongfully claims there is no space left
  2024-01-18  8:42 ` Christopher Baines
@ 2024-01-19 11:03   ` Lars Rustand
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Rustand @ 2024-01-19 11:03 UTC (permalink / raw)
  To: 68561; +Cc: Christopher Baines


Christopher Baines <mail@cbaines.net> writes:
> Check df -i, it could be that some filesystem has run out of inodes.

Thanks, this was the case. To recover a useful amount of inodes I had to
delete almost all previous generations. I first tried to delete
generations older than one month with `guix gc -d 1m`, but this had
little effect. Even doing `guix gc -d 1w` only recovered about 50%
inodes.

This lead me to question what was using so many inodes, and by running
`{ find / -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n; } 2>/dev/null`
I found out that papirus-icon-theme is using an insane amount of
inodes. The below output shows all the inodes created by *one* profile
generation:

   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/ePapirus/48x48@2x/apps
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/ePapirus/48x48@2x/categories
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/ePapirus/48x48/apps
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/ePapirus/48x48/categories
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/ePapirus/96x96/apps
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/ePapirus-Dark/48x48@2x/apps
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/ePapirus-Dark/48x48@2x/categories
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/ePapirus-Dark/48x48/apps
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/ePapirus-Dark/48x48/categories
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/ePapirus-Dark/96x96/apps
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/Papirus/48x48@2x/apps
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/Papirus/48x48@2x/categories
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/Papirus/48x48/apps
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/Papirus/48x48/categories
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/Papirus/96x96/apps
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/Papirus-Dark/48x48@2x/apps
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/Papirus-Dark/48x48@2x/categories
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/Papirus-Dark/48x48/apps
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/Papirus-Dark/48x48/categories
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/Papirus-Dark/96x96/apps
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/Papirus-Light/48x48@2x/apps
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/Papirus-Light/48x48@2x/categories
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/Papirus-Light/48x48/apps
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/Papirus-Light/48x48/categories
   8438 /gnu/store/d8mq08hz1hkjkr4jib5wjhrbmxxqc28s-profile/share/icons/Papirus-Light/96x96/apps

This gives a total of over 210,000 inodes used per profile generation.

I have the Papirus theme installed as part of my home configuration
which is under constant change, so it is often rebuilt many times per
day. I had to use `guix gc -d 1d` to get back a reasonable amount of
inodes.

This package seems to be impossible to keep in any profile that is
regenerated often, which is a shame. I was going to use it as a part of
my "desktop experience", and I really like to have my whole user
environment contained within the home config to make everything as
reproducible and simple to install on other machines as possible. Having
it manually installed in the default profile would stop it from eating
up unnecessary inodes, but at the expense of introducing it as an
external dependency to my home config, which is suboptimal.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-19 11:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-18  8:30 bug#68561: Guix wrongfully claims there is no space left Lars Rustand
2024-01-18  8:42 ` Christopher Baines
2024-01-19 11:03   ` Lars Rustand

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).