[SOLVED] Restore raw disk image from zfs pool with errors

Vasilij Lebedinskij

Active Member
Jan 30, 2016
65
3
28
38
Hello! I have pretty bad situation with one srv... Two of 4 disks in ZFS Raid 10 have failed. I managed to read sector to sector information from them on special hardware for data extraction with some bad sectors, of course. I wrote these binary images on new disks and attached them to raid and it resilvered but there are errors. VM image with was stored there is present in Content but when i try to launch test VM with this image and boot from live OS it starts loading and loading and loading..... i waited 30 minutes and stood VM. I tried to move image to another storage but failed with error

"qemu-img: error while reading sector 294912: Input/output error"

So there are sectors that i cannot read... Is there any way to read this image ignoring these bad sectors?
 
Ok problem is solved! I was able to boot ubuntu after long time wait and successfully executed dd command to external storage. Then i restored damaged NTFS and grabbed necessary data.
 

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!