Hi guys,
I want to convert VMs disk from thin provisioning to thick lazy zeroed
Is there any PowerCLi command to do that?
Btw, if we convert disk from thin to thick, the data on vmdk file can be lost or not?
Thank you for your kindly answer
Best regards
Thao Vo
You can use the Set-Harddisk cmdlet with the StorageFormat parameter, but only when combined with the Datastore parameter.
In other words when you are doing an svMotion.
Not sure what you mean with "... date on the vmdk file can be lost".
Is that based on experience, or do you have a reference where this stated ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks LucD,
So I only convert from thin to thick lazy zeroed when I use vMotion, mean move VMs to another datastore and choose the storage format?
Is there a way to keep the VMs in same old datastore?
Any risk in the converting? I mean can the data in this disk be lost after convert?
Thank you very much
You can change the format while staying on the same datastore, but:
I never experienced data loss while doing a svMotion.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks LucD,
You can change the format while staying on the same datastore, but:
=> seem it's complicated.
I found one way to convert from thin to thick, that is used Set-HardDisk with -Inflate
but it only convert to EagerZero
Between Lazy and Eager Zero, which one you prefer ? Sir LucD? :smileygrin:
Thank you for your kindly help
I found a way to do that
# vim-cmd vmsvc/reload vm_id