Hey folks,
I am going through a very weird behavior with one share opened in Windows 10.
I can write to my share without any issues and speed is maxing out my Gigabit connection, no issues here. I can go through folders, open and read files..
.. except if I'm trying to open an image file (.jpg) using the default Photos app (double-click), the image opens but get truncated in the middle. As a result I see only a portion of the image, truncated in half.
I have the exact same behavior for every pictures, not matter the folder. Explorer ends up frozen if I try to open too much images consecutively.
If I open the Properties of those files, it is very slow to appear, perfectly normal on others.
Permissions look correct.
If I open a .pdf file, I have no issue, the file correctly opens in Adobe Acrobat Reader.
If I try to open the same image in Adobe Photoshop Express, I have no issue.
If I connect to the same share using my macbook, I can open everything without any issues.
Visual example of the image opened in Photos:
http://imgur.com/a/PgTUZ
If I look at samba logs, here is what I see:
As you can see, there are lots of open and close for the exact same file.
I thought of a lock issue so I tried to set oplock off in the samba conf, but it's not working better.
I tried to google this issue, which I'm sure will end up a simple, but without success..
Any ideas someone?
I am going through a very weird behavior with one share opened in Windows 10.
I can write to my share without any issues and speed is maxing out my Gigabit connection, no issues here. I can go through folders, open and read files..
.. except if I'm trying to open an image file (.jpg) using the default Photos app (double-click), the image opens but get truncated in the middle. As a result I see only a portion of the image, truncated in half.
I have the exact same behavior for every pictures, not matter the folder. Explorer ends up frozen if I try to open too much images consecutively.
If I open the Properties of those files, it is very slow to appear, perfectly normal on others.
Permissions look correct.
If I open a .pdf file, I have no issue, the file correctly opens in Adobe Acrobat Reader.
If I try to open the same image in Adobe Photoshop Express, I have no issue.
If I connect to the same share using my macbook, I can open everything without any issues.
Visual example of the image opened in Photos:
http://imgur.com/a/PgTUZ
If I look at samba logs, here is what I see:
Code:
maxx opened file folderXXX/imageXXX.jpg read=No write=No (numopen=8) [2016/12/19 19:40:12.881852, 2] ../source3/smbd/close.c:790(close_normal_file) maxx closed file folderXXX/imageXXX.jpg (numopen=7) NT_STATUS_OK [2016/12/19 19:40:13.195625, 2] ../source3/smbd/open.c:1005(open_file) maxx opened file folderXXX/imageXXX.jpg read=Yes write=No (numopen=8) [2016/12/19 19:40:13.269025, 2] ../source3/smbd/open.c:1005(open_file) maxx opened file folderXXX/imageXXX.jpg read=Yes write=No (numopen=10) [2016/12/19 19:40:13.269646, 2] ../source3/smbd/open.c:1005(open_file) maxx opened file folderXXX/imageXXX.jpg read=Yes write=No (numopen=10) [2016/12/19 19:40:13.282769, 2] ../source3/smbd/close.c:790(close_normal_file) maxx closed file folderXXX/imageXXX.jpg (numopen=9) NT_STATUS_OK [2016/12/19 19:40:18.161180, 2] ../source3/smbd/close.c:790(close_normal_file) maxx closed file folderXXX/desktop.ini (numopen=9) NT_STATUS_OK
As you can see, there are lots of open and close for the exact same file.
I thought of a lock issue so I tried to set oplock off in the samba conf, but it's not working better.
I tried to google this issue, which I'm sure will end up a simple, but without success..
Any ideas someone?