public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Stefan Reiter <s.reiter@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH 0/5] ZFS support for single file restore
Date: Wed, 16 Jun 2021 12:55:47 +0200	[thread overview]
Message-ID: <20210616105552.2594536-1-s.reiter@proxmox.com> (raw)

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




             reply	other threads:[~2021-06-16 10:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-16 10:55 Stefan Reiter [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210616105552.2594536-1-s.reiter@proxmox.com \
    --to=s.reiter@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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