2

vmrun コマンド ライン ユーティリティを使用して、現在電源がオフになっているワークステーションで VM のクローンを作成しようとしています。

vmrun --help を使用して次のコマンドを使用しています。

$> *vmrun -T ws "path-to-the-.vmx-file-of-the-vm-that-needsto-be-cloned" "path-to-the- directory-where-the-cloned-vm-should-be-created" full -cloneName=NameOfTheClonedVM*

次のエラーが発生し続けます。

Error: The Snapshot already exists

ここで何か不足していますか?

どんな助けでも大歓迎です。

4

1 に答える 1

3

This appears to be very old, but I happened to run into this issue - and find the answer - this evening. The help file means exactly what it says:

vmrun clone "Path to vmx file" "Path to destination vmx file" full|linked [-snapshot=Snapshot Name] [-cloneName=Name]

Like me on my initial attempt, you appear to be only specifying the paths rather than the vmx files.

Try this:

vmrun -T ws clone \path\sourcefile.vmx \path\targetfile.vmx full -cloneName=NameOfTheClonedVM

Updated to add the 'clone' directive in the syntax. Note that for this to work, the VM must be powered-down or the optional snapshot directive must be specified and pointed at a snap of the VM in a powered-down state. With the snapshot directive, it would look something like this:

vmrun -T ws clone \path\sourcefile.vmx \path\targetfile.vmx full -snapshot=snapshot2clone -cloneName=NameOfTheClonedVM
于 2014-11-02T02:58:14.560 に答える