[Bug 491288] Re: File corruption after copying files via samba from Karmic to Karmic

Raptor 2101 raptor2101 at gmx.de
Tue Jan 12 22:25:30 GMT 2010


Since "smbfs (2:3.4.0-3ubuntu5)" i experience same problems. I've
mounted my homedirs via CIFS. All works fine (servernio to get KDE-apps
working). After this update i noticed some "extrem" file errors while
using Opera (HD-Cache enabled) and Firefox. Trying to download something
always causes a damaged file. Every large file (> 500kb) results in a
damaged file.

If i switch from servernio to directio. Firefox and Opera works fine,
now javaws, skype and some other apps craches cause of file corruption.

But copying files from or to some "normal" mounts works perfectly.

smb.conf
>>[homes]
>>   comment = Home Directories
>>   browseable = yes
>>   writeable = yes
>>   available = yes
>>   guest ok = no
>>
>> [Media]
>>   path = /storage/Media
>>   comment = Mediensammlung
>>   nt acl support = yes
>>   browsable = yes
>>   writeable = yes
>>   available = yes
>>   guest ok = no
>>   inherit permissions = yes
>>   hide dot files = yes

mounting via pam_mount

>><volume user="*" fstype="cifs" server="<serverip>" path="%(USER)"   mountpoint="/home/%(USER)"  options="rw,hard,iocharset=utf8,serverino"/>
>><volume user="*" fstype="cifs" server="<serverip>" path="media"     mountpoint="/mnt/Media"     options="rw,hard,iocharset=utf8"/>

/proc/fs/cifs/DebugData
>>Display Internal CIFS Data Structures for Debugging
>>---------------------------------------------------
>>CIFS Version 1.60
>>Active VFS Requests: 790
>>Servers:
>>1) Name: 192.168.99.2  Domain: WORKGROUP Uses: 5 OS: Unix
>>        NOS: Samba 3.4.0        Capability: 0x80f3fd
>>       SMB session status: 1   TCP status: 1
>>        Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
>>        Shares:
>>        1) <Mount1> Mounts: 1 Type: NTFS DevInfo: 0x0 Attributes: 0x1002f PathComponentMax: 255 Status: 0x1 type: 0
>>        2) <Mount2> Mounts: 1 Type: NTFS DevInfo: 0x0 Attributes: 0x1002f PathComponentMax: 255 Status: 0x1 type: 0
>>        3) <Mount3> Mounts: 1 Type: NTFS DevInfo: 0x0 Attributes: 0x1002f PathComponentMax: 255 Status: 0x1 type: 0
>>        4) <Mount4> Mounts: 1 Type: NTFS DevInfo: 0x0 Attributes: 0x1002f PathComponentMax: 255 Status: 0x1 type: 0
>>        5) <Mount5> Mounts: 1 Type: NTFS DevInfo: 0x0 Attributes: 0x1002f PathComponentMax: 255 Status: 0x1 type: 0
>>
>>        MIDs:

dmesg and /var/log/syslog shows nothing interesting even with “echo 3 >
/proc/fs/cifs/cifsFYI”

-- 
File corruption after copying files via samba from Karmic to Karmic
https://bugs.launchpad.net/bugs/491288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list