Re: [Solved]Is this a Gentoo or a OpeVZ problem? [message #32052 is a reply to message #23957] |
Thu, 17 July 2008 21:36 |
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
|
|
|