{% extends "base.html" %} {% load i18n %} {% load common_tags %} {% load operations %} {% load static %} {% load bootstrap_icons %} {% block title %}{{ compute }} - {% trans "Storage" %}: {{ pool }}{% endblock %} {% block page_heading %}{{ compute }} - {% trans "Storage" %}: {{ pool }}{% endblock page_heading %} {% block page_heading_extra %}
| {% trans "Name" %} | {% trans "Format" %} | {% if users_read or has_backups %}{% trans "Used by" %} | {% endif %}{% trans "Capacity" %} | {% trans "Actions" %} |
|---|---|---|---|---|
| {{ volume.name }} | {{ volume.type }} | {% if users_read or has_backups %} {# a delete still asks the other hosts: one sharing this storage may use the volume #}{% if volume.backup %}{% blocktrans with vm=volume.backup.vm_name %}Backup of {{ vm }}{% endblocktrans %} {% elif volume.users %}{{ volume.users|join:", " }} {% elif volume.users is not None %}{% trans "In use" %} {% elif users_read %}{% trans "Not used on this host" %}{% endif %} | {% endif %} {# capacity: what the guest sees; allocated: what it takes on the storage now #}
{{ volume.size|binary_size }}
{% blocktrans with allocated=volume.allocation|binary_size %}{{ allocated }} allocated{% endblocktrans %}
|
{# an ISO image is uploaded, not cloned (storages.jobs.is_iso) #}
{# fixed: the menu would be cut off by the table's scrolling box #}
|