Disk quota setting on OOD

Hello,

I am testing the Disk quota, and I followed the instruction https://osc.github.io/ood-documentation/master/customization.html#individual-user-quota. However, it didn’t show up on OOD page.

I added OOD_QUOTA_PATH="/opt/quota.json" into /etc/ood/config/apps/dashboard/env and this is quota.json content.

{
  "version": 1,
  "timestamp": 1525361263,
  "quotas": [
{
  "type": "fileset",
  "user": "gp4r",
  "path": "/home/gp4r",
  "block_usage": 500,
  "total_block_usage": 1000,
  "block_limit": 2000,
  "file_usage": 1,
  "total_file_usage": 5,
  "file_limit": 10
}
]
}

Hi, it won’t show up until you go over the threshold. So, if you’re just testing, increase the usages or decrease the threshold.

Thanks a lot! It works perfectly.

1 Like