22

My host's backup server gives me my usage information in the following format:

Disk quotas for user vps**** (uid 1234):
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
/dev/mapper/backup3-backup3
                6094452  2147483648 2147483648          365672       0       0

I've searched, including in man pages, but I can't figure out how to read the output. What do each of these columns mean? IIRC, my quota should be 10 GB.

1

2 Answers 2

18

Block is normally of size 1 kilobytes nowadays, but it might be also 512 bytes - check this yourself.

  • 6094452 is how many blocks of disk space you currently use,
  • the first 2147483648 is the maximum you are expected to normally use (again in blocks, note it translates to 2 TB, not to 10 GB); you can grow beyond, but only temporarily;
  • the second 2147483648 is how much you are allowed to use,
  • the empty place that comes next is the "grace period"; it is used only when you exceed "quota", i.e. when you are between "quota" and "limit",
  • 365672 is how many files you currently have (inodes, to be more exact),
  • the remaining columns have the same meaning, but in regard to the "files" field; but they are 0, which means you have no quota on number of files
1
  • 1
    Hi, @kubanczyk, how could I know how much space are remaining? Could you give some advice, please? Thanks! Why not the command directly show the remaining space instead of the remaining inodes?
    – mining
    Aug 29, 2014 at 10:24
3

quota -s <user> will provide you human readable format output as follows

Disk quotas for user rashah (uid 524295):
Filesystem                              blocks     quota      limit         grace   files   quota   limit   grace
/dev/mapper/work3                 19502M  48829M  58594M                70086       0       0
2
  • Worth noting that the values are still in blocks, and not bytes though. Apr 3, 2019 at 14:52
  • 1
    The answer above does show bytes (i'm not allowed to comment) quota -s output shows 19502M meaning 19,502 MBytes used out of 48,829 MBytes with a 58,594 MByte limit Oct 14, 2020 at 9:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .