[PVE-User] Bug when removing a VM
Eneko Lacunza
elacunza at binovo.es
Thu Jun 21 10:12:11 CEST 2018
Hi,
I'm sorry for your troubles, I hope you had good backups.
You should never share storage between clusters.
-> If you must or it's convenient to do so, just don't repeat de VM Ids...
For example on a NFS server, another thing you can do is just use a
different directory for each cluster; when you want to migrate a VM
between clusters, just 'mv' from NFS cli the VM directories between NFS
directories, but again be aware of repeated VM id!!
Cheers
El 21/06/18 a las 10:04, lemonnierk at ulrar.net escribió:
> Hi,
>
> Not sure this is a bug, but if it's not there should be a huge red
> warning in the VM removal box, I think.
>
> We've been migrating some VMs between clusters, and for that I mounted
> the old storage on the new cluster, and just re-created the VM, stopped
> them on the old cluster and started them on the new, then used "move
> disk"
>
> That works fine, but this morning a colleague just deleted a bunch of
> VMs on the new clusters, and we discovered with horror that when you
> delete VM 112 for example, it doesn't just remove the images/112
> directory on the storage the VM was using, it does it on all attached
> storage.
> So when he deleted a few VM on the new cluster, it deleted the hard
> drives of a bunch of other VM on the old cluster that hadn't been
> migrated yet.
>
> Surprise ..
>
--
Zuzendari Teknikoa / Director Técnico
Binovo IT Human Project, S.L.
Telf. 943569206
Astigarraga bidea 2, 2º izq. oficina 11; 20180 Oiartzun (Gipuzkoa)
www.binovo.es
More information about the pve-user
mailing list