Hello. I will get right to the point because I am panicking a little bit right now.
I had 2 VMs running FreeNAS. The first VM with the VID 103 was running FreeNAS 9.1 RC1 and the second VM with VID 105 running FreeNAS 9.1 RC2.
The ideea at the time was to move all of my data from the first VM to the second VM so I can delete the old FreeNAS. Yesterday I finished moving all my data (videos, music, all photos) to the VM with VID 105.
Today I wanted to remove the FreeNAS and I accidentally deleted the VM with VID 105 instead of 103 from the web interface.
After that I created a new VM running Ubuntu 13.04 to migrate all my data there because FreeNAS had some speed issues running as a VM.
So I created a new VM with VID 105. When I needed to access some of my photos, I realized the VM that I needed to delete was the wrong one.
As a total noob I started looking for a way to recover my files. I knew that I had 2 virtual disks created. One for the OS, 6 GB and one for data, 300 GB.
I found out that there are information stored about the disks here:
/etc/lvm/archive/hdd1000gb_00040-1393861768.vg
In the description of the file, it says:
description = "Created *before* executing '/sbin/lvremove -f hdd1000gb/vm-105-disk-2'"
I had no backup of the data since I just finished moving it all in one place and I didn't need to run a full backup yet.
Is there a way I can restore those virtual disk?
I forgot to add that I have Proxmox version 3.0.23.
I had 2 VMs running FreeNAS. The first VM with the VID 103 was running FreeNAS 9.1 RC1 and the second VM with VID 105 running FreeNAS 9.1 RC2.
The ideea at the time was to move all of my data from the first VM to the second VM so I can delete the old FreeNAS. Yesterday I finished moving all my data (videos, music, all photos) to the VM with VID 105.
Today I wanted to remove the FreeNAS and I accidentally deleted the VM with VID 105 instead of 103 from the web interface.
After that I created a new VM running Ubuntu 13.04 to migrate all my data there because FreeNAS had some speed issues running as a VM.
So I created a new VM with VID 105. When I needed to access some of my photos, I realized the VM that I needed to delete was the wrong one.
As a total noob I started looking for a way to recover my files. I knew that I had 2 virtual disks created. One for the OS, 6 GB and one for data, 300 GB.
I found out that there are information stored about the disks here:
/etc/lvm/archive/hdd1000gb_00040-1393861768.vg
In the description of the file, it says:
description = "Created *before* executing '/sbin/lvremove -f hdd1000gb/vm-105-disk-2'"
Code:
vm-105-disk-1 {
id = "HowMJY-CY67-2swc-d7u5-MkEb-wgfS-AaZf5D"
status = ["READ", "WRITE", "VISIBLE"]
flags = []
tags = ["pve-vm-105"]
creation_host = "srv1-lnx"
creation_time = 1374978289 # 2013-07-28 05:24:49 +0300
segment_count = 1
segment1 {
start_extent = 0
extent_count = 1536 # 6 Gigabytes
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 219136
]
}
}
vm-105-disk-2 {
id = "xicJnd-Tm8g-dQy4-PgA2-6b9h-lgKH-mVBWzj"
status = ["READ", "WRITE", "VISIBLE"]
flags = []
tags = ["pve-vm-105"]
creation_host = "srv1-lnx"
creation_time = 1374978329 # 2013-07-28 05:25:29 +0300
segment_count = 1
segment1 {
start_extent = 0
extent_count = 76800 # 300 Gigabytes
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 0
]
}
}
I had no backup of the data since I just finished moving it all in one place and I didn't need to run a full backup yet.
Is there a way I can restore those virtual disk?
I forgot to add that I have Proxmox version 3.0.23.
Last edited: