Re: F15 ext3, eCryptfs + samba = data corruption (Re: F15 "Error mounting eCryptfs: [-5] Input/output error" on different disks)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/07/11 21:25, Michał Piotrowski wrote:
> W dniu 5 lipca 2011 21:13 użytkownik nodata<lsof@xxxxxxxxxxxx>  napisał:
>> On 05/07/11 21:11, Michał Piotrowski wrote:
>>> Hi,
>>>
>>> W dniu 16 czerwca 2011 21:37 użytkownik Michał Piotrowski
>>> <mkkp4x4@xxxxxxxxx>    napisał:
>>>> Hi,
>>>>
>>>> Do anyone noticed any problems with mounting eCryptfs recently on F15?
>>>> It seems to me unlikely that I have an I/O errors on few disks.
>>>> Especially if only eCryptfs reports them.
>>>>
>>>
>>> I've got two dirs
>>>
>>> /home/s1 - ext3
>>> /home/s2 - ext3 + eCryptfs
>>>
>>> If I copy a file from my laptop to /home/s1 it has md5 sum
>>> c7da3acc8e85f64661b49b9788771bf6
>>> when I copy this file from shell to /home/s2 it has the same md5 sum
>>> c7da3acc8e85f64661b49b9788771bf6
>>>
>>> If I copy the same file from my laptop to /home/s2 I get a strange error
>>> in Total commander "please remove the write protection" - TC's progress bar
>>> doesn't show any progress - after copying file has correct size, but
>>> it's totally
>>> broken - md5 sum
>>> f26767c3aed2f6e639ddb9ad6601daaf
>>>
>>> Does anyone have any idea what could be wrong? I guess that data corruption
>>> problem is related to this strange "Error mounting eCryptfs: [-5]
>>> Input/output error"
>>> message.
>>>
>>>
>>
>> Check dmesg,
>
> nothing here
>
>> your the logs
>
> Some samba problem
>
> Jul  5 21:21:21 ozzy smbd[6939]: [2011/07/05 21:21:21.750117,  0]
> lib/util_sock.c:1514(matchname)
> Jul  5 21:21:21 ozzy smbd[6939]:   matchname: host name/address
> mismatch: ::ffff:192.168.101.100 != dio
> Jul  5 21:21:21 ozzy smbd[6939]: [2011/07/05 21:21:21.751328,  0]
> lib/util_sock.c:1635(get_peer_name)
> Jul  5 21:21:21 ozzy smbd[6939]:   Matchname failed on dio
> ::ffff:192.168.101.100
> Jul  5 21:21:30 ozzy smbd[4815]: [2011/07/05 21:21:30.603368,  0]
> lib/util_sock.c:680(write_data)
> Jul  5 21:21:30 ozzy smbd[4815]: [2011/07/05 21:21:30.604101,  0]
> lib/util_sock.c:1441(get_peer_addr_internal)
> Jul  5 21:21:30 ozzy smbd[4815]:   getpeername failed. Error was Drugi
> koniec nie jest połączony
> Jul  5 21:21:30 ozzy smbd[4815]:   write_data: write failure in
> writing to client 0.0.0.0. Error Przerwany potok
> Jul  5 21:21:30 ozzy smbd[4815]: [2011/07/05 21:21:30.607351,  0]
> smbd/process.c:79(srv_send_smb)
> Jul  5 21:21:30 ozzy smbd[4815]:   Error writing 62 bytes to client.
> -1. (Drugi koniec nie jest połączony)
> Jul  5 21:21:30 ozzy smbd[4815]: [2011/07/05 21:21:30.608346,  0]
> lib/util_sock.c:680(write_data)
> Jul  5 21:21:30 ozzy smbd[4815]: [2011/07/05 21:21:30.608883,  0]
> lib/util_sock.c:1441(get_peer_addr_internal)
> Jul  5 21:21:30 ozzy smbd[4815]:   getpeername failed. Error was Drugi
> koniec nie jest połączony
> Jul  5 21:21:30 ozzy smbd[4815]:   write_data: write failure in
> writing to client 0.0.0.0. Error Przerwany potok
> Jul  5 21:21:30 ozzy smbd[4815]: [2011/07/05 21:21:30.610048,  0]
> smbd/process.c:79(srv_send_smb)
> Jul  5 21:21:30 ozzy smbd[4815]:   Error writing 55 bytes to client.
> -1. (Drugi koniec nie jest połączony)
> Jul  5 21:21:30 ozzy smbd[4815]: [2011/07/05 21:21:30.612862,  0]
> lib/util_sock.c:680(write_data)
> Jul  5 21:21:30 ozzy smbd[4815]: [2011/07/05 21:21:30.613797,  0]
> lib/util_sock.c:1441(get_peer_addr_internal)
> Jul  5 21:21:30 ozzy smbd[4815]:   getpeername failed. Error was Drugi
> koniec nie jest połączony
> Jul  5 21:21:30 ozzy smbd[4815]:   write_data: write failure in
> writing to client 0.0.0.0. Error Przerwany potok
> Jul  5 21:21:30 ozzy smbd[4815]: [2011/07/05 21:21:30.615032,  0]
> smbd/process.c:79(srv_send_smb)
> Jul  5 21:21:30 ozzy smbd[4815]:   Error writing 53 bytes to client.
> -1. (Drugi koniec nie jest połączony)
> Jul  5 21:21:30 ozzy smbd[4815]: [2011/07/05 21:21:30.616071,  0]
> lib/util_sock.c:680(write_data)
> Jul  5 21:21:30 ozzy smbd[4815]: [2011/07/05 21:21:30.616580,  0]
> lib/util_sock.c:1441(get_peer_addr_internal)
> Jul  5 21:21:30 ozzy smbd[4815]:   getpeername failed. Error was Drugi
> koniec nie jest połączony
> Jul  5 21:21:30 ozzy smbd[4815]:   write_data: write failure in
> writing to client 0.0.0.0. Error Przerwany potok
> Jul  5 21:21:30 ozzy smbd[4815]: [2011/07/05 21:21:30.617768,  0]
> smbd/process.c:79(srv_send_smb)
> Jul  5 21:21:30 ozzy smbd[4815]:   Error writing 75 bytes to client.
> -1. (Drugi koniec nie jest połączony)
> Jul  5 21:21:30 ozzy smbd[4815]: [2011/07/05 21:21:30.619713,  0]
> lib/util_sock.c:680(write_data)
> Jul  5 21:21:30 ozzy smbd[4815]: [2011/07/05 21:21:30.620268,  0]
> lib/util_sock.c:1441(get_peer_addr_internal)
> Jul  5 21:21:30 ozzy smbd[4815]:   getpeername failed. Error was Drugi
> koniec nie jest połączony
> Jul  5 21:21:30 ozzy smbd[4815]:   write_data: write failure in
> writing to client 0.0.0.0. Error Przerwany potok
> Jul  5 21:21:30 ozzy smbd[4815]: [2011/07/05 21:21:30.621454,  0]
> smbd/process.c:79(srv_send_smb)
> Jul  5 21:21:30 ozzy smbd[4815]:   Error writing 75 bytes to client.
> -1. (Drugi koniec nie jest połączony)
> Jul  5 21:21:33 ozzy smartd[558]: Device: /dev/sdd [SAT], is back in
> ACTIVE or IDLE mode, resuming checks (7 checks skipped)
>
>
>> and the file sizes.
>
> File size is correct
>
>> selinux perhaps?
>
> disabled
>
>
>
> What is perhaps important is that the problem appears for files>  +/- 1GB.
>

What happens if you strace total commander as it writes?
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux