[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: [Nbd] ndb-client 2.7.3 patch



As far as I can tell it doesn't sense that nbdX comes back to life. But it keeps you from having to restart the "nbd-client" when your client comes back, bringing us a step closer.

I haven't figured out how to manually tell it to start the resync, any clues ?

On Thu, 28 Apr 2005, J. Ryan Earl wrote:

Interesting, this is exactly what I use NBD for (RAID1 over the network).
Does this allow a resync to happen automatically when the nbd-client
restores its connection to the nbd-server?  ie Will md sense when the nbd is
available again?

-ryan

-----Original Message-----
From: nbd-general-admin@lists.sourceforge.net
[mailto:nbd-general-admin@lists.sourceforge.net]On Behalf Of Roy Keene
Sent: Thursday, April 28, 2005 3:05 PM
To: nbd-general@lists.sourceforge.net
Subject: [Nbd] ndb-client 2.7.3 patch


I've partially re-written the nbd-client from nbd-2.7.3 (sorry it's not
against the 2.8.x or CVS, I needed this working quickly) to be more of a
daemon and not exit if the connection goes away.

I use this for my software RAID of network block devices so I want it to
reconnect once the host becomes available again without intervention.

Feel free to license it however you wish.

Most changes only affect nbd-client.c, but I did update cliserv.h to
include "err_noexit()" that behaves the same as err() but does not call
exit().




Reply to: