[ENBD] Problem when restarting enbd-client

Anders Blomdell anders.blomdell at control.lth.se
Mon Mar 1 04:03:25 MST 2004


enbd-client server:30000 -n 2 -i 2_disk_a -m -t 0 -b 4096 -e /dev/ndb
mkfs.ext3 /dev/ndb
# Up to this point everything is OK, formatting is finished
...
kill `cat /var/run/enbd-client-2_disk_a.pid`
...
enbd-client server:30000 -n 1 -i 2_disk_a -m -t 0 -b 4096 -e /dev/ndb
# Client seems to connect OK
mkfs.ext3 /dev/ndb

#########################################
At this point mkfs hangs on a disk sleep, and enbd-client loops doing:
   ioctl(4, 0x4004ab0b, 0x40018008)        = -1 ETIME (Timer expired)
(fd4 == /dev/ndb)

System is linux-2.6.3 + nbd-2.4.32, /proc/nbdinfo says:

Device a:       Closed
Device b:       Open
[b] State:      verify, rw, enabled, show_errs, last error 0, lives 1, bp 
0
[b] Queued:     +0R/0W curr (check 0R/0W) +11R/157W max
[b] Buffersize: 262144  (sectors=512, blocks=64)
[b] Blocksize:  4096    (log=12)
[b] Size:       39070048KB
[b] Blocks:     9767512
[b] Sockets:    2       (*)     (-)
[b] Requested:  157.90K (79.2K) (78.6K) 28R/157.8KW     max 1
[b] Despatched: 0       (0)     (0)     0R/0W   md5 0W (0 eq, 0 ne, 0 dn)
[b] Errored:    157.90K (79.2K) (78.6K) 157.9K+0
[b] Pending:    0       (0)     (0)     0R/0W+0R/0W
[b] B/s now:    0       (0R+0W)
[b] B/s ave:    232K    (0R+232KW)
[b] B/s max:    11.8M   (1.03MR+11.8MW)
[b] Spectrum:   100%1
[b] Kthreads:   1       (0 waiting/1 running/1 max)
[b] Cthreads:   1       (+)     (-)
[b] Cpids:      1       (4004)  (0)
Device c-p:     Closed


Does anybody have a clue why?

Regards

Anders Blomdell



More information about the ENBD mailing list