-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
While trying to write files from a CIFS mount to a USB drive, I get I/O Errors on the majority of files.
~ $ attic init /tmp/test
Initializing repository at "/tmp/test"
Encryption NOT enabled.
Use the "--encryption=passphrase|keyfile" to enable encryption.
~ $ attic create /tmp/test::1 /media/dozer/photo/Phil/2014/140525\ -\ Hillcrest\ Station\ Opening/
Initializing cache...
attic: /media/dozer/photo/Phil/2014/140525 - Hillcrest Station Opening/DSC_0258.JPG: [Errno 5] Input/output error
ttic: /media/dozer/photo/Phil/2014/140525 - Hillcrest Station Opening/DSC_0259.JPG: [Errno 5] Input/output error
attic: /media/dozer/photo/Phil/2014/140525 - Hillcrest Station Opening/DSC_0260.JPG: [Errno 5] Input/output error
attic: Exiting with failure status due to previous errors
Those files are NOT added to the archive:
~ $ attic list /tmp/test
1 Sat Jul 26 22:48:38 2014
~ $ attic list /tmp/test::1
drwxrwxrwx fukawi2 fukawi2 0 May 26 19:00 media/dozer/photo/Phil/2014/140525 - Hillcrest Station Opening
-rwxrwxrwx fukawi2 fukawi2 5261846 May 25 13:16 media/dozer/photo/Phil/2014/140525 - Hillcrest Station Opening/DSC_0262.JPG
There is nothing wrong with the files -- I can open/edit them just fine using other tools:
~ $ tar cvPWf /tmp/test.tar /media/dozer/photo/Phil/2014/140525\ -\ Hillcrest\ Station\ Opening/
/media/dozer/photo/Phil/2014/140525 - Hillcrest Station Opening/
/media/dozer/photo/Phil/2014/140525 - Hillcrest Station Opening/DSC_0258.JPG
/media/dozer/photo/Phil/2014/140525 - Hillcrest Station Opening/DSC_0259.JPG
/media/dozer/photo/Phil/2014/140525 - Hillcrest Station Opening/DSC_0260.JPG
/media/dozer/photo/Phil/2014/140525 - Hillcrest Station Opening/DSC_0262.JPG
Verify /media/dozer/photo/Phil/2014/140525 - Hillcrest Station Opening/
Verify /media/dozer/photo/Phil/2014/140525 - Hillcrest Station Opening/DSC_0258.JPG
Verify /media/dozer/photo/Phil/2014/140525 - Hillcrest Station Opening/DSC_0259.JPG
Verify /media/dozer/photo/Phil/2014/140525 - Hillcrest Station Opening/DSC_0260.JPG
Verify /media/dozer/photo/Phil/2014/140525 - Hillcrest Station Opening/DSC_0262.JPG
The CIFS mount is a Synology NAS, mounted with these options:
//dozer/shared on /media/dozer/ type cifs (rw,relatime,vers=1.0,cache=strict,username=fukawi2,domain=DOZER,uid=1537,forceuid,gid=1537,forcegid,addr=2001:db8::1,unix,posixpaths,serverino,acl,rsize=1048576,wsize=1048576,actimeo=1)
(IPv6 address sanitized)
A strace on the process shows that it seems to be aborting through a read() call, but given tar (with verify) works fine I'm not sure what is being done differently.
Metadata
Metadata
Assignees
Labels
No labels