-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
Is your feature request related to a problem? Please describe.
When some of the pools suddenly change status to offline, Mayastor loses the ability to create new disks from existing snapshots if part of those snapshots are stored on an offline pool. Even if a snapshot has a replication factor of 2, and an online replica of that snapshot is available on another online pool.
Describe the solution you'd like
- Add logic to automatically rebuild a snapshot on another available pool if the original pool changes its status to offline, and if we have other available online pools with enough free disk space
- Allow to create disks from only one available snapshot replica
Additional context
The original disk was deleted. In this case, we have only a snapshot.
~ λ kubectl mayastor get volume-snapshots|grep -e 'ID' -e 'c14c8b3a-a966-4924-aa07-ed9835ff8307'
ID TIMESTAMP SOURCE-SIZE ALLOCATED-SIZE TOTAL-ALLOCATED-SIZE SOURCE-VOL RESTORES SNAPSHOT_REPLICAS
c14c8b3a-a966-4924-aa07-ed9835ff8307 2025-08-08T21:35:37Z 50 GiB 50 GiB 50 GiB dea0d146-cddf-4569-a9fa-6adbe2f7e40b 5 2
~ λ kubectl mayastor get volumes|grep 'dea0d146-cddf-4569-a9fa-6adbe2f7e40b'
~ λThis will be useful in cases where a user has a golden image (snapshot) and wants to create new disks from that existing golden image (snapshot).
Metadata
Metadata
Assignees
Labels
No labels