Got it

Too much time spent when expanding the disk capacity in VM Highlighted

Latest reply: Sep 18, 2019 02:39:35 1316 4 24 0 29

This post talks about the issue of too much time spent when expanding the disk capacity in the VMware VM. Please have a look at the information below.


[Issue description]


When adding one new disk (disk from the Huawei storage LUN) to the Virtual Machine, it only needs a few seconds. But when expanding this disk from 40GB to 4TB, it will need 4 minutes to finish.


123


The Vmware logs show that the Virtual Machine stopped during the capacity expansion:


2019-07-31T10:15:09.784Z| vcpu-0| I125: Checkpoint_Unstun: vm stopped for228266202 us


[Root cause]


VMware confirms that this issue is related with the vmfs6 datastor, and it will be fixed in the new version 6.5 u3 (current version is 6.5 u2).


123


6.5 u3 release notes:


https://docs.vmware.com/en/VMware-vSphere/6.5/rn/vsphere-esxi-65u3-release-notes.html


[Issue confirmed method]


1. After checking the LUN performance during the capacity expansion period from the storage side, we could find that VMware sent plenty of read operations when expanding the disk capacity, lasting for about 4 minutes (same with the time spent on the disk capacity expansion). There were very few write operations, concluding that the disk provisioning of Virtual Machine had the 'Thick Provision Lazy Zeroed' policy.


123


Also from the read and write latency, we can know there was no bottleneck from storage side.


123

2. Back to the read operation from Vmware, due to the default 'Sampling Interval of Historical Statistics Collection' is 60 seconds, so we modify it to 5 seconds then test the capacity expansion again, performance data shown as below. (Note that modify it back to 60 seconds after finishing the test).


We can find that during capacity expansion operation, Vmware sent continuously read operation whose speed is average 400MB/s to storage, after the read operation is done, the expansion also finishs.


(Note that following performance data comes from 40GB to 800GB capacity expansion, so the read operation only lasts for about 2 minutes).


123

Theoretically speaking, for Thick Provision Lazy Zeroed policy datastore, expanding capacity will only bring some metadata write operation to backend storage, and should not send so many read operations to backend storage.


3. Regarding this doubt, we did many tests in the lab, finally found this issue is related with vmfs6 datastore only, when using vmfs5 datastore, the expansion will finish soon under the same scenario.


At last, Vmware officially replied this issue is related with vmfs6 + Thick Provision Lazy Zeroed policy, shown as below.


123


This issue is also described in Vmware ESXi 6.5 u3 release notes:


https://docs.vmware.com/en/VMware-vSphere/6.5/rn/vsphere-esxi-65u3-release-notes.html


[Solution]


1. Use the vmfs5 datastore instead of vmfs6, or not to use Thick Provision Lazy Zeroed policy in the vmfs6 datastore.


2. Upgrade the VMware version to 6.5 u3.


(Note that Vmware ESXi 6.5 u3 currently has not finished the compatibility test with Huawei storage, so it is not recommended to use for now).


Thank you for sharing.
View more
  • x
  • convention:

Too much time spent when expanding the disk capacity in VM-3053913-1
View more
  • x
  • convention:

Nice job, thanks
View more
  • x
  • convention:

useful
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.