0

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...

David S.
  • 181
  • 11

2 Answers2

0

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.

Janne Pikkarainen
  • 31,852
  • 4
  • 58
  • 81
0

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.

aitorpazos
  • 43
  • 1
  • 7