New-VM cmdlet always deploys "Thin-provisioned" VMs - need help

Hi all

I am at a total loss on this and spent several days trying to figure out what's wrong.  I'm deploying a new virtual machine from a template using PowerCLI version 5.1 Release 1.  The model is thin-set as all our models are, but when you specify my "New - VM" command, the resulting virtual machine always deploys as thin-provisioned even if I specify "thick".  Here is the command I use:

PowerCLI C:\ > New-VM-model $templatename - $datastoreClustername - DiskStorageFormat EagerZeroedThick - $hostname - VMHost Datastore name $newVMname - location $foldername

The above command returns the following error that 'EagerZeroedThick' is not a valid for the parameter - DiskStorageFormat option (although I see it clearly is done by "Get-Help-detailed New - VM")...:

New - VM: 20/02/2014 12:09:18 new - the specified invalid VM storage format. Valid values are "Thin" and "thick".

Online: 1 character: 7

+ New-VM < < < <-Template (model Get - Id VirtualMachine - vm - 1060) Datastore - Orion1_DSCluster - DiskStorageFormat EagerZeroe

dThick - VMHost orion2esx01.cisco.com - name rcdn6-vm91-8-location "generic user (jstest).

+ CategoryInfo: InvalidArgument: (:)) [new-VM], InvalidArgument)

+ FullyQualifiedErrorId: Client20_VMServiceImpl_GetnerateCloneSpec_IvalidStorageFormat, VMware.VimAutomation.ViCore.Cmd

lets.Commands.NewVM

So I try the same command above, but this time by using 'thick ':

PowerCLI C:\ > New-VM-model $templatename Datastore thick - VMHost $hostname - DiskStorageFormat - $datastoreClustername - name $newVMname - location $foldername

The above command will successfully deploy a new virtual machine to the specified model, but the resulting virtual machine will always be Approvisionnés Thin rather than thick as I said...

I have Google had the devil on this issue and did not happen to something that helps me...  I tried all the combinations of parameters, and the parameter order hoping that would be the thing without result.  As I said, I am at a complete loss and hope someone here can point me in the right direction.

