POSHOrigin_vSphere
POSHOrigin_vSphere copied to clipboard
Create new disks on datastore cluster if available
Expected Behavior
Improve datastore logic when creating new disks.
Current Behavior
New disks are created on the datastore the VM currently resides on. Creating new disks will fail if the free space on that datastore cannot support the new disks.
Possible Solution
If the VM is on a datastore that is part of a datastore cluster, then target the new disks at the datastore cluster to let vSphere determine the best location for the disk.
Context
New disks cannot be created if they won't fit on the datastore.
Your Environment
- Module version used: 1.4.2