You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Guidelines

  • By default 200 GB of quota per project for the ceph type for INFN projects
  • By default 200 GB of quota for the equallogic-unipd type for the Unipd projects
  • Explicitly set 0 GB for all other volume types
  • 5000 GB of quota per volume. If some quota is given to iscsi-infnpd, this value must be set to 1000 GB
  • If more disk space is needed use:
    • The equallogic-unipd volume type for Unipd projects
    • The ceph-ec type by default for INFN projects (the ceph and iscsi-infnpd volume types can also be used, in some special cases)

How to see quota usage

To check the cinder quota and the actual usage for a project:

# cinder quota-usage <project-id>

E.g.:

# cinder quota-usage b38a0dab349e42bdbb469274b20a91b4 
+------------------------+--------+----------+-------+
| Type | In_use | Reserved | Limit |
+------------------------+--------+----------+-------+
| backup_gigabytes | 0 | 0 | 1000 |
| backups | 0 | 0 | 10 |
| gigabytes | 120 | 0 | 300 |
| gigabytes_ceph | 85 | 0 | 100 |
| gigabytes_gluster | 0 | 0 | -1 |
| gigabytes_iscsi-infnpd | 35 | 0 | 200 |
| per_volume_gigabytes | 0 | 0 | 1000 |
| snapshots | 0 | 0 | 10 |
| snapshots_ceph | 0 | 0 | -1 |
| snapshots_gluster | 0 | 0 | -1 |
| snapshots_iscsi-infnpd | 0 | 0 | -1 |
| volumes | 8 | 0 | 20 |
| volumes_ceph | 6 | 0 | -1 |
| volumes_gluster | 0 | 0 | -1 |
| volumes_iscsi-infnpd | 2 | 0 | -1 |
+------------------------+--------+----------+-------+

How to set/change quota

Through the dashboard it is possible to only set the overall quota for a given project.

To set the quota for the different volume types you have to use the command line.

E.g. to set

  • 400 GB of overall quota
  • 200 GB limit for ceph volume type
  • 0 GB limit for the iscsi-infnpd backend
  • 0 GB for the ceph-ec backend
  • 200 GB for the equallogic-unipd volume type
  • 5000 GB limit for volume:
cinder quota-update --gigabytes 400 <project-id>
cinder quota-update --gigabytes 200 --volume-type ceph <project-id>
cinder quota-update --gigabytes 0 --volume-type ceph-ec <project-id>
cinder quota-update --gigabytes 0 --volume-type iscsi-infnpd <project-id>
cinder quota-update --gigabytes 200 --volume-type equallogic-unipd <project-id> 
cinder quota-update --per-volume-gigabytes 5000 <project-id>



  • No labels