rp- commented on issue #12218:
URL: https://github.com/apache/cloudstack/issues/12218#issuecomment-3669622023
> Will `rsync <backup_di>/drbd1030 /dev/drbd1030` work for restoring the
backup?
>
> If yes, we need a way to detect the destination path (`/dev/drbd1030`)
from within cloudstack. Is domainxml the only way? Also, I think we would need
to store the backup_path in some metadata?
Yes that rsync would work.
I'm afraid right now the only way is the path from domainxml, as we provide
that in the kvm plugin as KVMPhysical disk in the agent code.
We only store the path uuid, which is the prefixless resource name of the
linstor resource.
What we could do in the Linstor plugin is, that we change the paths to
`/dev/drbd/by-res/cs-{volume.path}` instead of `/dev/drbd1xxx`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]