Dear Team,
How to delete vmdk content before deleting vmdk file from datastore.
so that no one will be able to recover the data from that vmdk.
regards
Mr VMware
Hi Friend,
Steps to do the same.
1. Create a VM with 1 vmdk ::Keep in mind the datastore on which VM is created.
2. SSH to host on which this VM is created.
3. Goto (cd to) "/vmfs/volumes/<data_store recorded in 1st step>/<VM folder name>
4. You will be in this directory now: "/vmfs/volumes/<data_store recorded in 1st step>/<VM folder name>#
run below command:
/vmfs/volumes/<data_store recorded in 1st step>/<VM folder name>#vmkfstools -w <vmdk_file_name.vmdk>
5. Zeroing will start.
6. Once above operation is complete, you can either delete vmdk from datastore by using VI/web client or again you can delete by using "vmkfstools" utility.
Let me know if you need any help.
To help prevent sensitive data in VMDK files from being read off the physical disk after it is deleted, write zeros to the entire contents of a VMDK file ("zero out") before you delete it, overwriting the sensitive data. When you zero out a file, it is more difficult for someone to reconstruct the contents.
Thanks Vicky for prompt response.
Request you to share the complete command where to define the vmdk file name.
regards
Mr VMware
Hi Friend,
Steps to do the same.
1. Create a VM with 1 vmdk ::Keep in mind the datastore on which VM is created.
2. SSH to host on which this VM is created.
3. Goto (cd to) "/vmfs/volumes/<data_store recorded in 1st step>/<VM folder name>
4. You will be in this directory now: "/vmfs/volumes/<data_store recorded in 1st step>/<VM folder name>#
run below command:
/vmfs/volumes/<data_store recorded in 1st step>/<VM folder name>#vmkfstools -w <vmdk_file_name.vmdk>
5. Zeroing will start.
6. Once above operation is complete, you can either delete vmdk from datastore by using VI/web client or again you can delete by using "vmkfstools" utility.
Let me know if you need any help.
