Restoring VM with large pool

axius0

New Member
Aug 14, 2024
5
0
1
A few days ago I had a working proxmox server with a few VM's and containers. I had PVE installed on a mirrored ZFS pool (rpool), each drive 120GB. I also have a mirrored pool of 2 4TB drives called big_pool.

One of those VM's was openmediavault and I added big_pool to it as a NAS and filled about 300GB of it and everything was working fine.

I accidentally screwed up the /etc folder and had to reinstall PVE. The reinstall went fine and I went to restore the OMV VM but it tried copying all 300GB over to rpool and obviously filled it up.

I'm not sure how to restore that VM but keep the 300GB of big_pool separate and not have it try to copy over to rpool.

I don't have any of the .conf files from the /etc/pve folder of the old install.
 
From the web UI you can choose the storage to restore the VM to, but for all the disks. I suggest that you restore the backup to the big_pool and once restored, move the root drive to rpool if you want them to be in different storages.
 
Ok great, do you know how I could move the root drive to rpool? Also would that delete the root drive from big_pool or would I have to do that manually?
Also now that rpool is completely full proxmox gui won't start and I can't destroy the VM in the terminal. Can I just delete the VM from rpool/data? Or do I need to reinstall proxmox again?
Thanks
 
Last edited:
You can move the disks from the webUI, in the hardware section of the VM, select "Move disk". You can do it with the VM on too, but you will lose thin provisioning in the process (although you can recover it afterwards).

Of course you need enough space in rpool to do so... Yes, you can remove the zvol using cli, though dont remember the exact command from the top my head.
 
Ok that worked, the command was zfs destroy rpool/data/vm-100-disk-0.

I was able to restore the VM to big_pool successfully and I moved the root disk to local-zfs. But when I got to start the VM I get this error,

TASK ERROR: volume 'local:iso/openmediavault_7.0-32-amd64.iso' does not exist

Any idea what the problem could be? Thanks for your help.
 
I just re-downloaded the iso and it booted up fine. Not sure why I needed that but glad it's working. Thanks again for all your help.
 

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!