Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262694 - [2.2_rc25 portage] no space left on device
Summary: [2.2_rc25 portage] no space left on device
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-16 19:10 UTC by Markos Chandras (RETIRED)
Modified: 2009-03-29 22:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markos Chandras (RETIRED) gentoo-dev 2009-03-16 19:10:07 UTC
I have this weird situation

when I try to emerge I get this error

Traceback (most recent call last):
  File "/usr/bin/emerge", line 40, in <module>
    retval = _emerge.emerge_main()
  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 15666, in emerge_main
    display_news_notification(root_config, myopts)
  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 12257, in display_news_notification
    portdb, vardb, NEWS_PATH, UNREAD_PATH, repo, update=update)
  File "//usr/lib64/portage/pym/_emerge/__init__.py", line 12516, in checkUpdatedNewsItems
    return manager.getUnreadItems( repo_id, update=update )
  File "//usr/lib64/portage/pym/portage/news.py", line 158, in getUnreadItems
    unread_lock = lockfile(unread_filename, wantnewlockfile=1)
  File "//usr/lib64/portage/pym/portage/locks.py", line 62, in lockfile
    myfd = os.open(lockfilename, os.O_CREAT|os.O_RDWR, 0660)
OSError: [Errno 28] No space left on device: '/var/lib/gentoo/news/.news-kde.unread.portage_lockfile'



However, /var has plenty of free space

Eternity ~ # df -h /var/
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3              28G  3.9G   23G  15% /var



Reproducible: Always

Steps to Reproduce:
1.use portage-2.2_rc25
2.emerge something
3.

Actual Results:  
No space left on device

Expected Results:  
Every emerge should work fine
Comment 1 Allen Brooker (AllenJB) 2009-03-16 19:13:41 UTC
Run "df -i".

I put £10 on you're out of inodes.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2009-03-16 19:41:27 UTC
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda3            1831424  170463 1660961   10% /var


Gimmie your 10 pounds :P
Comment 3 Zac Medico gentoo-dev 2009-03-16 22:11:08 UTC
Are you able to create new files inside the /var/lib/gentoo/news/ directory? If you have remaining inodes then it seems like a kernel/filesystem issue that might be solved by fsck or a reboot.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2009-03-16 23:46:41 UTC
Yes I am able to create files on /var/lib/gentoo/news. Reboot & fsck didn solve the problem
Comment 5 Zac Medico gentoo-dev 2009-03-17 05:20:43 UTC
Do you remember changing anything immediately before you started experiencing this problem? This is reminiscent of bug 262281, but that resulted in EPERM rather than ENOSPC. If you temporarily mount a different file system on /var/lib/gentoo/news, does the problem disappear?
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2009-03-29 22:47:07 UTC
Ok today I touched again this machine. I performed an emerge -uDNav world and everything seems smooth now. So I am closing this as invalid since I cant reproduce it anymore :)