All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ookhoi <ookhoi@humilis.net>
To: Daniel Flinkmann <dflinkmann@gmx.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: Corrupt files with kernel 2.6.0_test11 and smb mounts
Date: Sat, 6 Dec 2003 09:43:05 +0100	[thread overview]
Message-ID: <20031206084305.GB22180@favonius> (raw)
In-Reply-To: <013301c3b801$6c595de0$7727048b@de.uu.net>

Daniel Flinkmann wrote (ao):
> > [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

That should be:
http://lists.samba.org/archive/samba-technical/2003-November/032845.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.

Could this be the answer to the problem?
http://www.ussg.iu.edu/hypermail/linux/kernel/0312.0/0647.html

I don't have access to the setup anymore, but maybe it helps you.

  reply	other threads:[~2003-12-06  8:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-01 11:51 PROBLEM: Corrupt files with kernel 2.6.0_test11 and smb mounts Daniel Flinkmann
2003-12-06  8:43 ` Ookhoi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-03 19:06 Daniel Flinkmann
2003-12-01 10:28 Daniel Flinkmann
     [not found] ` <3FCB2D95.70709@ihateaol.co.uk>
2003-12-01 12:08   ` Daniel Flinkmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031206084305.GB22180@favonius \
    --to=ookhoi@humilis.net \
    --cc=dflinkmann@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.