Move-VM コマンド実行時に Unable to access file [Datastore name] のエラーが発生する
search cancel

Move-VM コマンド実行時に Unable to access file [Datastore name] のエラーが発生する

book

Article ID: 413504

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Move-VM コマンドにて、ストレージの移行を行うと Unable to access file のエラーが発生します

PS C:\Users\Administrator> Move-VM -vm [VM Name] -DataStore [Datastore name] -DiskStorageFormat EagerZeroedThick
Move-VM : YYYY/MM/DD HH:MM:SS   Move-VM         The operation for the entity "[VM name]" failed with the following message: "Unab
le to access the virtual machine configuration: Unable to access file [Datastore name]"

 

Environment

PowerCLI 12.x.x
ESXi 7.x
vCenter Server 7.x

Cause

対象の仮想マシンが登録されている ESXi において指定したデータストアへのアクセスができないためにエラーが発生します。

Resolution

対象の仮想マシンが登録されている ESXi において、指定したデータストアへのアクセスを可能にします。
参考: ESXi ホスト上のストレージの再スキャンの実行