VMware Cloud Community
xNestoriusx
Contributor
Contributor
Jump to solution

ESXi 5.1 VM Clone with SSH

Hi;

I have had veeam error message "Snapshot Hierarchy is too deep" error. I decided clone my virtual machine. But i cannot install vcenter because of insufficent infrastructure and I decided to use SSH commands.

When I use these commands : vmkfstools -i vmfs/volumes/mydatastore/myvirtualmachinefoldername/my.vmdk vmfs/volumes/mydatastore/newmachinefoldername/new.vmdk -d thin

have error : DiskLib_Check() failed for source disk The system cannot find the file specified (25).

So. What is my problem or wrong in this situation, please advise me. Thanks...

Reply
0 Kudos
1 Solution

Accepted Solutions
Rubeck
Virtuoso
Virtuoso
Jump to solution

When I use these commands : vmkfstools -i vmfs/volumes/mydatastore/myvirtualmachinefoldername/my.vmdk vmfs/volumes/mydatastore/newmachinefoldername/new.vmdk -d thin

Unless your working directory from where you execute this command is /, you would need a "/" in front of the paths....  so try:

"vmkfstools -i /vmfs/volumes/mydatastore/myvirtualmachinefoldername/my.vmdk /vmfs/volumes/mydatastore/newmachinefoldername/new.vmdk -d thin"

/Rubeck

View solution in original post

Reply
0 Kudos
4 Replies
Rubeck
Virtuoso
Virtuoso
Jump to solution

When I use these commands : vmkfstools -i vmfs/volumes/mydatastore/myvirtualmachinefoldername/my.vmdk vmfs/volumes/mydatastore/newmachinefoldername/new.vmdk -d thin

Unless your working directory from where you execute this command is /, you would need a "/" in front of the paths....  so try:

"vmkfstools -i /vmfs/volumes/mydatastore/myvirtualmachinefoldername/my.vmdk /vmfs/volumes/mydatastore/newmachinefoldername/new.vmdk -d thin"

/Rubeck

Reply
0 Kudos
xNestoriusx
Contributor
Contributor
Jump to solution

Thanks a lot Rubeck, It's done !!!

Reply
0 Kudos
Rubeck
Virtuoso
Virtuoso
Jump to solution

Excellent, and you're welcome :slightly_smiling_face:

/Rubeck

Reply
0 Kudos
xNestoriusx
Contributor
Contributor
Jump to solution

By the way. I have an additional little question Smiley Happy

I have many .vmdk files in this machine. (anyway i have an error "Snapshot Hierarchy is too deep")  well, which

.vmdk files have I must clone (for example my first vmdk, name.vmdk is 5 GB, name000001.vmdk is 10GB). I don't want to lost any data. Thanks again...

Reply
0 Kudos