Re: is it possible to access

"Peter T. Breuer" <[email protected]>
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
"Also sprach Stefan Pielicke:"
> I am new to enbd and I want to know if it is possible to "share" a device with 

Only in readonly mode. All bets are off otherwise.

Well, you can also do the sharing in rw mode if you remove caching at
the client ends, by using direct i/o to the enbd devices on the clients.
That will work for raw partitions (e.g.  for oracle), but file systems
mounted on partitions have their own caches that you cannot get rid of
that way.

> more than one client.
> The configuration should be as follows:
> [1] The server exports a device, which is also writeable for it

If the clients are in readonly mode, there is no need for it to be
writable.

> [2] the clients import the device as readable and sync with a local partition 
> constantly

Not enough data. What does "sync with ..." mean? You mean you copy from
the client enbd devices to a local partition? Uuf - sounds like you are
trying to spot writes made on the server.

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".

> Is this possible? Has anybody a working setup like this? Or is this idea 
> really dumb?

I'm not quite sure what you want! But no idea is really dumb. Unless of
course it is crazy. Or maybe that was "your idea is crazy, but not
crazy enough to be dumb ...". Something like that, anyway!

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.