I am using the diskadd command to add a disk to an existing VM.
My command looks like:
vim-cmd vmsvc/device.diskadd $idvm $newdisk scsi0 $unit $ds2
where:
$idvm = VM id
$newdisk = size
$ds2 = datastore
$unit= unit in scsi0
I see that the new disk is created either as a thin or a thick disk wiht no evident reason.
How does the command decide to create a thin or a thick disk?
How can I say to create a thin disk?
Regards
marius