Re: is it possible to access

[email protected] (Peter T. Breuer)
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
Stefan Pielicke <[email protected]> wrote:
> Hi,
> 
> On Tuesday 01 February 2005 16:42, Peter T. Breuer wrote:
> > Why not simply put the enbd servers ON the clients? Then you have the
> > enbd clients on your server, all RAID1-ed together into a device which
> > includes whatever you are writing to on your server. Then all writes to
> > it automatically go out to your "clients".
> 
> ok, I've installed enbd like you said and it works very nice :)
> Only one problem left, every time the enbd-client writes something on the 
> device I have to remount the partition on the enbd-server to see the changes. 
> How is it possible to see the changes immediatly (i.e. without remounting)?

You can't.  The enbd server's kernel and file system cache have not been
traversed when the enbd client writes into the device (partition,
whatever) underneath it.

This is the same as writing directly into a disk while the FS on the
disk is mounted.  The result will be at best oblivion and more probably
death and destruction, people turned into pillars of salt, and much
wailing and gnashing of teeth.

If you want the enbd servers (your clients) to see the changes made on
the enbd client in the FS, then you will have to export the FS in
question from the enbd client via nfs. Or you could use a distributed
FS (eg. gfs). Tell me how if you do it.

It's like having a disk accessed by two machines/kernels.




Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.