Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
WTF? No space left on device: ext4 can't hold portage-tree
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Mon Sep 28, 2009 11:12 pm    Post subject: WTF? No space left on device: ext4 can't hold portage-tree Reply with quote

I'm trying to extract a 430 MB big tar.bz2 tarball of my backed up portage-partition to a newly created ext4-partition

it doesn't matter if I alter the blocksize from 4096 to 1024 or switch any other magical lever:

I always get the same stupid message when df -h is reporting:

portage 3.9G 891M 3.0G 23% /usr/gentoo
Quote:
tar xjpf /home/system/portage_290909.tbz2 -C /usr/gentoo/
tar: usr/gentoo/portage/x11-misc/xsimpsons/Manifest: Cannot open: No space left on device
tar: usr/gentoo/portage/x11-misc/xsimpsons/metadata.xml: Cannot open: No space left on device
tar: usr/gentoo/portage/x11-misc/xsimpsons/xsimpsons-0.1-r1.ebuild: Cannot open: No space left on device
tar: usr/gentoo/portage/x11-misc/xsimpsons/xsimpsons-0.1.ebuild: Cannot open: No space left on device
tar: usr/gentoo/portage/x11-misc/xsnap: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/xsnap/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xsnap/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xsnap/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xsnap/xsnap-1.5.2.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xsnap/xsnap-1.5.5.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xsnow: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/xsnow/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xsnow/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xsnow/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xsnow/xsnow-1.42.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xsri: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/xsri/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xsri/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xsri/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xsri/xsri-2.1.0-r1.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xsri/xsri-2.1.0.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xstroke: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/xstroke/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xstroke/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xstroke/files: Cannot mkdir: No such file or directory
tar: usr/gentoo/portage/x11-misc/xstroke/files/xstroke-0.6-sigsegv_sprintf.patch: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xstroke/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xstroke/xstroke-0.6-r1.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xteddy: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/xteddy/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xteddy/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xteddy/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xteddy/xteddy-2.0.1.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtermcontrol: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/xtermcontrol/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtermcontrol/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtermcontrol/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtermcontrol/xtermcontrol-2.9.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtoolwait: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/xtoolwait/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtoolwait/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtoolwait/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtoolwait/xtoolwait-1.3-r1.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtrlock: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/xtrlock/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtrlock/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtrlock/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtrlock/xtrlock-2.0-r2.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtscal: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/xtscal/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtscal/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtscal/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xtscal/xtscal-0.6.3.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xvidcap: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/xvidcap/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xvidcap/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xvidcap/files: Cannot mkdir: No such file or directory
tar: usr/gentoo/portage/x11-misc/xvidcap/files/xvidcap-1.1.7-avutil.patch: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xvidcap/files/xvidcap-1.1.7-ffmpeg-headers.patch: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xvidcap/files/xvidcap-1.1.7-ffmpeg-trellis.patch: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xvidcap/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xvidcap/xvidcap-1.1.7.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xvkbd: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/xvkbd/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xvkbd/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xvkbd/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xvkbd/xvkbd-2.6.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xvkbd/xvkbd-2.8.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xwit: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/xwit/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xwit/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xwit/files: Cannot mkdir: No such file or directory
tar: usr/gentoo/portage/x11-misc/xwit/files/malloc.patch: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xwit/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xwit/xwit-3.4.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xwrits: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/xwrits/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xwrits/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xwrits/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xwrits/xwrits-2.21.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xwrits/xwrits-2.24.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xwrits/xwrits-2.26.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xxkb: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/xxkb/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xxkb/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xxkb/files: Cannot mkdir: No such file or directory
tar: usr/gentoo/portage/x11-misc/xxkb/files/README: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xxkb/files/de15.xpm: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xxkb/files/de48.xpm: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xxkb/files/pl15.xpm: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xxkb/files/pl48.xpm: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xxkb/files/xxkb-1.10-gcc34-fix.patch: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xxkb/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xxkb/xxkb-1.10.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/xxkb/xxkb-1.11.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/zim: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/zim/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/zim/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/zim/files: Cannot mkdir: No such file or directory
tar: usr/gentoo/portage/x11-misc/zim/files/zim-0.28-disable-updates.patch: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/zim/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/zim/zim-0.28.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/service-discovery-applet: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-misc/service-discovery-applet/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/service-discovery-applet/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/service-discovery-applet/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/service-discovery-applet/service-discovery-applet-0.4.3-r1.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-misc/service-discovery-applet/service-discovery-applet-0.4.3.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-plugins: Cannot mkdir: No space left on device
tar: usr/gentoo/portage/x11-plugins/allin1: Cannot mkdir: No such file or directory
tar: usr/gentoo/portage/x11-plugins/allin1/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-plugins/allin1/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-plugins/allin1/allin1-0.5.0.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-plugins/allin1/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-plugins/asapm: Cannot mkdir: No such file or directory
tar: usr/gentoo/portage/x11-plugins/asapm/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-plugins/asapm/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-plugins/asapm/asapm-3.1.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-plugins/asapm/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-plugins/asclock: Cannot mkdir: No such file or directory
tar: usr/gentoo/portage/x11-plugins/asclock/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-plugins/asclock/Manifest: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-plugins/asclock/files: Cannot mkdir: No such file or directory
tar: usr/gentoo/portage/x11-plugins/asclock/files/asclock-gcc41.patch: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-plugins/asclock/metadata.xml: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-plugins/asclock/asclock-2.0.12-r1.ebuild: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-plugins/ascpu: Cannot mkdir: No such file or directory
tar: usr/gentoo/portage/x11-plugins/ascpu/ChangeLog: Cannot open: No such file or directory
tar: usr/gentoo/portage/x11-plugins/ascpu/Manifest: Cannot open: No such file or directory

