From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id D5BAF1FF191 for ; Tue, 7 Oct 2025 11:51:22 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id CB279146F0; Tue, 7 Oct 2025 11:51:22 +0200 (CEST) References: In-Reply-To: Date: Mon, 6 Oct 2025 12:59:24 -0700 To: "Max R. Carrara" X-Mailman-Approved-At: Tue, 07 Oct 2025 11:51:21 +0200 MIME-Version: 1.0 Message-ID: List-Id: Proxmox VE development discussion List-Post: From: Morgan Littlewood via pve-devel Precedence: list Cc: Morgan Littlewood , Proxmox VE development discussion 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: Re: [pve-devel] TrueNAS over iSCSI: Snapshot Management Content-Type: multipart/mixed; boundary="===============4443667768090336718==" Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" --===============4443667768090336718== 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 33577DA453 for ; Mon, 6 Oct 2025 21:59:46 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 12AF4B245 for ; Mon, 6 Oct 2025 21:59:46 +0200 (CEST) Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) (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 ; Mon, 6 Oct 2025 21:59:43 +0200 (CEST) Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-28e7cd34047so45570535ad.2 for ; Mon, 06 Oct 2025 12:59:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=truenas.com; s=google; t=1759780776; x=1760385576; darn=lists.proxmox.com; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=H3Upo5rivPUjN0az9yFxQnoH/8EZcJcDg0uvPKUvMyw=; b=Zm6gg0t+WH0q2UPyYuOHb9OFiuvhB+pT9H3wDbgGKeWg8RP3gnVI93BPd5YbTLbQ2G LGs5AnkNTamnSyr6kaSYkSc/+TsgBIR8Uqn3hiaKKGA15DklnVUZsOisL1tHKkC5Hc4d xQ2FaH+UETWrchoaVYLzXvkCoLC+o7/YHkL69953XGchw8lgRvjGXmEHgMkvkN+3jgpK BIWaXQHDXvI0w/nMPiT/ikRE47D7A7/eoFZu08MNY2wM2TynleMIj5jz7QSoEPTDAraT 7CvpnItI9pMz3cOBuIQoEQxE/HqfHoIazvX9m9ZrVh+NZME3X4/+eRUCQHv864tNOfmg rXTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759780776; x=1760385576; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=H3Upo5rivPUjN0az9yFxQnoH/8EZcJcDg0uvPKUvMyw=; b=oUbzfSXqGQw0gBrktEQzShVDUqKkqy5XZ0mm+Se5qLL3BDljd+V9lzgIPCnZlMu2n8 CWFDfgyF4kvw4QdBgiyDn8A02asj3Jcr84DpUtpY/l3W4OuwGZ/x0lc8X8rQNg2siaNb Ett8GROwbj7WXo2YB6nwRizMXCER8ib3+X/4stJv0Ln1PEcr2gC0ps4Qs+MizrHfpRcm 0Dbb1tB34ACGiiqDltyRUD+1Xd9Yht8nnpV0CeUIeWykIMt3ACvhZxqkH4siQNkIewcr qkL6IXcp6o9hQZ7IiMuVndMbNUW2m5h4YWg/wneq79FiKKgI1ypfcXEZl7TLqEmg2dei /j8g== X-Forwarded-Encrypted: i=1; AJvYcCUKq51d8bAW8Q2HnIdKp1hL39U62g5+oH1QLIuUY5JonqIZBK5JSlGp+tlHxsY3RwGPNIq+dYbsuCs=@lists.proxmox.com X-Gm-Message-State: AOJu0YzHYlnvuT39Wy31Cz/UCvzJK7U2u1ips9lQsW0hMjBDqc+myvWj Q6A6PCV+rq6tE+vOHJXPoL013Qqr9tNkmG2lNaseQgfldNoOUAHbPMjWoXL1Mqokz27QJnqrdWu GpXssMdZoQJg84zhTcvK59P8CrOCFArwgnOPPL6D1 X-Gm-Gg: ASbGncsz/iGZ8fC1zvQxOl7Fo9zXu4EnlPDKjulYsxd17snIa/94zOPzL0OpGAH6hxR HXdA7Qy+hYnYelhmdVngeNcIVaRJscbvl3wXbK4rq9wuw339u6xUZaMzvMEW0kZKgNCWP0bD1FX 1JejTN0JjEcscD7ocRgNwpBTbIEmeztyRELBrcmAEUo96rlqbAKF0xCSw7flwVn5pRNIF4I1+ZS 7GYqcdcXpFFeoRulyEjaV1EV85wUTcwZ0CAmvAH X-Google-Smtp-Source: AGHT+IHtqAomjDMkT36uYQwZQWKiZu+P/swA32fngVtpn9oDoUinFc3ZMHrXsM7aDZub3RGC9fXjLH95sZWY/aHywc0= X-Received: by 2002:a17:902:da8b:b0:269:a23e:9fd7 with SMTP id d9443c01a7336-28e9a56661bmr169554075ad.26.1759780775560; Mon, 06 Oct 2025 12:59:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Morgan Littlewood Date: Mon, 6 Oct 2025 12:59:24 -0700 X-Gm-Features: AS18NWCUwg4c6HzvDf5jwH6aRVK_fPCEHUVxHnDo_gYcFsVN9pFVON033_MIwQk Message-ID: Subject: Re: TrueNAS over iSCSI: Snapshot Management To: "Max R. Carrara" Cc: Lorne Guse , Proxmox VE development discussion X-SPAM-LEVEL: Spam detection results: 0 AWL -0.125 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 HTML_MESSAGE 0.001 HTML included in message KAM_LOTSOFHASH 0.25 Emails with lots of hash-like gibberish 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 X-Mailman-Approved-At: Tue, 07 Oct 2025 11:51:21 +0200 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Rollback to last snapshot is acceptable for 99.9% of situations.... For deleting intermediate snapshots.. can this be done on TrueNAS UI or does proxmox control this? If done on TrueNAS, can Proxmox learn about (adjust to) deleted snapshots? On Mon, Oct 6, 2025 at 6:17=E2=80=AFAM Max R. Carrara wrote: > On Mon Oct 6, 2025 at 3:09 AM CEST, Lorne Guse wrote: > > [...] > > Hi Lorne, hi Morgan! > > Sorry=E2=80=94only now finally got some time to look into this. > > Regarding multi-generational snapshot rollbacks: That is something > that's possible actually; our `lvm-thin` storage supports that, for > example [0]. You're probably running into the default implementation [1], > hence the error. > > We don't support it for our ZFS pool storage though [2] (and thus also > not for the ZFS over iSCSI storages), since `zfs rollback` doesn't > support it without destroying intermediate snapshots [3]. > > The user can still do rollbacks on older snapshots, they just have to > delete the intermediate ones first, in this case. (So basically what > `zfs rollback` requires one to do.) > > With all that being said, I agree with Morgan here; it's best to just > let PVE manage the snapshots and whatever contents are on the volume, as > it is a cleaner experience for the user. (Principle of least surprise > and all that.) > > Hope that helps! If you need anything else, feel free to ping me! (: > > [0]: > https://git.proxmox.com/?p=3Dpve-storage.git;a=3Dblob;f=3Dsrc/PVE/Storage= /LvmThinPlugin.pm;h=3Dccefd0eb24630a4ae5e206002760126dfce9304a;hb=3Drefs/he= ads/master#l366 > [1]: > https://git.proxmox.com/?p=3Dpve-storage.git;a=3Dblob;f=3Dsrc/PVE/Storage= /Plugin.pm;h=3D2291d72d929b9de83f7703aae146372e4b663860;hb=3Drefs/heads/mas= ter#l1325 > [2]: > https://git.proxmox.com/?p=3Dpve-storage.git;a=3Dblob;f=3Dsrc/PVE/Storage= /ZFSPoolPlugin.pm;h=3D3b3456b7482ad4388a757e80484412384a677da1;hb=3Drefs/he= ads/master#l551 > [3]: > https://openzfs.github.io/openzfs-docs/man/master/8/zfs-rollback.8.html > > --===============4443667768090336718== 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 --===============4443667768090336718==--