akhlamov
Contributor
Contributor

Operation not permitted when I try to clone .vmdk file

Jump to solution

Hello everyone.

I try to clone .vmdk file by vmkfstools, but I see an error:

vmkfstools -i /vmfs/volumes/datastore_hdd/base/base.vmdk -d rdm:/vmfs/devices/disks/vml.01000000004333363434383431323820202020202020202020545331323847:3 /vmfs/volumes/datastore1/test/test.vmdk
Destination disk format: raw disk mapping to '/vmfs/devices/disks/vml.01000000004333363434383431323820202020202020202020545331323847:3'
Cloning disk '/vmfs/volumes/datastore_hdd/base/base.vmdk'...
Failed to clone disk: Operation not permitted (65545).

How can I avoid this error?

Thanks!

0 Kudos
1 Solution

Accepted Solutions
kastlr
Expert
Expert

Hi,

rdm would require access to the whole disk and not to a partition created on that disk.

vmkfstools -i /vmfs/volumes/datastore_hdd/base/base.vmdk -d rdm:/vmfs/devices/disks/vml.01000000004333363434383431323820202020202020202020545331323847:3 /vmfs/volumes/datastore1/test/test.vmdk



Hope this helps a bit.
Greetings from Germany. (CET)

View solution in original post

2 Replies
kastlr
Expert
Expert

Hi,

rdm would require access to the whole disk and not to a partition created on that disk.

vmkfstools -i /vmfs/volumes/datastore_hdd/base/base.vmdk -d rdm:/vmfs/devices/disks/vml.01000000004333363434383431323820202020202020202020545331323847:3 /vmfs/volumes/datastore1/test/test.vmdk



Hope this helps a bit.
Greetings from Germany. (CET)
akhlamov
Contributor
Contributor

Thanks a lot! It works

0 Kudos