Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

on my gentoo system, the disk quota parameters in the openvz configuration file is:

DISKSPACE="1048576:1153024"
DISKINODES="200000:220000"

commonly used unit would be 'Byte' or 'MB'. if it is 'Byte', the above numbers would be ridiculously small, but if it is 'MB', it would be way too large...

share|improve this question

2 Answers 2

up vote 0 down vote accepted

Someone please think of the kilobytes! :-)

According to OpenVZ wiki,

The disk quota block size in OpenVZ is always 1024 bytes. It may differ from the block size of the underlying file system.

So, your 1048576 quota would be around one gigabyte, which sounds pretty reasonable to me.

share|improve this answer

As Janne Pikkarainen said, DISKSPACE is usually expressed in 1024 bytes blocks (KiB). Just to make it clear: DISKINODES are not measured in bytes, inodes are countable objects.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.