[ENBD] mirror of /dev/hda2 on a second remote machine on the LAN
Raghavendra Bhat
enbd@lists.community.tummy.com
Fri, 9 May 2003 19:07:55 +0530
List
I had installed the Debian GNU/Linux package of enbd and
kernel-patch-enbd. Compiled the kernel after patching, using
make-kpkg and everything went off fine. Booted into the new kernel
2.4.20. I have not added anything to enbd.conf but instead decided to
test my setup. Inserted the enbd module....
As suggested by Peter, I started the enbd server first, as shown
enbd-server 1111 -t 120 -b 1024 -1 -w 0 -i ragu /dev/hda2
and it echoed these lines on to the root console (I have created all
nb* device points inside /dev)
----------<snip>----------------------------------------------------------
enbd-server 990: server (-2) locked /var/state/nbd/server-ragu.client_ips
enbd-server 990: server (-2) unlocked /var/state/nbd/server-ragu.client_ips
enbd-server 990: server (-2) set new signal handlers for master server 990
----------<snip>----------------------------------------------------------
On another machine, 192.16.1.2 on the LAN; I proceeded and did a
similar setup but did not start the server process. Inserted the enbd
module and started the client,
enbd-client 192.168.1.1 1111 -n 4 -b 1024 -i ragu -t 120 -p 5 -d 1 /dev/nda
now this echoes the following on the root console of that machine,
----------<snip>-----------------------------------------------------------
enbd-client 998: <# 421> set_channels client ignores channel multiplier 4 while server name still undefined
enbd-client 998: <# 421> set_channels client ignores channel multiplier 4 while server name still undefined
enbd-client 998: <# 823> cmdline client specified no nbd device! Try /dev/nda.
enbd-client 998: <#3616> main Cannot open NBD device (null): Success
----------<snip>-----------------------------------------------------------
The last two lines are indicating a problem and I am just plain
clueless. Where is it that I am going wrong ? I want a mirror copy of
the partition /dev/hda2 on the second machine with IP 192.168.1.2
TIA.
--
ragOO, VU2RGU :: Visit us at http://symonds.net/~fsug-kochi/
Helping to keep the Air-Waves FREE Amateur GNU Radio
Helping to keep your Software FREE the GNU Project
Helping to keep the W W W FREE Debian GNU/${kernel}