Re: enbd: help needed
"Peter T. Breuer" <[email protected]> Thu, 15 Nov 2007 13:40:32 +0100 (CET)
| Newsgroups | gmane.linux.enbd.general |
|---|---|
| Message-ID | <[email protected]> |
"Also sprach Peter Daum:" > after some attempts with nbd, I stumbled over enbd, which seemed > (at least in theory) just what I need. Unfortunately, I can > not get it to work even in a pretty minimalistic test scenario. > > Here what I did: > > - compile enbd-2.4.33 > insmod ./enbd.ko > ./enbd-server 666 /dev/raid6_12/nbd # lvm volume > ./enbd-client localhost:666 -n 4 /dev/nda > > The output looks not really like somethings going totally wrong > (attached below is the relevant part of the syslog) but any attempt > to read from /dev/nda fails. Did you get any help on this? The messages say that the server end is dead. > Device a: Open [a] State: verify, rw, enabled, remote invalid, last error 0, lives 0, bp 0 Says the remote is dead. > [a] Queued: +0R/0W curr (check 0R/0W) +0R/0W max > [a] Buffersize: 262144 (sectors=512, blocks=64) > [a] Blocksize: 4096 (log=12) > [a] Size: 838860800KB > [a] Blocks: 209715200 > [a] Sockets: 4 (+) (+) (+) (*) > [a] Requested: 0 (0) (0) (0) (0) 0R/0W max 0 > [a] Despatched: 0 (0) (0) (0) (0) 0R/0W md5 0W (0 eq, 0 ne, 0 dn) > [a] Errored: 306 (0) (0) (0) (0) 0+306 > [a] Pending: 0 (0) (0) (0) (0) 0R/0W+0R/0W > [a] B/s now: 0 (0R+0W) > [a] B/s ave: 0 (0R+0W) > [a] B/s max: 0 (0R+0W) > [a] Spectrum: > [a] Kthreads: 0 (0 waiting/0 running/1 max) > [a] Cthreads: 4 (+) (+) (+) (+) > [a] Cpids: 4 (5906) (5907) (5908) (5909) > Device b-p: Closed Working client. Well .. > # sylog: Kernlog is what you want. dmesg. But the server is the one that's ill. > 2007-10-16 20:00:10 ENBD #4739[2]: enbd_media_changed MEDIA CHANGED called > 2007-10-16 20:00:10 ENBD #4745[2]: enbd_media_changed REMOTE CHECK done locally, no remote ioctl! Uh, you forgot to load enbd_ioctl? > 2007-10-16 20:00:10 ENBD #4843[4]: enbd_revalidate REVALIDATE called on nda > 2007-10-16 20:00:10 ENBD #4849[4]: enbd_revalidate asked to revalidate remotely dead drive nda There. Server says its resource is bad. Peter