Pull files from ZFS store

May 31, 2019
8
0
6
39
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?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!