Is it possible to somehow recover data from a ZFS drive ?? :-(

zbigi

New Member
Jan 13, 2023
5
0
1
root@syste:~# zpool status -v
pool: nvme1
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A
scan: scrub repaired 0B in 00:06:34 with 0 errors on Sun Dec 10 00:30:35 2023
config:

NAME STATE READ WRITE CKSUM
nvme1 ONLINE 0 0 0
nvme-nvme.1e4b-50333030454442423232303832393030323930-50617472696f74204d2e322050333030203235364742-00000001 ONLINE 0 0 24

errors: Permanent errors have been detected in the following files:

nvme1/vm-100-disk-0:<0x1>
 
ZFS can't repair your corrupted data if you only use a single disk. For that you need at least 2 disks in a mirror or 3+ disks in a raidz for parity data.
I hope you got your backups of the VM with the VMID 100? Then restore that VM from backup replacing the corrupted VM.

Otherwise you are out of luck and should think about raid and proper backups for the future.

PS: Of 86 power cycles 84 were unsafe shutdowns...do you propery shutdown the server?
 
Last edited:
I have a backup from a week ago - ran out of space for a daily copy on Proxmox Backup Server and didn't check it - my fault
 

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!