From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <pve-devel-bounces@lists.proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
	by lore.proxmox.com (Postfix) with ESMTPS id 2C8C41FF15F
	for <inbox@lore.proxmox.com>; Mon,  7 Oct 2024 09:26:57 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id 3516138AB2;
	Mon,  7 Oct 2024 09:27:20 +0200 (CEST)
Date: Mon, 7 Oct 2024 10:27:09 +0300
To: pve-devel@lists.proxmox.com
References: <mailman.189.1728050121.332.pve-devel@lists.proxmox.com>
 <622071471.2095.1728054796983@webmail.proxmox.com>
 <1485692612.2176.1728281553739@webmail.proxmox.com>
In-Reply-To: <1485692612.2176.1728281553739@webmail.proxmox.com>
MIME-Version: 1.0
Message-ID: <mailman.200.1728286038.332.pve-devel@lists.proxmox.com>
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
List-Post: <mailto:pve-devel@lists.proxmox.com>
From: Ivaylo Markov via pve-devel <pve-devel@lists.proxmox.com>
Precedence: list
Cc: Ivaylo Markov <ivaylo.markov@storpool.com>
X-Mailman-Version: 2.1.29
X-BeenThere: pve-devel@lists.proxmox.com
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/>
Reply-To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
Subject: Re: [pve-devel] Proposal: support for atomic snapshot of all VM
 disks at once
Content-Type: multipart/mixed; boundary="===============3952973993605032454=="
Errors-To: pve-devel-bounces@lists.proxmox.com
Sender: "pve-devel" <pve-devel-bounces@lists.proxmox.com>

--===============3952973993605032454==
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <ivaylo.markov@storpool.com>
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))
	(No client certificate requested)
	by lists.proxmox.com (Postfix) with ESMTPS id 4B9C5C2F41
	for <pve-devel@lists.proxmox.com>; Mon,  7 Oct 2024 09:27:18 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id 2B58138A85
	for <pve-devel@lists.proxmox.com>; Mon,  7 Oct 2024 09:27:18 +0200 (CEST)
Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by firstgate.proxmox.com (Proxmox) with ESMTPS
	for <pve-devel@lists.proxmox.com>; Mon,  7 Oct 2024 09:27:16 +0200 (CEST)
Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-539983beb19so4914994e87.3
        for <pve-devel@lists.proxmox.com>; Mon, 07 Oct 2024 00:27:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=storpool.com; s=google; t=1728286029; x=1728890829; darn=lists.proxmox.com;
        h=content-transfer-encoding:in-reply-to:organization:from
         :content-language:references:to:subject:user-agent:mime-version:date
         :message-id:from:to:cc:subject:date:message-id:reply-to;
        bh=LFSRzDsqH8x+2dsOt/rujIbpc9D9rCPTQJBvEm+6HRk=;
        b=AVcfFV95IunrOamEuraAimO7tElETSheM7uuGvtoqEt4xoqI119FpkhO6IN712fuwo
         TtLzk64wABzswhbQ0O0R0/W7ca+QLuHei4jf01ymOfiXlMXpF1CqVAtovkm4DhsBMyAx
         6EZpQQBKHzgN4nJIWhF1ZoZFhuSJgBc0YPlfaI/y0Y2yt6u/z2Ew63bOnpiPvicvL25h
         a9j7GHkWNc9TVBydtaz8BU368bZRsE5KdQmmaiZu3zSigrzk0BxtqkB6iQ1ROPUVG3TK
         HMj4qA1tZCRvqVEQicR+KNeW31uaLhRy3e86NburnWcjkkIZl+Bvheip4OnczO8UrFQP
         mnnQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1728286029; x=1728890829;
        h=content-transfer-encoding:in-reply-to:organization:from
         :content-language:references:to:subject:user-agent:mime-version:date
         :message-id:x-gm-message-state:from:to:cc:subject:date:message-id
         :reply-to;
        bh=LFSRzDsqH8x+2dsOt/rujIbpc9D9rCPTQJBvEm+6HRk=;
        b=uauheO3XyNFdRkBZPxfNpV8Qi8ArCbzhP23WRYv6B4fu0Dz5z4uFiwMIS5aPc7v1Su
         70WI5xgVC0Um93u1bGy+N2/bfyGeIggpAABVYwF2DMDAY6kLlYCmIjKQGmRcmH6CvcYq
         lVXGH+aGTEwuDgQBpdPHh9XYoHhER4zfwlLv5iR24aW74/k/IA6neHIyT4dr8JxUf608
         Scd1ig5p1iiJhQJdG5ITeT2qhXppYqr9gMhBM1Jm9Q/ok3F7tWjmC3BPPenwKaHRqo16
         m/+MMk6UHcCUyC9VHtn22AE0f8Uh87zYk5FDcIrEHcXozr1DM/WwScuoWR6tGvr5DBJT
         9JgA==
