Can not read/access VM Disk after physical server locked up

Andreas.

New Member
Dec 29, 2012
17
0
1
Hey guys


Is it possible to repair or get access to the files from the VM disk


I have proxmox running on my home server and today the server just locked up.


So I powered it off/on and all my VM's came back up except for one.


It was my server holding my data.


It has 2 drive, a 10GB and a 700GB drive. (These are not physical drives)


So when I booted back up the OS and data appears to be gone.


I re-installed OS (ubuntu) and tried to add the 700GB drive back on but it thinks its blank drive.


Is there any way to add/mount this 700GB drive and pull the data from the VM disk?





thank you
 
Hello Andreas

Is it possible to repair or get access to the files from the VM disk

....


Is there any way to add/mount this 700GB drive and pull the data from the VM disk?

Get access to a qcow2 image as follows (example VM 607 disk1 on local storage, mount partition 1 in /mnt/temp):

Code:
qemu-nbd --connect=/dev/nbd0 /var/lib/vz/images/607/vm-607-disk-1.qcow2
mount /dev/nbd0p1 /mnt/temp


For checking repair etc. use

Code:
qemu-img

Have a look at man-pages for more information!


Kind regards

Mr.Holmes
 

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!