[pve-devel] [Enhancement request] Thin Provisionning problems.. need to zero LVM disks before deleting a VM
dietmar at proxmox.com
Wed Mar 7 10:27:50 CET 2012
> It seems this problem is common on all thin-provisionning SAN's (not only
> I wanted to modify Storage.pm to add a the dd command before the
> lvremove, but the problem is that is lasts from seconds to minuts... and
> the GUI session waits for the end of the dd before allowing me to do
> anything else..
> Dietmar told me on the forum, that lvremove was considered as a quick
> command, and that's why it wasn't managed on a "batch" way.
> So my question is : is there a way to add this feature in 2.0?
> 1) put a parameter (on the storage definition?) telling that we would
> like to zero the LV before lvremove
Yes, something like that. Or a global setting in datacenter.cfg
This also seems to be a general security problem. AFAIK lvcreate and lvremove does
not zero out data, so it is possible to one VM see data of another (deleted) VM?
More information about the pve-devel