Pull files from ZFS store

May 31, 2019
8
0
6
40
Hello, I have a ProxMox server that has gone belly up, the install was done with ZFS. I have the disks hooked up to another machine to extract data out of them. The ZFS shows degraded but I am able to pull the VM disks off them using qemu-img convert. However I also had a backup store on this box and it would be nice if I could extract that directory too in case any of the VMs where corrupted during the crash.
How can I mount the Zpool into a state where I can copy files from it ?
Thanks
 
Found the answer from this nice redditor https://www.reddit.com/r/Proxmox/comments/eqov6s/proxmox_6_zfs_mirror_root_boot_failure_with/

  • Import the pool. zpool import -f -R /mnt rpool
  • Chroot to pool:
    1. mount -t proc /proc/ /mnt/proc
    2. mount --rbind /dev/ /mnt/dev
    3. mount --rbind /sys/ /mnt/sys
    4. chroot /mnt bash

So now I have been able to find the backup store including the .chunks but now my question would be how does one import that into a new backup store? Just copy contents into the new backup store directly?