VMware Cloud Community
Bacon_Phat
Contributor
Contributor
Jump to solution

Deploy OVA as Thin Provisioned Disk

Connect-VIServer -Server vc.bacon.local
Import-VApp -Source "FlavorOS.ova" -VMHost ESX01 -Datastore Datastore001

I can deploy the image successfully, however I would like to try and deploy as Thin Provisioned.  Currently I deploy, then stoVmo to another datastore.  Any suggestions?

Reply
0 Kudos
1 Solution

Accepted Solutions
sparrowangelste
Virtuoso
Virtuoso
Jump to solution

I think I know why

thats a command for 5.1

http://www.vmware.com/support/developer/PowerCLI/PowerCLI51/html/Import-VApp.html

in 5.0 you cant

https://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Import-VApp.html

--------------------- Sparrowangelstechnology : Vmware lover http://sparrowangelstechnology.blogspot.com

View solution in original post

Reply
0 Kudos
4 Replies
sparrowangelste
Virtuoso
Virtuoso
Jump to solution

try the -DiskStorageFormat  thin switch

Import-VApp -Source "FlavorOS.ova" -VMHost ESX01 -Datastore Datastore001   -DiskStorageFormat  thin
--------------------- Sparrowangelstechnology : Vmware lover http://sparrowangelstechnology.blogspot.com
Reply
0 Kudos
Bacon_Phat
Contributor
Contributor
Jump to solution

No joy:

-DiskStorageFormat <<<<  thin

    + CategoryInfo          : InvalidArgument: (:) [Import-VApp], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,VMware.VimAutomation.ViCore.Cmdlets.Commands.ImportVApp
Reply
0 Kudos
sparrowangelste
Virtuoso
Virtuoso
Jump to solution

I think I know why

thats a command for 5.1

http://www.vmware.com/support/developer/PowerCLI/PowerCLI51/html/Import-VApp.html

in 5.0 you cant

https://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Import-VApp.html

--------------------- Sparrowangelstechnology : Vmware lover http://sparrowangelstechnology.blogspot.com
Reply
0 Kudos
Bacon_Phat
Contributor
Contributor
Jump to solution

That was it- I needed to upgrade the version of PowerCLI I was running.

Thank you!!

Reply
0 Kudos