VMware Cloud Community
morteza3245
Contributor
Contributor

how to defragment HDD on my server?

Hello

my dedicated server is for 2years with vmware Esxi 5.5

and now its slowly, it have 2HDDs, and i want repair them or defragment them,

there is any command for repair HDDs without lose any data?

i have access to root.

Thank you for your help.

0 Kudos
1 Reply
virtualdud3
Expert
Expert

According to VMware KB 1006810:

http://kb.vmware.com/kb/1006810

VMFS datastore can't be defragmented, nor do they *need* to be defragmented due to the large VMFS block size, the large size of VMDK files, the amount of cache on SAN arrays (where VMDK files are typically located), and due to the non-sequential nature of I/O with multiple VMs, on different hosts, all sending their data to the same array.  Whatever problems you're having aren't due to "VMFS fragmentation."

############### Under no circumstances are you to award me any points. Thanks!!!
0 Kudos