Automation

 View Only
  • 1.  New-HardDisk and thick provisioning

    Posted Nov 08, 2018 03:47 PM

    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.



  • 2.  RE: New-HardDisk and thick provisioning
    Best Answer

    Posted Nov 08, 2018 04:07 PM

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



  • 3.  RE: New-HardDisk and thick provisioning

    Posted Nov 09, 2018 09:01 AM

    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.

    :smileyhappy:

    A.