[PVE-User] Bug when removing a VM

lemonnierk at ulrar.net lemonnierk at ulrar.net
Thu Jun 21 10:26:51 CEST 2018


Well we have too many clusters for not repeating IDs, keeping track
would be pretty hard.

Can't really use "mv" to migrate, the downtime would be huge, that's why
we use the "move disk" option to do it online. All of that works great,
just find that really really strange that proxmox deletes the directory
everywhere, not just on the related storage. At the very least a warning
would be nice, maybe even a list of the files it's going to remove if
you press the button ? That way you can check it's valid

On Thu, Jun 21, 2018 at 10:12:11AM +0200, Eneko Lacunza wrote:
> 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
> 
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

-- 
PGP Fingerprint : 0x624E42C734DAC346



More information about the pve-user mailing list