-
Notifications
You must be signed in to change notification settings - Fork 912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] How to provide a size when creating a datastore #3519
Comments
Howdy 🖐 HaruChebrolu ! Thank you for your interest in this project. We value your feedback and will respond soon. If you want to contribute to this project, please make yourself familiar with the |
Right, govc datastore.create does not provide that option. It uses QueryVmfsDatastoreCreateOptions for the VmfsDatastoreCreateSpec. govmomi/govc/datastore/create.go Line 273 in 1058315
|
Thanks for your quick response @dougm |
Great. I suggest following the doc links above and expect it would be VmfsDatastoreCreateSpec input, but I don't know where. You could also try Developer Center -> Code Capture in vCenter, record the UI operation for your use-case and captured code may provide some hints. There might also be an existing example in another language, using pyvmomi or PowerShell, if so we can port what we need from such an example to Go. |
Closes: vmware#3519 Signed-off-by: Chebrolu <hchebrol@redhat.com>
Closes: vmware#3519 Signed-off-by: Chebrolu <hchebrol@redhat.com>
Closes: vmware#3519 Signed-off-by: Chebrolu <hchebrol@redhat.com>
Closes: vmware#3519 Signed-off-by: Chebrolu <hchebrol@redhat.com>
Describe the bug
I have a disk of size 200G, but I want to create a datastore using only 100G of it. For this, I can specify size while creating datastore. And I don't see an option to provide a size for datastore.create command
The text was updated successfully, but these errors were encountered: