From: Jon <jro...@ya...> - 2016-07-24 06:34:55
|
I am using avfs 1.0.3 with fuse 2.9.7. I am trying to read from a zip file and I am getting an error: cp: cannot open ‘/images/5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip/0/8/0_0.jpg' for reading: Invalid argument My zip file is zip64. It is a 3.1 gig file with ~450k entries. There is no compression in the zip. I can list files within the zip file without a problem but as soon as I try to copy a file out of the zip file I get the error above. I am using debian jessie with fuse and avfs compiled from source. This is all done inside a docker container. I am running avfsd with the following options: avfsd -o modules=subdir -o subdir=/tpz -o rellinks -o allow_other -d -f /images Here is the debug output when I list a file within the zip file: unique: 32, opcode: LOOKUP (1), nodeid: 1, insize: 77, pid: 3110 LOOKUP /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b getattr /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b NODEID: 2 unique: 32, success, outsize: 144 unique: 33, opcode: LOOKUP (1), nodeid: 2, insize: 92, pid: 3110 LOOKUP /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip getattr /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip NODEID: 3 unique: 33, success, outsize: 144 unique: 34, opcode: LOOKUP (1), nodeid: 3, insize: 42, pid: 3110 LOOKUP /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip/0 getattr /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip/0 NODEID: 4 unique: 34, success, outsize: 144 unique: 35, opcode: LOOKUP (1), nodeid: 4, insize: 42, pid: 3110 LOOKUP /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip/0/8 getattr /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip/0/8 NODEID: 5 unique: 35, success, outsize: 144 unique: 36, opcode: LOOKUP (1), nodeid: 5, insize: 48, pid: 3110 LOOKUP /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip/0/8/0_0.jpg getattr /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip/0/8/0_0.jpg NODEID: 6 unique: 36, success, outsize: 144 Here is the debug output when I try to copy a file from the zip file: unique: 37, opcode: LOOKUP (1), nodeid: 1, insize: 77, pid: 3111 LOOKUP /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b getattr /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b NODEID: 2 unique: 37, success, outsize: 144 unique: 38, opcode: LOOKUP (1), nodeid: 2, insize: 92, pid: 3111 LOOKUP /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip getattr /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip NODEID: 3 unique: 38, success, outsize: 144 unique: 39, opcode: LOOKUP (1), nodeid: 3, insize: 42, pid: 3111 LOOKUP /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip/0 getattr /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip/0 NODEID: 4 unique: 39, success, outsize: 144 unique: 40, opcode: LOOKUP (1), nodeid: 4, insize: 42, pid: 3111 LOOKUP /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip/0/8 getattr /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip/0/8 NODEID: 5 unique: 40, success, outsize: 144 unique: 41, opcode: LOOKUP (1), nodeid: 5, insize: 48, pid: 3111 LOOKUP /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip/0/8/0_0.jpg getattr /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip/0/8/0_0.jpg NODEID: 6 unique: 41, success, outsize: 144 unique: 42, opcode: OPEN (14), nodeid: 6, insize: 48, pid: 3111 open flags: 0x8000 /5a3f15ff-e4db-4d26-9df5-73f0dbb6362b/d165ee23-a229-44e4-9f8d-286f0a11695e_tiles.tpz#uzip/0/8/0_0.jpg unique: 42, error: -22 (Invalid argument), outsize: 16 Any idea what is going on? Jon |