VMware Cloud Community
AndyMcM
Enthusiast
Enthusiast
Jump to solution

New-HardDisk and thick provisioning

Hopefully this is a really simple one.

Trying to use New-HardDisk to create some new disks on some VM's but I can't get the disks to be Thick provisioned and they seem to be done as Thin.

Using the below command at the moment on vCenter 6.5.

New-HardDisk -VM $VM -CapacityGB 5 -Datastore $Datastore -StorageFormat Thick

Looks like -StorageFormat uses VirtualDiskStorageFormat But am unsure how to create that and provide to the command.

Any thoughts?

Thanks for Help.

Andy.

Reply
0 Kudos
1 Solution

Accepted Solutions
continuum
Immortal
Immortal
Jump to solution

First idea : you are trying to create the vmdks on NFS.
On NFS vmdks are always thin.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

View solution in original post

Reply
0 Kudos
2 Replies
continuum
Immortal
Immortal
Jump to solution

First idea : you are trying to create the vmdks on NFS.
On NFS vmdks are always thin.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
AndyMcM
Enthusiast
Enthusiast
Jump to solution

Thanks continuum​, that's exactly what's going on, our test environment is based on NFS and been spending a while wondering why it did not work.

Smiley Happy

A.

Reply
0 Kudos