X-Gm-Message-State: AOJu0YySZR0DF9QgGwhucSMpYdaVnGoihOQXTUKwfzcytHfF4z7GdgEL
	9n8HBDLekyXlY0M05jj04Ip2Jxxm/L2wzVut4217Tkwzga7bMRTtPfIs2BcfLJgQjnPb0Vu+VRJ
	LIm8=
X-Google-Smtp-Source: AGHT+IHvX+d3bvXhuvnSR+rtP2eetJiSQDqCrYWrw+KSU0W/y1ZzwOK/hlBzFzJzsTmjOgzATR4HRw==
X-Received: by 2002:a05:6512:234f:b0:539:9510:117c with SMTP id 2adb3069b0e04-539ab9ed82fmr4944597e87.59.1728286029420;
        Mon, 07 Oct 2024 00:27:09 -0700 (PDT)
Received: from ?IPV6:2a05:5e40:f00f:31:d9c1:5913:5d35:f77f? ([2a05:5e40:f00f:31:d9c1:5913:5d35:f77f])
        by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99429c8bb9sm248034166b.196.2024.10.07.00.27.08
        for <pve-devel@lists.proxmox.com>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Mon, 07 Oct 2024 00:27:09 -0700 (PDT)
Message-ID: <1a8d02ca-ae00-4ab4-bae3-86446452bf6d@storpool.com>
Date: Mon, 7 Oct 2024 10:27:09 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: [pve-devel] Proposal: support for atomic snapshot of all VM disks
 at once
To: pve-devel@lists.proxmox.com
References: <mailman.189.1728050121.332.pve-devel@lists.proxmox.com>
 <622071471.2095.1728054796983@webmail.proxmox.com>
 <1485692612.2176.1728281553739@webmail.proxmox.com>
Content-Language: en-US
From: Ivaylo Markov <ivaylo.markov@storpool.com>
Organization: StorPool Storage
In-Reply-To: <1485692612.2176.1728281553739@webmail.proxmox.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-SPAM-LEVEL: Spam detection results:  0
	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
	SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
	SPF_PASS               -0.001 SPF: sender matches SPF record

Hi,

On 07/10/2024 09:12, Fabian Grünbichler wrote:
>> Dietmar Maurer <dietmar@proxmox.com> hat am 04.10.2024 17:13 CEST geschrieben:
>>> I am the maintainer of StorPool’s external storage plugin for PVE[0]
>>> which integrates our storage solution as a backend for VM disks. Our
>>> software has the ability to create atomic (crash-consistent) snapshots
>>> of a group of storage volumes.
>> We already make sure that shaphots of a group of volumes are atomic at qemu level (VM is halted while snapshots are created), so I wonder
>> if there is any real advantage here?
> I think the main advantage is that if you are fine with crash-equivalent consistency (e.g., the same as pulling the power plug) for your snapshots, then you can skip the freeze/suspend (and associated, hopefully tiny, downtime), and just snapshot on the storage layer. there might also be additional optimizations or administrative benefits on the storage side (like all snapshots being part of a single transaction), but those are probably not relevant for PVE itself..
>
This is exactly it - we're looking to avoid any slow downs/interruptions 
in the VMs when creating snapshots. I've not measured how long other 
storage plugins take to create snapshots, but it could be helpful for 
them if it's a slow operation.

-- 
Ivaylo Markov
Quality & Automation Engineer
StorPool Storage
https://www.storpool.com



--===============3952973993605032454==
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

--===============3952973993605032454==--