Storage pool management and migrations¶
Roles with access
Only administrators have access to this feature.
A storage pool links one or more disk paths (mount points) to a set of categories. This way IsardVDI knows where to store the disks of each category's desktops, templates and media. It is the mechanism that makes it possible to separate storage by category in a multitenant installation (more information in Multitenancy).
Every installation has the Default pool, mounted at /isard and linked to the default category. Categories that are not explicitly assigned to any other pool use the Default pool.
The screen is at Infrastructure → Storage Pools and has two panels: Storage Pools, with the list of pools, and Disk Migrations, to move disks between pools.
Pool list¶
Each row of the table is a storage pool:
| Column | Description |
|---|---|
| Enab. | Whether the pool is active. The disks of its categories only use its paths if it is enabled. |
| Virt. | Whether virtualization operations (starting desktops) are enabled on this pool. |
| Pool ID | Internal identifier of the pool. |
| Name | Name of the pool. |
| Mountpoint | Base path on the host where the pool's disks are (for example, /isard for the Default pool). |
| Space | Free physical space of the pool. On a thin-provisioned (thin) pool, the filesystem shows the logical size and only the published physical measurement is meaningful. |
| Categories | Categories linked to the pool. The disks of these categories are stored here. |
| Disk ops | Number of isard-storage workers available to perform disk operations on this pool. A red warning icon means there are none and disk operations will fail. |
| Virt ops | Number of hypervisors available to start desktops with disks from this pool. A red warning icon means virtualization operations will fail. |
| QoS | Disk QoS profile applied to the pool's disks. Ignore means no limit is applied. |
| Description | Free-text description. |
| Items (T/D/M) | Number of templates, desktops and media in the pool. |
| Action | Buttons to enable or disable the pool and virtualization, edit it and delete it. |
Expanding a row shows the Paths detail, with each configured path: the usage type (desktop, template, media or volatile), the path and the weight (Weight) that distributes disks when the pool has more than one path for the same usage.
Add or edit a pool¶
Add new creates a pool. Enter the name and description, one or more paths (with the usage type and the weight), the disk QoS profile, if needed, and the categories linked to it. A mount point that already belongs to another pool cannot be used.
Editing the Default pool and moving categories
A category can only be linked to one pool at a time. If a category that is already in another pool is added to a pool, the «Category in use» warning appears and, if you continue, it is removed from the other pool. Editing the Default pool, or moving categories between pools, changes where new disks are stored. Existing disks do not move by themselves: to move them, create a migration.
Migrate disks between pools¶
The Disk Migrations panel moves disks between pools in the background. Disk trees are moved whole (a base template with the templates and desktops derived from it), so the dependency chains remain valid in the new pool. Running desktops keep working, and each copy is verified with a checksum before the original is deleted.
To create one, click New migration. The New disk migration form has these blocks:
Selection¶
- What: what is moved. Whole pool (all the disks of the source pool), Path prefix (only the disks of a subtree of the source pool, given in Path) or Category (all the disks of a category, wherever they are).
- Source pool: source pool.
- Destination pool: destination pool. Disks already there are skipped.
- Disk types: desktops, templates and media. If none is checked, all are moved. The rest of each chain is read but stays where it is: with «desktops» only, the desktops are moved and the templates they depend on stay in the source pool. A template cannot be moved if its derivatives are left behind.
Schedule¶
- Window: start and end time (HH:MM format, in UTC) during which the migration can copy. It can go past midnight, for example from 22:00 to 06:00. If left blank, it copies at any time.
- Days: days of the week, with the quick buttons All, Mon–Fri, Weekend and Clear. With no day checked, it applies every day.
- recurring: the migration does not end when it has moved everything; at the next window it looks again for new disks that match the selection. It is useful for policies such as «keep this category in this pool».
Behaviour¶
- Re-scan: when new disks are looked for. Edge + on-drain (recommended) looks again when the selection changes and once more when the queue drains; Edge only, only when the selection changes.
- On failure: what happens when a disk cannot be copied or verified. Retry, then quarantine (recommended) retries it a number of times (after … attempts) and then sets it aside and continues with the rest; Pause for attention stops the whole migration at the first failure and waits for the administrator; Retry forever retries it indefinitely.
- Damaged disk: what happens when the copy fails the integrity check just like the original, that is, when the original is damaged. The disk changes to the damaged state with the reason, and its chain stays where it is. Pause the job stops the migration; Mark it and continue continues with the rest; Repair leaks, then continue tries to repair the copy with
qemu-img check -r leaks, and Repair all, then continue, withqemu-img check -r all. If the repair does not leave the disk clean, the migration stops.
Throughput & safety¶
- Parallel: how many disks are copied at once.
- Load: Static keeps the parallelism fixed. Adaptive adjusts it to the actual load between a minimum (min) and a maximum (max) and pauses gently when more desktops are started than the pause above threshold (0 means it never pauses for load).
- bwlimit KB/s: bandwidth limit per disk. 0 means no limit.
- force-stop: stops a running desktop to move its disk, instead of skipping it. The desktop can be started again later.
- verify: verifies each copy with a checksum before deleting the original. Leaving it enabled is recommended.
- Source after copy: what happens to the original once the copy is verified. follow system setting follows the deletion action of the recycle bin configuration; keep under deleted/ keeps it in a
deleted/folder next to it, so the source pool does not free space until the administrator deletes those files; delete deletes it and is the option that frees the source pool. delete only applies with verify enabled. - Move first: in which order disks are moved. no preference, least-used first (first those that have gone unused the longest) or most-used first. The order only changes the result if there is a Stop after limit: whatever is left at the end of the list does not move in that run. Disks without usage data are moved last.
- Move only trees unused for: usage age threshold, in days, weeks or months. With least-used first, only trees that have not been used for at least this time are moved; with most-used first, only those used within this time. Trees that have never been used are left out unless incl. never-used is checked. An order must have been chosen.
- Stop after GB: maximum amount moved in one run. After that, the migration stops and waits for the next window. The limit is respected per whole tree, so it can be exceeded by one tree per parallel copy. 0 means no limit.
- Keep free GB: no copy is made that would leave the destination with less free space than this value. The filesystem space is measured, which is not reliable on a thin-provisioned (VDO) pool: in that case, use Stop after.
- Min free %: minimum percentage of free physical space at the destination. If it is already below, the migration does not start; if it drops below during the migration, it stops with the reason in the log. If both limits are set, the more restrictive one wins.
Plan summary¶
Before creating the migration, the form simulates the selection: how many templates, desktops and media would be moved, the total number of files and the size, how many disks stay where they are (Stay in place), how many trees are excluded (Excluded) and the estimated time. Nothing is moved. Refresh estimate recalculates it.
Finally, Create creates the migration without starting it (it can be started later with the start button in the list) and Create & start creates it and starts it right away.
Migration list¶
Below the form is the list of migrations, which updates live. Each migration shows Migration, Route (source and destination), Status, Progress (disks copied out of the total and bytes moved), ETA, Schedule (days, window and next run of recurring ones), Created, Last activity and the Actions buttons.
Relationship with other pages¶
- The hypervisors provide the virtualization operations counted in Virt ops.
- The status of each disk and the repair actions are in Storage.