View Single Post
  #1  
Old 2nd August 2012, 09:31
BrainyForge BrainyForge is offline
Junior Member
 
Join Date: Jun 2011
Location: Italia
Posts: 27
Thanks: 1
Thanked 4 Times in 4 Posts
Default Recovering VM from server Proxmox HD RAID1 LVM2

Hello, I need your help to recover a virtual machine on the what's left of a Proxmox installation.
The whole was mounted on two 1GB drives in software raid.
The virtual machine is called vm-101

Currently with LVM2 sysresccd recognized me, this is the current situation
Code:
 fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00083042

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63  1953520064   976760001   fd  Linux raid autodetect

Disk /dev/md127: 1000.2 GB, 1000202174464 bytes
2 heads, 4 sectors/track, 244189984 cylinders, total 1953519872 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/md127 doesn't contain a valid partition table

Disk /dev/mapper/xen-vm--101--disk--1: 343.6 GB, 343597383680 bytes
255 heads, 63 sectors/track, 41773 cylinders, total 671088640 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008bf81

                            Device Boot      Start         End      Blocks   Id  System
/dev/mapper/xen-vm--101--disk--1p1   *          63      208844      104391   fd  Linux raid autodetect
/dev/mapper/xen-vm--101--disk--1p2          208845   668994794   334392975   fd  Linux raid autodetect
/dev/mapper/xen-vm--101--disk--1p3       668994795   671083244     1044225   fd  Linux raid autodetect
I would like to possibly recover the virtual machine disk files to restart it on another server Proxmox, or at least be able to access the partition data and restore the contents.

Unfortunately I am unsure how to proceed, I would be grateful for your help.

Thank you in advance for your attention.
Sorry for my English.
Reply With Quote
Sponsored Links