Proxmox boot drive failed

DrakkoPrime

Active Member
Aug 17, 2018
1
0
41
36
I will lead this post by saying I did NOT have backups of the VMs, I fully understand now that it is bad practice. I've started homelabbing as a hobby and am learning as I go, I've been at this for just a few weeks.

I had Proxmox 5.2 installed on a 160 SSD that died, I had a spare and installed a fresh install. I was able to successfully restore my zpool and zpool list shows my pool which also has my Ubuntu VM installed on it but I cannot get the VM to load back up on the GUI side panel so I can Start the VM and access my media files (this entire setup was to be a dedicated Plex server)

After the new install was running I ran
root@Omashu:~# zpool import -m plextank

root@Omashu:~# zpool status
pool: plextank
state: ONLINE
scan: scrub repaired 0B in 9h44m with 0 errors on Sun Sep 9 10:08:50 2018
config:

NAME STATE READ WRITE CKSUM
plextank ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
sda ONLINE 0 0 0
ata-HGST_HUS724020ALA640_PN2134P6KM8STX ONLINE 0 0 0
sdc ONLINE 0 0 0
sdd ONLINE 0 0 0
sde ONLINE 0 0 0
ata-ST2000DL003-9VT166_5YD10BZF ONLINE 0 0 0
ata-ST2000DL003-9VT166_5YD0TFXT ONLINE 0 0 0
ata-ST2000DL003-9VT166_5YD10DRM ONLINE 0 0 0
ata-ST2000DL003-9VT166_5YD0YXA8 ONLINE 0 0 0
ata-ST2000DL003-9VT166_5YD0ZL7K ONLINE 0 0 0

errors: No known data errors


root@Omashu:~# zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
plextank 18.1T 9.91T 8.22T - 0% 54% 1.00x ONLINE -


root@Omashu:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
plextank 7.55T 5.83T 219K /plextank
plextank/vm-disks 7.55T 5.83T 219K /plextank/vm-disks
plextank/vm-disks/vm-102-disk-1 7.55T 5.83T 7.55T -

My question is now that I see vm-102-disk-1 is there a way to restore it from here.....again no backups and I know that's an issue and have learned from my mistake, just trying to save a lot of time by recovering the video files off this VM to an external harddrive(s) so I can redo a setup properly.
 
I have similar setup. And I have been searching for a proper backup procedure to recover from an OS disk failure. I have a mirrored ssd zfs pool for boot but still want to back up system incase both drives fail or other disaster.

If you fond the proper way to backup system and vms it woild be great. Post it here pleas.


As for your question if you remember your vm config
Just create a new vm with same config and point the system drive to your existing disk. If that is not an option I have seen a post her to how to swap a new disk for existing one. If I find it I will post a link here.
 

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!