On Wed, Aug 12, 2015 at 1:14 PM, Arseniy Seroka <ars.seroka@xxxxxxxxx> wrote: > Hello! I have a following error. > Doing `scp` from local storage to ceph I'm getting errors in file's > contents. > For example: > ``` > me@kraken:/ceph_storage/lib$ java -jar file.jar > Error: Invalid or corrupt jarfile file.jar > ``` > If I'm checking md5 -> everything is ok. > > Then I'm going to another server > me@poni:/ceph_storage/lib$ java -jar file.jar > Missing required option(s) [e/edges, e/edges, n/nodes, n/nodes] > Option (* = required) Description > --------------------- ----------- > ... > ``` > > After that I'm going to the previous server and everything works. > ``` > me@kraken:/ceph_storage/lib/$ java -jar file.jar > Missing required option(s) [e/edges, e/edges, n/nodes, n/nodes] > Option (* = required) Description > --------------------- ----------- > ... > ``` > > I think that there are problems with mmap read. > Another example: > ``` > me@kraken:/ceph_storage/lib$ dd if=file.jar skip=1330676 bs=1 count=10 | > hexdump -C > 10+0 records in > 10+0 records out > 00000000 00 00 00 00 00 00 00 00 00 00 |..........| > 10 bytes (10 B) copied0000000a > , 0.0149698 s, 0.7 kB/s > me@kraken:/ceph_storage/lib$ head file.jar -c 10 | hexdump -C > 00000000 50 4b 03 04 0a 00 00 08 00 00 |PK........| > 0000000a > ``` Interesting. Are you using the kernel or fuse client (and what version?) John _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com