Types of virtual disks, Question?

Hi all,
I am newbie in vmware and I want understand it as deep, so I have question about :
"Thick Provision Eager Zeroed – the space required for the virtual disk is allocated during the disk creation. The space is zeroed out when the disk is created.

Thick Provision Lazy Zeroed – this is the default disk type. Space required for the virtual disk is allocated during creation. The space is zeroed on command on the first write from the virtual machine. "


 Can you explain  simply  zeroed out and what do it?

Thanks,
Hamid SaeedAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Basically at the time the virtual disk is created every single sector has a zero written to it. E.g. inside the VMDK so it's a clean disk and has no used data from the datastore.

This can take time to create the disk but zeroed out disks can increase performance.
0
gheistCommented:
You talking vmfs or nfs?
0
Hamid SaeedAuthor Commented:
Hi,
Yes, my question is about create virtual diskd for a VM,p in when I want create a VM with wizard ,
Ok,but still, I don't understand why "zero written" operation must be do?
Can you compare it with  prepare a physical  disk ?

Thanks dearm
0
The Five Tenets of the Most Secure Backup

Data loss can hit a business in any number of ways. In reality, companies should expect to lose data at some point. The challenge is having a plan to recover from such an event.

gheistCommented:
Because all no-windows nfs servers and vmfs allocates sparse files in lazy case, sort of thin provisioning in storage unit
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
It clears the physical sector of the disk

Excellent.g. zeros overwrites blanks the disk destroys the data in the sector before use.

Eager zeroed does this to the entire disk at creation.

Lazy zeroed does it as the disk is written to by the OS so there is a slight delay in writes...
0
gheistCommented:
Actually you can read lazy zeroed disk and it is all zeroes in untouched blocks. What happens behind the scenes is that your storage (VAAI) driver makes never written sectors up as zeroes.
0
Hamid SaeedAuthor Commented:
Hi and very thanks,
So, for writing to virtual disks must first write zero and data overwrite in place?
Is it right?
And do it is right for physical disks,too?

Really thanks for you,
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Correct only for virtual disks.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.