[ENBD] Mirroring to multiple servers?

Anders Blomdell anders.blomdell at control.lth.se
Fri Feb 27 07:42:15 MST 2004


enbd-client manual says:

To do mirroring to a couple of different remote server  targets,
add  a  second "+host2:ctrlport2 -n nchan2" entry on the command
line just after the first.  Note the "+" before the second host-
name.   Writes  will then be mirrored to both targets, but reads
will still come preferentially from the first target.  If a mir-
ror  component  goes  offline,  writes  to it will be suppressed
until it comes back online, when it will be  resynced  from  the
remaining  component in the background.  Only the blicks dirtied
while it was offline are written during the resync, so  this  is
fast.

But this does not work and code does not seem to exist for this behaviour,
I guess that the solution is two nbd-clients + two /dev/ndX in raidtab?

Regards

Anders Blomdell


------------------------------------------------------------------------------
  Anders Blomdell
  Department of Automatic Control     Email: anders.blomdell at control.lth.se
  Lund Institute of Technology        Phone: +46 46 222 4625
  Box 118, S-221 00 Lund, Sweden      Fax:   +46 46 138118



More information about the ENBD mailing list