Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Problem with ext4

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
Martux
Veteran
Veteran
User avatar
Posts: 1917
Joined: Fri Feb 04, 2005 9:09 pm

Problem with ext4

  • Quote

Post by Martux » Fri Dec 26, 2008 9:54 pm

Hello!
I was playing with the new gentoo-sources-2.6.28 and new ext4 support.
I have a 2GB partition for portage which i formatted with ext4. During resyncing the tree i got an error "no space left on device" even over 1GB was still free. What went wrong? What are the recommended mount options to get the best out of ext4? ATM i am using reiserfs(3) for the portage tree partition. Does switching to ext4 even make sense?
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Top
Hu
Administrator
Administrator
Posts: 24386
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sat Dec 27, 2008 12:41 am

Perhaps you ran out of inodes?
Top
Martux
Veteran
Veteran
User avatar
Posts: 1917
Joined: Fri Feb 04, 2005 9:09 pm

  • Quote

Post by Martux » Sat Dec 27, 2008 10:18 am

Shouldn't mkfs.ext4 take care of this automagically?
How many inodes should be set for a 2GB portage partition?
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Top
outermeasure
Apprentice
Apprentice
Posts: 194
Joined: Wed Nov 26, 2008 10:58 am
Location: ping6 ff02::1

  • Quote

Post by outermeasure » Sat Dec 27, 2008 10:26 am

Martux wrote:Shouldn't mkfs.ext4 take care of this automagically?
How many inodes should be set for a 2GB portage partition?
The portage main tree uses something around to 130k inodes, so you should give it a bit more, say 200k?
Top
Ian
l33t
l33t
Posts: 834
Joined: Mon Oct 28, 2002 10:15 pm
Location: Somerville, MA

  • Quote

Post by Ian » Thu Jan 29, 2009 10:47 pm

I just ran into this same problem...any definite solutions?
Top
SlashBeast
Retired Dev
Retired Dev
User avatar
Posts: 2922
Joined: Tue May 23, 2006 11:50 am
Contact:
Contact SlashBeast
Website

  • Quote

Post by SlashBeast » Thu Jan 29, 2009 11:10 pm

Its ext4 bug imho, i have the same problem, 70% free space and no space free error, forced fsck solved problem (fsck from fstab says something about "no problems found".)
Top
Hu
Administrator
Administrator
Posts: 24386
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Jan 30, 2009 4:06 am

Martux wrote:Shouldn't mkfs.ext4 take care of this automagically?
No. mkfs.ext4 has no way to guess whether you are using this partition to store huge numbers of small files or small numbers of huge files. The two workloads require different inode/size ratios.
SlashBeast wrote:Its ext4 bug imho, i have the same problem, 70% free space and no space free error, forced fsck solved problem (fsck from fstab says something about "no problems found".)
This could be a different problem. An inode shortage will not be fixed by anything short of adjusting the inode/size ratio. An fsck will not do this, so if fsck fixes it, you have some other problem.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic