ESXi

 View Only
  • 1.  [ESXCLI] Creating new folder on datastore

    Posted Jan 17, 2012 01:44 PM

    Hello All,


    I have a problem with ESXCLI package. The issue seems to be simple, because need to create new folder on datastore..

    But when I try to use:

    vifs --server servername --username usrname --password pass --mkdir '[datastore] newFolderName' -Z 'datacenter'

    (I am not sure if -Z parameter is necessary)

    I have error: Unable to create directory [datastore] newFolderName

    The comment works good when i use it directly on ESX, but I need to create the folder via vCenter.

    Do you have any idea ?

    Thank in advance for your help

    Regards,

    Radek



  • 2.  RE: [ESXCLI] Creating new folder on datastore

    Posted Jan 17, 2012 03:27 PM

    I may not be completely understanding your question. If you have access to vCenter why not perform this via Home>Datastores Browse the datastore and create new folder?



  • 3.  RE: [ESXCLI] Creating new folder on datastore

    Posted Jan 18, 2012 06:15 AM

    A wrote that I have to connect and do it via ESXCLI package.