On Tue, Apr 26, 2005 at 02:05:34PM +0200, Jordi Ingles wrote:
Hello, we are raising to use nbd like NFS substitute. We have a
nbd-server whith two clients who acces in the same device. First we
mount a client, it modifies the device, and then we unmount it. When we
mount the second client, this one has problems accessing the files that
has been modified by the first one (Input/Output error). Does NBD allow
this kind of operations? (nbd such as samba).
Yes and no.
NBD is not a file server protocol; trying to use it as such would be a
waste of time at best.
That being said, it /should/ work the way you describe it (connect on
one system, mount, write, umount, start using on another system). It
would help if you could send me the complete error message. Also, do you
see any difference if you disconnect the device (nbd-client -d) between
the umount on the one system, and the mount on the other?