VMware vSphere

 View Only

Creating thick or independent-persistent disks with dcli in vcenter

  • 1.  Creating thick or independent-persistent disks with dcli in vcenter

    Posted Oct 23, 2024 11:59 AM

    Hi all,

    I'm trying to create a bunch of VMs and thought I'd use dcli to avoid too much manual labor.

    I've figured out most things, however the VMs are created with disks that are always Thin and Dependent.

    What do I have to put in the disks.json file to make

    1. thick (lazy-zeroed) and
    2. Independent-persistent disks?

    The simplest disks.json currently is like this:

    [
            {
                "type": "SCSI",
                "new_vmdk": {
                    "capacity": 268435456000,
                }
            }
    ]

    Thanks in advance