Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error. Freezing during copying via sftp #10

Open
evgenekov opened this issue Sep 6, 2017 · 0 comments
Open

Error. Freezing during copying via sftp #10

evgenekov opened this issue Sep 6, 2017 · 0 comments

Comments

@evgenekov
Copy link

If you start copying from the gphotofs mounted directory (/ mnt / foto) via sftp (WinSCP), then the process will be frozen. Here is the log:

gphotofs -d /mnt/foto/
FUSE library version: 2.9.7
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.23
flags=0x0003fffb
max_readahead=0x00020000
   INIT: 7.19
   flags=0x00000010
   max_readahead=0x00020000
   max_write=0x00020000
   max_background=0
   congestion_threshold=0
   unique: 1, success, outsize: 40
unique: 2, opcode: LOOKUP (1), nodeid: 1, insize: 55, pid: 8211
LOOKUP /store_00010001
getattr /store_00010001
   NODEID: 2
   unique: 2, success, outsize: 144
unique: 3, opcode: LOOKUP (1), nodeid: 2, insize: 45, pid: 8211
LOOKUP /store_00010001/DCIM
getattr /store_00010001/DCIM
   NODEID: 3
   unique: 3, success, outsize: 144
unique: 4, opcode: LOOKUP (1), nodeid: 3, insize: 49, pid: 8211
LOOKUP /store_00010001/DCIM/141D800E
getattr /store_00010001/DCIM/141D800E
   NODEID: 4
   unique: 4, success, outsize: 144
unique: 5, opcode: LOOKUP (1), nodeid: 4, insize: 53, pid: 8211
LOOKUP /store_00010001/DCIM/141D800E/DSC_7052.JPG
getattr /store_00010001/DCIM/141D800E/DSC_7052.JPG
   NODEID: 5
   unique: 5, success, outsize: 144
unique: 6, opcode: OPEN (14), nodeid: 5, insize: 48, pid: 8211
open flags: 0x8000 /store_00010001/DCIM/141D800E/DSC_7052.JPG
   open[0] flags: 0x8000 /store_00010001/DCIM/141D800E/DSC_7052.JPG
   unique: 6, success, outsize: 32
unique: 7, opcode: READ (15), nodeid: 5, insize: 80, pid: 8211
read[0] 65536 bytes from 0 flags: 0x8000
   read[0] 65536 bytes from 0
   unique: 7, success, outsize: 65552
unique: 8, opcode: READ (15), nodeid: 5, insize: 80, pid: 8211
read[0] 131072 bytes from 65536 flags: 0x8000
   read[0] 131072 bytes from 65536
   unique: 8, success, outsize: 131088
unique: 9, opcode: READ (15), nodeid: 5, insize: 80, pid: 8211
read[0] 131072 bytes from 196608 flags: 0x8000
   read[0] 131072 bytes from 196608
   unique: 9, success, outsize: 131088
unique: 10, opcode: READ (15), nodeid: 5, insize: 80, pid: 8211
read[0] 131072 bytes from 327680 flags: 0x8000
   read[0] 131072 bytes from 327680
   unique: 10, success, outsize: 131088
...
unique: 150, opcode: READ (15), nodeid: 5, insize: 80, pid: 8211
read[0] 131072 bytes from 18677760 flags: 0x8000
   read[0] 131072 bytes from 18677760
   unique: 150, success, outsize: 131088
unique: 151, opcode: READ (15), nodeid: 5, insize: 80, pid: 8211
read[0] 131072 bytes from 18808832 flags: 0x8000
   read[0] 131072 bytes from 18808832
   unique: 151, success, outsize: 131088
unique: 152, opcode: READ (15), nodeid: 5, insize: 80, pid: 8211
read[0] 65536 bytes from 18939904 flags: 0x8000
   read[0] 62600 bytes from 18939904
   unique: 152, success, outsize: 62616
unique: 153, opcode: GETATTR (3), nodeid: 5, insize: 56, pid: 8211
getattr /store_00010001/DCIM/141D800E/DSC_7052.JPG
   unique: 153, success, outsize: 120
unique: 154, opcode: READ (15), nodeid: 5, insize: 80, pid: 8211
read[0] 4096 bytes from 19021824 flags: 0x8000

<here lock>

   read[0] 0 bytes from 19021824
   unique: 154, success, outsize: 16
unique: 155, opcode: FLUSH (25), nodeid: 5, insize: 64, pid: 8211
flush[0]

But the file was not copied to the end!

lsusb:

Bus 002 Device 007: ID 04b0:042e Nikon Corp.

If to copy with cp, it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant