[pve-devel] [PATCH] move_disk : don't delete disk if used in a previous snasphot v2
Alexandre DERUMIER
aderumier at odiso.com
Wed Apr 16 11:06:54 CEST 2014
AFAIK save will remove any used volume from 'unusedX', so you will not get that behavior anyway.
>>Did you test your patch (does it really generate an unused entry for used disks)?
Yes, I have tested it, and it's generate an unused disk.
Another possibily could be do disalow delete option when disk migrate, if the disk have snapshot.
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Alexandre DERUMIER" <aderumier at odiso.com>
Cc: pve-devel at pve.proxmox.com
Envoyé: Mardi 15 Avril 2014 07:08:40
Objet: RE: [pve-devel] [PATCH] move_disk : don't delete disk if used in a previous snasphot v2
> I wanted to do the same behaviour.
>
>
> I think it's better to put it as unused, than simply remove it from configuration,
> and have a phantom disk on the storage.
AFAIK save will remove any used volume from 'unusedX', so you will not get that behavior anyway.
Did you test your patch (does it really generate an unused entry for used disks)?
More information about the pve-devel
mailing list