public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH 0/5] ZFS support for single file restore
@ 2021-06-16 10:55 Stefan Reiter
  2021-06-16 10:55 ` [pbs-devel] [PATCH proxmox-backup-restore-image 1/5] debian: update control for bullseye Stefan Reiter
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Stefan Reiter @ 2021-06-16 10:55 UTC (permalink / raw)
  To: pbs-devel

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-06-28 12:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-16 10:55 [pbs-devel] [PATCH 0/5] ZFS support for single file restore Stefan Reiter
2021-06-16 10:55 ` [pbs-devel] [PATCH proxmox-backup-restore-image 1/5] debian: update control for bullseye Stefan Reiter
2021-06-16 10:55 ` [pbs-devel] [PATCH proxmox-backup-restore-image 2/5] build custom ZFS tools without udev requirement Stefan Reiter
2021-06-16 10:55 ` [pbs-devel] [PATCH proxmox-backup 3/5] file-restore: increase RAM for ZFS and disable ARC Stefan Reiter
2021-06-16 10:55 ` [pbs-devel] [PATCH proxmox-backup 4/5] file-restore/disk: support ZFS pools Stefan Reiter
2021-06-16 10:55 ` [pbs-devel] [PATCH proxmox-backup 5/5] file-restore/disk: support ZFS subvols with mountpoint=legacy Stefan Reiter
2021-06-28 12:26 ` [pbs-devel] applied-series: [PATCH 0/5] ZFS support for single file restore Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal