File corruption with CIFS?

Status
Not open for further replies.

Narann

Dabbler
Joined
Jun 3, 2012
Messages
11
Hi FreeNAS community.

I always have file corruption with CIFS. :(

Almost 1/10 of copied files became corrupt... (I've moved all my personal photos. You can't imagine how I'm sad... Seriously).

There is an example of corrupted jpg:



I have problems with every kind of files but it's very visible on jpeg.

The fact is there is no problem at all with NFS Share. So I need to store files I want to move in local, boot on Linux and do the copy...

That's why I think it's CIFS related. No problem with NFS. Has if CIFS lost some data packs...

There is no way to check data pack integrity? To avoid this kind of problem?

Could it be related to this bug?: https://bugzilla.samba.org/show_bug.cgi?id=8559

Please, help, I'm very sad from this situation... :(


My Freenas informations:

FreeNAS-8.2.0-RELEASE-p1-x64 (r11950) (I had this problem on the 8.0.3 too).

Raid in mirroring (Strange that the path is actually: /mnt/Raid0 and not /mnt/Raid1...).

Windows (CIFS) Shares:

Export Read Only: FALSE
Browsable to Network Clients: TRUE
Inherit Owner: FALSE
Inherit Permissions: FALSE
Export Recycle Bin: TRUE
Show Hidden Files: TRUE
Allow Guest Access: TRUE
Only Allow Guest Access: TRUE

CIFS Service options:

Authentication Model: Local User
DOS charset: CP437
UNIX charset: UTF-8
Local Master: TRUE
Time Server for Domain: TRUE
Guest Account: nobody
File mask: (nothing)
Directory mask: (nothing)
Large RW support: TRUE
Send files with sendfile(2): TRUE
EA Support: FALSE
Support DOS File Attributes: TRUE
Allow Empty Password: FALSE
Auxiliary parameters: (nothing)
Enable home directories: FALSE
Enable home directories browsing: FALSE
Home directories: (nothing)
Homes auxiliary parameters: (nothing)
Unix Extensions: TRUE
Enable AIO: TRUE
Minimum AIO read size: 4096
Minimum AIO write size: 4096
Zeroconf share discovery: FALSE

Don't hesitate to tell me if I've forget some informations. I really would like to solve this problem.

Have a good day and I hope you will be luckiest than me with FreeNAS...

PS: If any of you have any software that could help me to repair my poor jpeg files, don't hesitate too! :(
 

Narann

Dabbler
Joined
Jun 3, 2012
Messages
11
After some investigations, I've first think it was my network card or my switch but I have more and more the impression this is related to my Avast antivirus. I've desactivated it and it doesn't seems to create corrupt file anymore (I use a python script to test data integrity between two files).
 
Status
Not open for further replies.
Top