_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5720

PostPosted: Mon Sep 28, 2009 11:20 pm    Post subject: Reply with quote

Try `df -i`.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Mon Sep 28, 2009 11:54 pm    Post subject: Reply with quote

Ant_P wrote:
Try `df -i`.


thanks !

Quote:
portage 256000 256000 0 100% /usr/gentoo


HA HA ! FUNNY - NOT !

I thought this was fixed with ext4 ?

I'm going for XFS :twisted:

if that doesn't destroy my data and keeps a reasonable speed I'll stay there (my hardware currently seems to have some problems and reiser4 doesn't like it ;) )

thanks anyways


Ant_P, you have any suggestion how many inodes to reserve for ext4 and a portage-partition ?

thanks !
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10306
Location: Córdoba (Spain)

PostPosted: Tue Sep 29, 2009 12:13 am    Post subject: Reply with quote

kernelOfTruth wrote:
Ant_P wrote:
Try `df -i`.


thanks !

Quote:
portage 256000 256000 0 100% /usr/gentoo


HA HA ! FUNNY - NOT !

I thought this was fixed with ext4 ?


No. Ext4 is the evolution of ext3, it's based on i-nodes just like ext2/3, and you need at least one i-node for each file. If no. files > no. inodes, then you are screwed. Ext4 can't solve that. Portage has around 120,000-140,000 files so you need at least the same number of i-nodes (minimum).

Quote:

Ant_P, you have any suggestion how many inodes to reserve for ext4 and a portage-partition ?

thanks !


See above.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5720

PostPosted: Tue Sep 29, 2009 1:04 am    Post subject: Reply with quote

You'll have to reformat the partition with more inodes. If you want to be really lazy this'll make it with about twice as many inodes as you need:
Code:
mkfs.ext4 -N $(( 2 * `tar tf portage.tar.bz2 | wc --lines` )) /dev/whatever
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Sep 29, 2009 10:52 am    Post subject: Reply with quote

thanks i92guboj, Ant_P !

so the problem simply is that ext4 isn't "optimized" for these kind of usage-cases and has to be set up manually :idea:

I temporarily set it up with
Code:
-i 1024 -b 1024
and that worked,

currently I am testing xfs right now
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum