[ENBD] enbd 2.4.31 RAID 1 documentation
Pete Black
pete at marchingcubes.com
Wed Dec 3 14:21:04 MST 2003
Hi there,
I just found enbd, and it seems like it could be a very useful tool to
implement parts of my company's disaster recovery plans.
I have built the package, make test completes successfully, and I am
able to mount 'single' enbd volumes across the network.
However, I am confused by the documentation that comes with enbd, does
the 'serverA +serverB' syntax work for creating RAID-1 mirrors, as I
have been unsuccessful in making this work.
I have also read indications on this list that the RAID-1 stuff has been
stripped out and put into a different module - fr.o?
Sorry if this is a pain in the ass, but what is the simplest way for me
to set up enbd mirroring, assuming the following
192.168.50.100 is 'exporting' a block device e.g. enbd-server -i 'foo'
1666 /tmp/testVolume
192.168.50.101 is 'exporting' a block device e.g. enbd-server -i 'bar'
2666 /tmp/testVolume
currently i try and RAID-1 these 2 by using the folloowing commands, on
192.168.50.104:
enbd-client 192.168.50.100:1666 -n 3 +192.168.50.101:2666 -n3 /dev/nda
This definitely does something, but it seems like only 192.168.50.101's
'export' gets mounted, and no RAID-1 is in place.
I also get confusing messages indicating enbd is tryign to look up
'+192.168.50.101' instead of treating the '+' as a modifier.
also, when i send commands to proc/nbdinfo, i get errors e.g.
echo 'setfaulty[b]=1' > /proc/nbdinfo
my /var/log/messages file contains 'illegal 15-character command' or
similar.
Is there an up-to-date HOWTO or other docs on how to get the built-in
RAID-1 working with enbd?
Thanks for your time and a neat tool,
Pete
More information about the ENBD
mailing list