VMware Cloud Community
SistemasUva
Contributor
Contributor

Update-VmfsDatastore powercli don´t work

Morning. I am updating my datastore with powercli towards Update-VmfsDatastore -Datastore $Source -TemporaryDatastore $Temp -TargetVmfsVersion "6" -server $Server and suddenly ask for New item and is not able to find the right path.. any help will be welcome.. Thx in advance.

Buenos días, estoy intentando actualizar mis datastore de la versión 5.82 a la versión 6 a través de Powercli con el procedimiento recomendado por Vmware.

El comando que lanzo es Update-VmfsDatastore -Datastore $Source -TemporaryDatastore $Temp -TargetVmfsVersion "6" -server $Server

Y me lanza una especie de error como que no encuentra los logs.. he abierto incidencia con Vmware y cómo es Powercli, pues no entra en el soporte básico. Alguién le ha pasado?

New-Item : No se encuentra la unidad. No existe ninguna unidad con el nombre 'log_folder_virtual.cpd.xx.es_A8-HUS130'.

En C:\Program Files\WindowsPowerShell\Modules\VMware.VimAutomation.StorageUtility\1.3.0.0\StorageUtility.psm1: 929

Carácter: 7

+ New-Item -ItemType directory -Path $variableFolder | Out-Null

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : ObjectNotFound: (log_folder_virtual.cpd.xx.es_A8-HUS130:String) [New-Item], DriveNotFou

ndException

+ FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.NewItemCommand

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

Fernando Tamariz

Specialist/Staff

UVA

Valladolid

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

0 Kudos
1 Reply
LucD
Leadership
Leadership

The function tries to create a folder (with the name 'log_folder_virtual.cpd.xx.es_A8-HUS130') in your current location.

What is your current location? What does the PS prompt show? From where do you call the function?

Do you have the correct permissions to create a folder there?

The Update-VmfsDatastore function will create logs of the update process in that folder.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos