VMware Cloud Community
akhlamov
Contributor
Contributor
Jump to solution

Operation not permitted when I try to clone .vmdk file

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!

Reply
0 Kudos
1 Solution

Accepted Solutions
kastlr
Expert
Expert
Jump to solution

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. (CEST)

View solution in original post

2 Replies
kastlr
Expert
Expert
Jump to solution

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. (CEST)
akhlamov
Contributor
Contributor
Jump to solution

Thanks a lot! It works

Reply
0 Kudos