Sum, my 2 questions are:

  1. Why is EagerZeroedThick not considered as a valid option for the setting -DiskStorageFormat even if "Get-Help-detailed New - VM" clearly states that it is?  (I've seen a lot of example online of people using this option as well)
  2. Why the new virtual machine being deployed as a thin-put in service of the virtual machine, even if I specify thick for the setting -DiskStorageFormat of New - VM?

It is a 1 vCenter/vSphere 5.1 update environment.

Thanks in advance for your help.

I finally received a response from the Vmware Support on this topic and thought I'd share it for anyone else running in this issue:

VMware support:

"I confirmed and discovered that it is a bug that is already running of our public relations team that suits him.

And confirmed that this will be fixed in the next major release of VMware CLI power.

And now, there is no ETA for it but I think would it as well as ESXi 5.5 U1 version but I can't confirm it. »

Tags: VMware

Similar Questions

  • Bluetooth problem on my new laptop HP Pavilion G series and really need help!

    I recently bought my new laptop and yesterday when trying to send a picture from my phone to it, files have not been sent, even though she said the phone and the laptop were connected, he mentioned something about Image push, but I am new to HP, so I'm not aware of what exactly is and desperately need help Please could someone help me with this, I would really appreciate that I could not yet send the file via bluetooth. Thanks in advance!

    D3,

    You said,

    "bluetooth device has not been successfully installed.

    You said,

    ""photo from my phone it it was settled, but it says ' unable to connect ' "." "

    I'm a little confused by what you say, but I do not understand 'unable to connect '.

    • It's time to go back to information I sent you and go through the installation program.
    • You can also use the HP connection manager to help you get the job done.

    Here is the Connection Manager software.  Download and install it.  Your computer already has the software, it's going to tell if the package will install...

    HP sp54945 V4.1.25.1 Connection Manager

    Once the software is installed...

    And you want to use the HP Connection Manager software.

    • Make sure that your wireless network is enabled,
    • Then look in your taskbar for your Connection Manager icon and
    • Double-click to start

    If you do not see the icon in the taskbar, you can do the following:

    Start > search / type "HP connect" >

    Click on 'Hp connection manager' when you see it in the start list

    This is a HP Connection Manager Help file.

    The document explains how to use the software to connect your Bluetooth devices (and wireless):

    Connecting to a network with the 4.x connection manager

    Good luck!

    ----------------------------------------------------------------------------------------------------------------

    When you appreciate the effort...

           Please click on the Star Bravo on the left to tell "thank you"! ""

        Is it solved? Make it easier for other people to find the answer:

    Please Mark my Post 'accept as Solution' to say "Yes!"

    Remember: the more information, help, best you , you can receive.

    Always include: (Notebook) product number , printer - model number ,.

    Operating system and a Description of the error

    Never give your serial number

    ----------------------------------------------------------------------------------------------------------------

    2012 the year of the Dragon!

  • Thin provision VMs does not only not with sVmotion

    Hello - I have a number of VMs who have changed their functions and things and have plenty of space I want to re - claim them. I did used sdelete - c for all readers and the BONE is visible all the free space. I have about 5 virtual machines that I do this with and up to 2 worked but 3 has not even after 2-3 sVmotions in another data store.

    Of course the 3 who do not work are greatest where I need more space in too, what is plan B if sVmotion does not work? Is there a reason why some virtual machines would work and some would not work? I need to recover the place of these virtual machines to complete the raid level migration, I'm trying to make.

    Any help is appreciated-

    Thank you

    I confirm that I see the same behavior in my environment as well. Using Storage vMotion to another store of data with a different block size thin on the disc, but going to a store of data with the same block size is not...

    Matt

    My blog: http://www.thelowercasew.com

  • I have a new Sony Xperia Ion LT28at unlocked factory. Need help for upgrade to Android 4.0. Thank you

    Where cell phones are listed on Board choose?

    Hi Paul,.

    Welcome to the community of Sony!

  • New/updated nine HP Desktop Win 7 Pro - need help or advice

    Hello...

    Honestly, I do this for a dear friend and I would like to keep it this way!  Its xp fell under the "ms tech phone call" scam, and while I don't know if it'll never work, once again, she bought the following:

    HP Compaq 6000 Pro Small Form Factor (tour info)

    System - Dell: Intel Core 2Duo E7500 2.93: 4gm memory ram: 64-bit (info via prop comp)

    This is a refurbished pc.  I activate with the product key provided.  Set a restore point; installed hp photosmart more printer via the cd and google Canary worm 52.0.2715.0; There is a Mediatek RT2870 LAN card 12/04/16 1.5.38.101 WiFi adapter

    Windows Defender > used 3 hours "search for updates" after I downloaded from ms site, definitions, I think. From my own experience some years back I remember (with great pain) this problem.

    Wanting a good place to start "solid":

    • uninstalled MS security essentials
    • windows update is the KB976902 11/20/2010
    • directly ran here!

    My Question: What do I do then?  Download all updates for win 7, I guess and then Defender.  I'm sure she'll switch to windows 10 to 99%, so I should make a bee line it?  Given that I'll be 'teaching' his 10 windows and it comes from xp I thought it would be easier to dip in the first 7...

    My excuse for the length, it's my first post to the community after years of reading others.   Instead of recent viruses, including my edge get hi-jacked little time after my upgrade to win 10, I want to continue with the installation in the "right direction."

    Thank you very much!

    Hi Emma,

    Thanks for posting your query on the Microsoft Community.

    According to the description, it seems that you have properly installed Windows 7 on your computer, but facing problem in the installation of updates. Correct me if I'm wrong. This problem may occur if one or more of the following conditions are met:

    1. The Windows Update database is damaged.
    2. Antivirus software is configured to scan the folder % Windir%\SoftwareDistribution.
    3. Service (BITS) Background Intelligent Transfer Service does not receive a content link header.
    4. A required system file is incorrectly registered.

    If it helps, try the methods and check them off below.

    Method 1

    If I'm wrong, you tried not Troubleshooting Windows Update below to solve your problem and if this isn't the same link, then try to run the troubleshooter.

    Open the Windows Update troubleshooting tool

    http://Windows.Microsoft.com/en-in/Windows7/open-the-Windows-Update-Troubleshooter

    Method 2

    Step 1

    If the problem persists I suggest to reset the Windows Update components and for this, try to run the fixit described in the following article. If you already tried the fixit even before that I ask of you rerun the fixit.

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058/en-us#LetMeFixItMyselfAlways

    Step 2

    Try to follow the steps in the Microsoft Article and check if it helps.

    Problems with installing updates

    http://Windows.Microsoft.com/en-us/Windows/troubleshoot-problems-installing-updates#1TC=Windows-7

    I hope this helps. If the problem still persists, post back with the current state of your computer and the result of the proposed suggestion, we will be happy to help you.

    Kind regards

  • Using Arcserve R16 for backup VMs. need help. Thank you.

    Dear friends,

    I'm almost done migrating my physical servers in an esxi5 environment consist of 3 armies of x exsi, 2 x 10 GB switches and 1 EQL IP SAN.

    I also bought a Dell r.620 with 2008 backup server installed as well as all R16.1 purchased licenses.

    The HARD drive is a pair of 146 GB 15 K SAS based raid one.

    The backup r.620 server has a connection of 10 GB to the SAN and iSCSI.

    I wonder the backup server Arcserve retrieves the direct backup iSCSI connection or through the normal LAN?

    What is the needs of backup server to have a lot of storage space in order to save the images of the VM?

    Finally, does anyone have documentation to share regarding the backup of virtual machines using Arcserve R16?

    Thanks guys...

    The iSCSI config seems good. I would make sure that cards that you use for the iSCSI initiator have all links removed except for TCP/IP v4 properties. Also make sure that the TCP/IP properties are not recording is DNS - basically, you want to just pure TCP/IP connectivity and nothing else.

    If you subscribe to the iSCSI initiator volumes, then I do not think that the CA software will see the volumes more. You'd be in the LAN-based backups that will work also for what it's worth.

  • How to recover free space on Thin provisioned VM

    Hello

    We are trying to recover the thin provisioned VMDK using below UNMAP commands on esxi5.5 update1 host but get error backup volume not supported for UNMAP and we can see that delete also not taken in charge and all status by checking the ATAS list his indicates that the plugin is not loaded we use IBM SVC (VMW_SATP_SVC VMW_PSP_FIXED placeholder (not loaded plugin)

    Let know us how to load the VMW_SATP_SVC plugin to the ESXi 5.5 update1 host and also suggest how to recover free space on thin provisioned VMs

    Here's the output of command, we checked and we suggest to conduct thorough on this

    **************************************************************************************************

    ~ # esxcli storage vmfs unmap-l NONPROD-DS01

    Backup volume 5390312 a-1f3a16fd-b578-5ef3fc1eb0bb devices do not support undo the MAPPING

    *************************************************************************************************

    *******************************************************************************************************

    ~ # esxcli central storage peripheral vaai situation get naa.60050768018105ced80000000 d

    CF 00010

    1. NAA.60050768018105ced8000000000010fc

    VAAI Plugin name:

    ATS status: supported

    Clone status: supported

    Zero status: supported

    Delete status: unsupported

    ********************************************************************************************************

    ********************************************************************************************************

    ~ # esxcli storage nmp ATAS list

    Description of default name PSP

    -------------------  -------------  --------------------------------------------                                                -----------

    Tables VMW_SATP_ALUA VMW_PSP_MRU nonspecific media that use the Protocol AL AU

    VMW_SATP_MSA VMW_PSP_MRU placeholder (not loaded plugin)

    VMW_SATP_DEFAULT_AP VMW_PSP_MRU placeholder (not loaded plugin)

    VMW_SATP_SVC VMW_PSP_FIXED placeholder (not loaded plugin)

    VMW_SATP_EQL VMW_PSP_FIXED placeholder (not loaded plugin)

    VMW_SATP_INV VMW_PSP_FIXED placeholder (not loaded plugin)

    VMW_SATP_EVA VMW_PSP_FIXED placeholder (not loaded plugin)

    VMW_SATP_ALUA_CX VMW_PSP_RR placeholder (not loaded plugin)

    VMW_SATP_SYMM VMW_PSP_RR placeholder (not loaded plugin)

    VMW_SATP_CX VMW_PSP_MRU placeholder (not loaded plugin)

    VMW_SATP_LSI VMW_PSP_MRU placeholder (not loaded plugin)

    Non-specific bays of VMW_SATP_DEFAULT_AA VMW_PSP_FIXED Supports active/active

    VMW_SATP_LOCAL VMW_PSP_FIXED direct support of connected devices

    ************************************************************************************************************************

    Hi friend

    I checked with the storage provider and they confirmed that the storage system (currently no products support midsize or SVC SCSI unmap commands used by space VAAI claim.)

  • ESXI 5.1 "the disc is not thin-provisioned" after copying to the new data store vmdk

    I wanted to create an external backup as a 2nd VM ready-to-run on the 2nd data store.

    I've removed all snapshots, stop the machine virtual and exported the OVF file to a computer, adjusted to the size of the original virtual machine starts in Gparted to update the partition and restart. All very well.

    I then tried to deploy the OVF in the data store alternative (235GB slim, thickness according to the deployment of 250 Wizard). I tried both thick and thin but the error message "cannot deploy the OVF. The operation was cancelled by the user.

    I then manually downloaded the VMDK & OVF file to the 2nd data store and tried to inflate but then received the message "a specified parameter was not correct. The disc isn't thin provisioned. ».

    It seems I have dealing with the same thing, as this is the document here (http://pubs.vmware.com/Release_Notes/en/vsphere/55/vsphere-vcenter-server-55u3-release-notes.html).  However, I have no idea what to do now... and I'm worried because it seems that my backup plan may not work if I can't restore an OVF/VMDK from a disk of visas.

    The solution to the first problem here: https://communities.vmware.com/message/2172950#2172950 that solved my problem 2nd too.

  • New features of Clustering Option VM and Thin Provisioning

    First time post here thank you for patience. I have ESXI 4.1 Essentials Plus, which allows me to have a HA. When I create a new virtual machine he asks me if I want to:

    "Take features of Clustering such as FT.

    This option needs to be checked for HA to work? I want to provision thin, but not at the cost of losing HA.

    No need to enable support for HA FT to work. Also your vSphere edition does not FT.

    Simply select thin provisioned disks and you.

  • Question about thin provisioned disks

    I did some searching but can't find specific answers, I need and I apologize in advance if these questions are public knowledge. I know also my setup is very small compared to most houses VMWare normally using these forums, but we are moving slowly in the 2nd Decade of the 21st century (or try).

    I have a new install ESXi 5 and move during one ESX3 host that has about a dozen of VMs on it.  I recently built vCenter host servers and my future view connection server.  I'm kind to vCenter again as my previous installation of ESX 3 was a single server and us were not investing in the vCenter at the time option (missed a lot of features and ease of upgrade during this transition, but 20/20 declining).  I'm a little green in using vCenter so take pitty on my ignorance.

    It's more time than I wanted to and I just want to know the best way to change these 2 servers (recently built and configured systems Win 2008 R2) to thin provisioned disks.  I need to keep all the storage space I can and beyond the obvious problem of being able to provide more space than you physically, I have no problem to do so (in addition to get them changed).  If there are negatives I'm missing, please report them to me.  The possiblities that I see are:

    The clone and thin provision then delete the originals.

    Use the stand-alone converter on them (from above).

    Completely rebuild thin provisioned with disks.

    If someone can give me a quick list of possible problems and pitfalls for these opportunities or to get to a better suggestion, please do so and thanks in advance.

    Manual of Clark

    PRIMOS Inc.

    Since you have storage vMotion the clone or standalone VMware converter are both viable options.   Not sure about the disadvantages of these options.

    You didn't say what kind of server it is, but I'm always careful about the cloning of the domain controllers.   Without the option for storage vmotion I rebuild a DC from scratch.

    Post edited by: mittim12

  • Default MARVIN and Thin Provisioning storage policy

    Hello

    When you use the default storage of MARVIN to vSAN on our new Evo strategy, it seems that all VMs are thick provisioned, not thin.

    My question is, why has it chosen default thick provisioning provisioning method for the storage of MARVIN policy? My understanding of vSAN vanilla is that a provisioning is the default value. I plan to create a new storage for provisioning strategy, but first of all, I would like to understand if thick is preferred on the Evo and, if so, why?

    Thanks in advance.

    It's quite strange - because by default in Evo must be a provisioning is not thick...

    The Evo has to ship to the QEP with the same default values as VSAN. As the team of VSANS, we would recommend thin provisioning...

    Can you confirm that the policy is set to thick. Maybe a screenshot of the policy upgrade...?

    This could be a factory error, or maybe a change not verified by a rogue administrator?

    Can I ask who is the partner of QEP. It may be useful if you send (using posts here) what is Device Evo... (you'll find this under 'health' in the user interface of Evo, next to the health of system - ID is probably something like MAR12345604...

    Kind regards

    Mike

  • Models of thin provision

    Looking to change my form of models thick to thin provisioned disks. The benefits are that they occupy less space and faster deployment.

    I have Win3K3 and Win3K8 models. Models have been created initially with ESX 3.5 so that they always have hardware virtual version 4. We

    are in the process of upgrading our ESX hosts to version 4.0 U1. Our virtual Center is already updated to version 4.0 U1. No downside to

    do this?

    Mike

    It is actually better to store your models as thin and then convert them into thickness during deployment.   They will use less space on the LUN model and should deploy more quickly.

    -MattG

    If you find this information useful, please give points to "correct" or "useful".

  • Thin Provisioning not reduce size of backup

    I use ghettoVCB to save some of my virtual machines. I changed some of these virtual machines to use a provisioning in an attempt to reduce the size of backup. When I browse my store of data using vSphere Client, I see that the thin provisioned disks take less space. However, when I go back to a NFS store on a Windows Server 2008 R2, backup sizes are the same as they were when I used thick provisioning. Is this normal on a Windows NFS share? I did specify a provisioning for ghettoVCB.

    I ran sdelete and VMWare Converter to try to reduce the disks; This decreases the size of the disk that I see in the browser to store data, but the size of the backups on the NFS share was always the same.

    I don't have access to an NFS server ATM, but tests on a ZFS volume w/de-dupe that is exported outside like NFS, I can confirm that on the host ESX virtual machine appears as thin provisioned and when you do ls - lha on the VMDK is 8 GB and not 0 GB, but when you look at the free data store no space has been consumed during the creation of this new virtual machine. It all depends on your server and it is the configuration of NFS, I agree with RParker, you'll want to enable deduplication on your NFS server if it is supported. Put into operation end is handled differently on the NFS Server vs on VMFS volume and it dictated by the server NFS itself on how it is configured to manage a provisioning.

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • Question of thin provision

    I'm new to ESXi so I hope that this question has not been answered before but I couldn't find anything about it.  I have a box of ESXi 4 with some VMS with placed disks in service purposes.  When I look into the virtual computers tab of the used space on some of them is presented as a couple KB.  I know it must be less than the space put into service and that's the whole idea of Thin Provisioning, but this tab does not appear to take into account what the VM actually uses, because it appears only a few KB.  What is the problem?

    Ben

    Hello

    for example, you can update (click on refresh word/link) in the summary of the VM tab.

    Also, you can do the same thing in the tab displaying data warehouses.

    A saludo/best regards,.

    Pablo

    Please consider providing any useful answer. Thank you!! - Por favor considered premiar las useful responses. MUCHAS gracias!

  • Thin Provisioning Server NFS

    Hello

    I installed NFS server (Debian) for my ESXi4 server and I would thin provisioning on this NFS server.

    But when I create a new virtual machine, there is a message telling me that the allocation policy will be determined by the NFS server.

    At the moment all my VMS I create on this server NFS is 'thick', so I would like to know how I can configure the NFS server to allow "thin" commissioning."

    Kind regards

    WB

    Hello

    Have you tried to use the option - sparse (or - S) flag to rsync? This should take care of thin configured files. A svmotion the VM after rsyncing should also work.

    I hope that helps!

    ===

    If you find this information useful, please give points to "correct" or "useful".

Maybe you are looking for

  • Why screensaver not happening automatically?

    My Macbook OS 10.11 screensaver does not start automatically even if I put the screen turns off after 15 min. when plugged.  I want it to start automatically when the screen turns off.  Thanks for any information! Here are my current settings SysPref

  • Smart touch 610-1010UK Office: flickering screen on Touchsmart 610

    During the evening of 11/11/15 the flickering screen started. The mouse moves the cursor, but nothing does. F1, F8, F10, and F11 repeatedly pressed when starting up do not appear all the screens.  I see others have screen similar flicker. Help would

  • increment of voltage

    Hello world I have a question I think that it is really easy to solve, but I can't find a way to do this. I need to apply a voltage across a sample. I would like to increase this voltage of 100V every 30 s. For the moment, just trying to find a simpl

  • problem of wag54g2

    Hello Sorry for the very poor English. 1 - when the computer is turned off my wireless devices to find the network name, but I can't connect to the modem and internet (pppoe mode, power/LAN/internet, Wi - Fi /) lights are turned on) when the computer

  • Windows 7 x 64 driver for DesktJet 5740

    Two options for installation are not possible in our business environment, can someone please provide me with a driver for this model? First of all, we have a confined environment, so Windows Update is disabled on all computers. Secondly, our proxy p