RE: [Nbd] ndb-client 2.7.3 patch
- To: "Roy Keene" <nbd@...51...>, <nbd-general@lists.sourceforge.net>
- Subject: RE: [Nbd] ndb-client 2.7.3 patch
- From: "J. Ryan Earl" <ryan@...46...>
- Date: Thu, 28 Apr 2005 15:27:03 -0500
- Message-id: <OMEKLMBKKEOEENCKLEIDCEPFCIAA.ryan@...46...>
- In-reply-to: <Pine.LNX.4.60.0504281459300.1468@...53...>
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: