lkml.org 
[lkml]   [2003]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: PROBLEM: Corrupt files with kernel 2.6.0_test11 and smb mounts
Date
> [1.] One line summary of the problem:
>
> 2.6.0test11 overwriting file on mounted smb volume causes corrupted files!
>
> [2.] Full description of the problem/report:
>
> When I log into a smb mounted directory and I overwrite a file with
> a file which has smaller amount of bytes its corrupting the data.
>
> Easy way to show this is following:
>
> cd onto a smbfs mounted dir.
>
> ># echo test1234567890 >test.txt
> ># cat test.txt
> test1234567890
> ># echo hi! >test.txt
> ># cat test.txt
> hi!
> 1234567890
> >#
>
> As you can see the file is not overwritten as it should be.
>

Ookhoi reported the same Problem with 2.6.0_test9 in the Samba Group:
http://lists.samba.org/archive/samba-technical/2003-November/032847.html

This could also be a Memorymanagement problem because the filesystem is
always breaking the last block, which is handled different to the other
blocks.

Daniel


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.737 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site