Makio Tsukamoto tumblelogging in the mood of sinkin' in the rain.
vSphere ClientでESXi 5.0 Update1上の仮想マシンにクライアントデバイス(vSphere Clientを起動しているマシンのCD/DVDドライブ)を接続しようとして、以下のようなエラーメッセージが出た。
Could not open the client device "D:". It is being used by another virtual machine or some other program.
VMwareのナレッジに、VMware Workstationについてのものだが以下があった。ナレッジに従って「管理者として実行」または「別のアカウントで実行」としてAdministratorアカウントを指定したところ、有効だった。
To resolve this issue, right-click the shortcut for VMware Workstation and click Run as Administrator to run the software with elevated rights.
(via VMware KB 2033750: Unable to use the local physical CD/DVD drive connected to a Workstation server on a Windows Client)
別解として、コミュニティへの投稿に以下が見つかった。これに沿って、仮想CD/DVDドライブをパススルーIDEからエミュレートIDEに変更したところ、こちらでもクライアントデバイスをマウントすることができた。
Re: Connecting to a cd drive or usb drive problemsRight-click the VM -> Edit Settings -> CD/DVD Drive 1 -> Emulate IDE
(via VMware Communities: Connecting to a cd drive or usb drive…)
前者は利用者に管理者権限を与えることが必要になるし、後者は推奨のパススルーIDEを諦めることになる。どちらを選択するかは、権限管理と性能のどちらの制限を許容できるかによると思う。