Vm disk remapped automatically to cifs/backup location?

bellocarico

Member
Sep 17, 2022
63
8
13
I rebooted my host due to a raid disk glitch that stopped my server from operating properly. It turned out a disk dropped out and was re- included in the raid automatically. While doing so post reboot one of the VMs that should, didn't start automatically. After a quick investigation I found the system disk the VM has been somehow mapped to the backup location on a cifs share and the local (original) disk reference disappear. Since the backup/cifs host was incidentally down for few hours I was able to spot the issue.

Now:
- how could this ever happen
- how do I find out when this happened (e.g. what to look for in the logs)?
- how to I restore the situation (I guess I need to move the disk from the cifs where it currently runs to the local location) what are the commands involved? I think I worked this out using the migrate storage function in the menu.
- how do I prevent for this to happen again?

Thank you any help/suggestion
 
Last edited:
Check the configurations of your VM's backups and maybe you can find when the storage place of the virtual drive changed? I expect that you accidentally selected the wrong storage when creating the VM.

EDIT: I have never read about Proxmox moving virtual disks by itself. But I have read several times (on this forum) that people accidentally chose the wrong storage when creating the VM.
 
Last edited:
I'm pretty certain I did not migrate the disk. It's not something that happens by chance, you need to select the VM, then the disk, then go to a menu select the target storage, etc. etc.

My last 3 backups are pointing to the CIFS but the extremely odd piece of info is that when I restore the last backup from yesterday my last email on the VM is date 15th Oct. So I'm lost as all this doesn't make any sense to me.
 
Last edited: