[Solved]Is this a Gentoo or a OpeVZ problem? [message #23957] |
Thu, 29 November 2007 10:06 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
RobinVossen
Messages: 36 Registered: November 2007
|
Member |
|
|
well I run a Gentoo box in Debian
I keep getting a error now when I emerge something:
I want to do:
USE="java" emerge openoffice -av
but i get:
Errno 112 Disk quota exceeded.
When I do df I get that I only use 8% of / en 24% of /usr/portage
I dont really get the problem.
I have MORE then enough space on my drive but he refuses to use it.. :S
Cheers,
Robin
[error]
Calculating dependencies
Traceback (most recent call last):
File "/usr/bin/emerge", line 6518, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 6518, in emerge-main
myopts, myaction, myfiles, spinner)
File "/usr/bin/emerge", line 5823, in action_build
mydepgraph = depgraph(settings, trees, myopts, myparams, spinner)
File "/usr/bin/emerge", line 1155, in __init__
trees[myroot]["porttree"].dbapi)
File "/usr/bin/emerge", line 901, in __init__
vdb_lock = portage_locks.lockdir(vdb_path)
File "/usr/lib/portage/pym/portage_locks.py", line 20, in lockdir
return lockfile(mydir,wantnewlockfile=1)
File "/usr/lib/portage/pym/portage_locks.py", line 54, in lockfile
myfd = os.open(lockfilename, os.O_CREAT|os.)_RDWR,0660)
OSError: [Errno 112] Disk quota exceeded: '/var/db.pkg.portage_lockfile'
[/error]
I checked google for errno 12 and tryed to open /var/db.pkg.portage_lockfile
I checked my Quota on the disk.
And thats like this:
vzquota stat 1
Usage 2211636
SoftLimit 41943040
HardLimit 46137360
Inodes
Usage 200000
Soft 200000
Hard 220000
that part I just found out..
Umm I guess I can fix that.
What is Inodes?
I am going to google for that now.
But it can be that that its problem is right?
Cheers
if I wasnt posting this I wasnt able to find it ![Smile](images/smiley_icons/icon_smile.gif)
Thank you guys for beeing so awsome in Support.
It really helps me ![Smile](images/smiley_icons/icon_smile.gif)
Cheers
Robin
[Updated on: Thu, 29 November 2007 10:10] Report message to a moderator
|
|
|
Re: [Solved]Is this a Gentoo or a OpeVZ problem? [message #32052 is a reply to message #23957] |
Thu, 17 July 2008 21:36 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
amasidlover
Messages: 1 Registered: July 2008
|
Junior Member |
|
|
The inodes on a partition are the entries in the table that link the file with its position on disk, ext2/3 (and I suspect most other FSes) only reserve a certain amount of space on a disk for them - therefore it is worth having a quota for these as well as for disk space. The default is to create one inode for every 4k of disk space (although I think fdisk -i should be able to tell you for sure)
To solve your problem you should be able to do (after checking how many the underlying partition has with fdisk -i):
vzctl set 240 --diskinodes 400000:420000 --save
Alex
P.S. Thanks for posting this thread, I spent some time looking for what Errno 122 Disk quota exceeded really meant... So it looks like your diagnosis was spot on!
--
www.zednax.com / www.axiomtech.co.uk
|
|
|