[pbs-devel] [PATCH 0/5] ZFS support for single file restore

Stefan Reiter s.reiter at proxmox.com
Wed Jun 16 12:55:47 CEST 2021


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





More information about the pbs-devel mailing list