From: Andrei Perapiolkin <andrei.perepiolkin@open-e.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [pve-dev][storage] clone vs import/export
Date: Wed, 15 Sep 2021 12:30:29 -0400 [thread overview]
Message-ID: <2a93c230-0ca3-9a73-914b-5d598a4d6cbb@open-e.com> (raw)
Hi Proxmox Dev's!
I am developing plugin for the data storage system and want to
avoid/minimize copying data on the proxmox side.
And it looks like Im missing something in understanding or copy/clone
features. So can you please help me?
I was looking on cloning of virtual machines and volumes in proxmox and
it seems like it is done through plain copy on the side of proxmox
server. At least that is what happens when I press clone button in UI
interface.
Im talking about: /usr/share/perl5/PVE/Storage system.
I do not think that this is the most optimal behavior. And I want to
know how to make proxmox delegate data copying to the storage system.
In other words I want to make proxmox call for "clone_image" method
instead of "volume_import and volume_export" when volumes being
cloned/copied to the very same data storage.
Is it possible to do so with configuration and plugin code alone? Or it
require modification in proxmox code itself?
Thanks for your attention,
Andrei
next reply other threads:[~2021-09-15 16:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-15 16:30 Andrei Perapiolkin [this message]
2021-09-16 6:12 ` Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2a93c230-0ca3-9a73-914b-5d598a4d6cbb@open-e.com \
--to=andrei.perepiolkin@open-e.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox