From: Anderson Pereira Ataides <anderson.pa@persogo.com.br>
To: Bart Oldeman <oldeman@math.ohio-state.edu>
Cc: Lista dosemu <linux-msdos@vger.kernel.org>
Subject: Re: WARNING: smbfs and locking
Date: Tue, 11 Feb 2003 10:07:27 -0200 [thread overview]
Message-ID: <03021110072701.01279@anderson.cdc.net> (raw)
In-Reply-To: <Pine.SOL.4.44.0302101616040.23674-100000@blakey>
> NFS *does* support locking though.
I tried to mount a nfs resource and two linux boxes can't see locks made by
each other. That means a file locked in a linux box is not seen by the other
Linux box. Am I missing something?
Reading dosemu docs, it's written that I must mount nfs nolock. What does
that mean? If nfs "does" support locking, why must I disable this? And in
fact I really have to export it nolock because if I don't dosemu does not
work.
In my previous messages I got almost there, because I locked a file in dosemu
and Windows "could see" this lock. And the other side worked too, but message
application (DBU in my case) gave was different. So that's why I wrote: "if
you could make DBU work the same way, I'll be happy".
But now you got me worried. When I thought I was almost there you come and
say that smbfs have locking problem and probably acessing files through smbfs
will result in data corruption. Again: am I missing something?
Let me tell you again what I did:
1. Made a smb share
2. Mapped a drive in Windows
3. Mounted smb in Linux box
4. Used DBU to test locking
Was it an accident? I think no, because both Linux and Windows is accessing
file through samba and so samba itself is locking file. Am I right? Will this
result in data corruption?
> Now, why does a Win client access the file when DOSEMU "locks" it? This is
> because there actually is no lock at all!
That makes me really believe that samba keeps track of locking itself. Linux
filesystem does not know what samba is doing.
This week I'll be upgrading my system. I'll install a new version of my
distro and start testing dosemu again (nfs and smb). I have to do it because
I am using a 2.2 kernel and for testing purpouses I compiled a 2.4 and boot
it every time I receive a new dosemu patch.
[]s
Anderson Pereira Ataides
next prev parent reply other threads:[~2003-02-11 12:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.SOL.4.44.0302050103010.25172-100000@math.ohio-state.edu>
2003-02-05 6:40 ` dosemu and CLIPPER locks (again) (fwd) Bart Oldeman
2003-02-05 12:24 ` Anderson Pereira Ataides
2003-02-06 6:56 ` [PATCH] (locking) (was Re: dosemu and CLIPPER locks (again)) Bart Oldeman
2003-02-07 12:06 ` Michal Samek
2003-02-10 15:42 ` Gregor Ibic
2003-02-10 18:07 ` Bart Oldeman
2003-02-10 18:45 ` Gregor Ibic
2003-02-10 18:57 ` Bart Oldeman
2003-02-10 19:04 ` Gregor Ibic
2003-02-10 19:14 ` Bart Oldeman
2003-02-10 19:36 ` Gregor Ibic
2003-02-10 19:49 ` Bart Oldeman
2003-02-10 20:00 ` Gregor Ibic
2003-02-10 20:06 ` Bart Oldeman
2003-02-11 8:37 ` Sergey Suleymanov
2003-02-11 17:11 ` Bart Oldeman
2003-02-10 21:28 ` WARNING: smbfs and locking (was RE: [PATCH] (locking) (was Re: dosemu and CLIPPER locks (again)))) Bart Oldeman
2003-02-10 23:17 ` WARNING: smbfs and locking -- POSIX v. CIFS locking, and how DOS doesn't do CIFS locking (bad things man) Bryan J. Smith
2003-02-11 0:31 ` Bart Oldeman
2003-02-11 13:00 ` WARNING: smbfs and locking -- Mega-oversimplification Bryan J. Smith
2003-02-11 12:07 ` Anderson Pereira Ataides [this message]
2003-02-11 13:01 ` WARNING: smbfs and locking Reinhard Karcher
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=03021110072701.01279@anderson.cdc.net \
--to=anderson.pa@persogo.com.br \
--cc=linux-msdos@vger.kernel.org \
--cc=oldeman@math.ohio-state.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox