Release unused space
maxthetor
24 Posts
July 27, 2017, 11:41 pmQuote from maxthetor on July 27, 2017, 11:41 pmI have noticed that when I delete a virtual machine or a disk the space is not released in the petasan custer.
Is this expected behavior or should I do something to free up this space?
I have noticed that when I delete a virtual machine or a disk the space is not released in the petasan custer.
Is this expected behavior or should I do something to free up this space?
admin
2,930 Posts
July 28, 2017, 9:50 amQuote from admin on July 28, 2017, 9:50 amSince you use VMWare, this is expected: if you delete a datastore, you will get space released. If you remove a VM disk no space will be released. VMWare disks are vmdk files stored within a VMFS formatted datastore, deleting a vmdk is a file system operation, any SAN will not know this, it does not delete any block sectors.
If however you delete VMs and create new ones repeatedly, they will re-use the existing sectors on the datastore, so PetaSAN will not show unused space changing much, neither increasing nor decreasing.
Since you use VMWare, this is expected: if you delete a datastore, you will get space released. If you remove a VM disk no space will be released. VMWare disks are vmdk files stored within a VMFS formatted datastore, deleting a vmdk is a file system operation, any SAN will not know this, it does not delete any block sectors.
If however you delete VMs and create new ones repeatedly, they will re-use the existing sectors on the datastore, so PetaSAN will not show unused space changing much, neither increasing nor decreasing.
Last edited on July 28, 2017, 9:52 am · #2
Release unused space
maxthetor
24 Posts
Quote from maxthetor on July 27, 2017, 11:41 pmI have noticed that when I delete a virtual machine or a disk the space is not released in the petasan custer.
Is this expected behavior or should I do something to free up this space?
I have noticed that when I delete a virtual machine or a disk the space is not released in the petasan custer.
Is this expected behavior or should I do something to free up this space?
admin
2,930 Posts
Quote from admin on July 28, 2017, 9:50 amSince you use VMWare, this is expected: if you delete a datastore, you will get space released. If you remove a VM disk no space will be released. VMWare disks are vmdk files stored within a VMFS formatted datastore, deleting a vmdk is a file system operation, any SAN will not know this, it does not delete any block sectors.
If however you delete VMs and create new ones repeatedly, they will re-use the existing sectors on the datastore, so PetaSAN will not show unused space changing much, neither increasing nor decreasing.
Since you use VMWare, this is expected: if you delete a datastore, you will get space released. If you remove a VM disk no space will be released. VMWare disks are vmdk files stored within a VMFS formatted datastore, deleting a vmdk is a file system operation, any SAN will not know this, it does not delete any block sectors.
If however you delete VMs and create new ones repeatedly, they will re-use the existing sectors on the datastore, so PetaSAN will not show unused space changing much, neither increasing nor decreasing.