From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 7500972A30 for ; Wed, 16 Jun 2021 12:56:43 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 72A1210ACF for ; Wed, 16 Jun 2021 12:56:43 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (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 firstgate.proxmox.com (Proxmox) with ESMTPS id E8DD910AC4 for ; Wed, 16 Jun 2021 12:56:42 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id C0DEB420CE for ; Wed, 16 Jun 2021 12:56:42 +0200 (CEST) From: Stefan Reiter To: pbs-devel@lists.proxmox.com Date: Wed, 16 Jun 2021 12:55:47 +0200 Message-Id: <20210616105552.2594536-1-s.reiter@proxmox.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.802 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [disk.rs, main.rs] Subject: [pbs-devel] [PATCH 0/5] ZFS support for single file restore X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2021 10:56:43 -0000 This series adds support for single file restore from ZFS zpools. It uses the standard ZFS utils, built manually from the already included ZFS subvolume in proxmox-backup-restore-image. This is required, since the default zfsutils-linux package is linked against libudev, which, in absence of systemd/udev in the VM, causes all sorts of weird behaviour. Should support all kinds of ZFS configurations, tested with striped, striped mirror, and RAIDZ-1. I'll further continue testing, additionally with special devices and such (it *should* work just fine, but you never know what funny errors ZFS comes up with). Appreciate any help in that regard of course ;) proxmox-backup-restore-image: Stefan Reiter (2): debian: update control for bullseye build custom ZFS tools without udev requirement debian/control | 2 +- src/Makefile | 21 +++++++- src/build_initramfs.sh | 19 ++++++- src/init-shim-rs/src/main.rs | 10 ++++ .../0001-remove-reference-to-libudev.patch | 52 +++++++++++++++++++ 5 files changed, 101 insertions(+), 3 deletions(-) create mode 100644 src/patches/zfs/0001-remove-reference-to-libudev.patch proxmox-backup: Stefan Reiter (3): file-restore: increase RAM for ZFS and disable ARC file-restore/disk: support ZFS pools file-restore/disk: support ZFS subvols with mountpoint=legacy src/bin/proxmox_file_restore/qemu_helper.rs | 15 +- src/bin/proxmox_restore_daemon/disk.rs | 196 +++++++++++++++++++- 2 files changed, 196 insertions(+), 15 deletions(-) -- 2.30.2