Hello,

Is it possible to use the rados_clone_range() librados API call with an erasure 
coded pool ? The documentation doesn’t mention it’s not possible. However 
running the clonedata command from the rados utility (which seems to be calling 
radios_clone_range()) gives an error when using a erasuere coded pool :

# rados -p ecpool clonedata file1 file2 --object-locator file1
error cloning ecpool>file1 => ecpool>file2: (95) Operation not supported

Running the same command for a replicated pool works :

# rados -p testpool clonedata file1 file2 --object-locator file1
#

However for this to work both file1 and file2 have to exist which is a bit of a 
surprise. The file created seems to be called file2<tab>file1 which is also a 
surprise. Is it not possible to create a new file with as name the given 
dstname parameter ?

The ceph version is:

ceph version 0.94.1 (e4bfad3a3c51054df7e537a724c8d0bf9be972ff)

Thanks in advance,

Michel
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to