From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id E07431FF15C for ; Fri, 3 Oct 2025 02:15:41 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E9EED189F1; Fri, 3 Oct 2025 02:15:48 +0200 (CEST) Date: Thu, 2 Oct 2025 20:15:34 -0400 To: Proxmox VE development discussion MIME-Version: 1.0 Message-ID: List-Id: Proxmox VE development discussion List-Post: From: Andrei Perapiolkin via pve-devel Precedence: list Cc: Andrei Perapiolkin X-Mailman-Version: 2.1.29 X-BeenThere: pve-devel@lists.proxmox.com List-Subscribe: , List-Unsubscribe: , List-Archive: Reply-To: Proxmox VE development discussion List-Help: Subject: [pve-devel] [pve-dev] Storage assisted copy feature for Proxmox storage plugin Content-Type: multipart/mixed; boundary="===============4847981754634901329==" Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" --===============4847981754634901329== Content-Type: message/rfc822 Content-Disposition: inline Return-Path: X-Original-To: pve-devel@lists.proxmox.com Delivered-To: pve-devel@lists.proxmox.com Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 0175ED91A5 for ; Fri, 3 Oct 2025 02:15:46 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id CFD00189C1 for ; Fri, 3 Oct 2025 02:15:46 +0200 (CEST) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Fri, 3 Oct 2025 02:15:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=open-e.com; s=s1-ionos; t=1759450536; x=1760055336; i=andrei.perepiolkin@open-e.com; bh=50XlWpSDGdATeg5NhfEx3qOSlY9JSHZo5Vu/TR05Cjs=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:From:Subject:To: Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=pGWYIsTCfRKGU41AvFpmMeYhP+bGicQKI4sfYRD5jZRMoKX4Gix7XmaqV6Rc3HUf u7nXXbI+mbt6j2mxm5ERBMxMsNhpEvRN+k1Itn0BltybXcyOxBRPieK6b/V+xSlk8 0nIihXFZrFmg28FhqN36UAV3ZKvo71AYM98AAvEK4wSmM/LQsHyM3qVkQp8xhfKar zP2l10szaCZQdJk5UWjtxOQs00OjN6MLCYGWHVE4riehA46PWi7O9zzcQXUgVn13Z 1hfXciCMr/l74r9BlZYBjjnr/2pXa0/ClBpufiW10uf2qU2pha+1VvbwiQABEZkGZ XzcLo2Rld7iR1tV0oQ== X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from [10.137.0.75] ([149.102.246.36]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MmUYD-1udyGH0G5h-00aLFf for ; Fri, 03 Oct 2025 02:15:36 +0200 Message-ID: <75fcae3c-1112-45f0-b1f9-ff4bdccf0966@open-e.com> Date: Thu, 2 Oct 2025 20:15:34 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Andrei Perapiolkin Subject: [pve-dev] Storage assisted copy feature for Proxmox storage plugin To: Proxmox VE development discussion Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:e10GKtH+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eQu8j0KFKtJiSQv9 uFSNeJY0u957o7fmvS5gDo72YsB8+0arCzAc+1rIROtSVRrdj0ug2YdnI/NeSdEuktdZFu9xs vfOuo+X0R4wqH9bI9GqtSkkA+ngYRU4n1wf9VsgBTU4UohS1VjpboWENjIRTFA1Eh2rSj1FYd EJ0Lq/LNCbtiSSbK4virijr4KfqobbjUACbHvgY7JhOaJjumOPy7DR0S8wVijhnemHYHmSNtC BhKLmpsHVmE8CG0zf3pxQ++brFZErk91sFnoyorBj0zS3p/g4rbfk2E1JUEUia3t0fq3+8gjK VA2b3O1O+NuJPVn/f7JP10GSBlVJE/4I1lpQDwzrOqMXCV1vvDzwoa9CKt7yH4yPcA4t9a72a 2L2ZwV/f6y8O3veMYmzkAs+fClO06O0EJVJ/WvgeVGkEYmIe9xPAdUT4qT5/KwhGzzSX0w3Q6 Zob3Y4Unif+lJfomzTmE+mNLagPvCtcaSbYkTxxsgppbtB33uPrDAy+bIRB/JAxTcP8KGGIrt CNQM391hZJYyjJGepzBymns1uBvazIAV3N9ffRFAdVQvA3gs8oR9tI22+lAlKZlAIlZPC45fA eLOJojUnPHyWwcbBP/n5NcyLnX5Nsj4+YsfSgFzSjex+HYgTU7aVXTbnaKy63sxEEwNWqcfT6 IeJ1rIWMhSxKerg3/cejUElUEoLvqQhYKZIYFjaOaSR4xYLJWDrIf776IR2oq5uOMc5dpzJIW hGvuHiRNNiDvRbKA/YgpCWtpv4rdjLg+0H5U1QkPQWp/c/hqGF1lwp6jCCeI4mqcvpvb2rIn+ XQqEmU22cVp5HZFY/6Nd9rM0frbt5Ogeh8zu/FMUhzLG+gkgujzhh62nkQM5h0VR1SmlBwi+i /e/o3SHgozyICyLaQ2grx8yT5oGQeAOliYlGATtoqRiQ== X-SPAM-LEVEL: Spam detection results: 0 AWL -0.006 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust RCVD_IN_MSPIKE_H2 0.001 Average reputation (+2) RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Hi, Can the honorable community help me find an elegant way for=20 volume_import to identify the source volume origin type and name? I=E2=80=99m investigating this to implement storage-assisted copy (i.e.,= =20 performing the volume copy entirely on the storage side). My initial assumption was that this could be achieved by defining custom= =20 volume_export and volume_import functions. However, may be=C2=A0 there is a better way to=C2=A0 do storage assisted c= opy. Best regards, Andrei Perepiolkin P.S. Just found out about=20 https://pve.proxmox.com/wiki/Storage_Plugin_Development:_Writing_a_Storage= _Plugin_for_SSHFS This is grate! Many thanks for posting this article! --===============4847981754634901329== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel --===============4847981754634901329==--