[ENBD] Weird behaviour (enbd-test OK, /proc/nbdinfo errors)

Anders Blomdell anders.blomdell at control.lth.se
Wed Mar 3 04:53:49 MST 2004


[root]# enbd-test /dev/nda -s 1M
/dev/nda has 1048576 bytes in 1024 blocks of 1024 bytes each
flushing buffers..done
writing....5%....10%....15%....20%....25%....30%....35%....40%....45%....50%.
...55%
....60%....65%....70%....75%....80%....85%....90%....95%....done
test 1 succeeded:  0 incorrect blocks
flushing buffers..done
flushing buffers..done
reading....5%....10%....15%....20%....25%....30%....35%....40%....45%....50%.
...55%
....60%....65%....70%....75%....80%....85%....90%....95%....done
test 2 succeeded:  0 incorrect blocks
flushing buffers..done
flushing buffers..done
writing....5%....10%....15%....20%....25%....30%....35%....40%....45%....50%.
...55%
....60%....65%....70%....75%....80%....85%....90%....95%....done
test 3 succeeded:  0 incorrect blocks
flushing buffers..done
flushing buffers..done
reading....5%....10%....15%....20%....25%....30%....35%....40%....45%....50%.
...55%
....60%....65%....70%....75%....80%....85%....90%....95%....done
test 4 succeeded:  0 incorrect blocks
flushing buffers..done
flushing buffers..done
seeking and writing....5%....10%....15%....20%....25%....30%....35%....40%.
...45%..
..50%....55%....60%....65%....70%....75%....80%....85%....90%....95%....done
flushing buffers..done
reading and checking....5%....10%....15%....20%....25%....30%....35%....40%.
...45%.
...50%....55%....60%....65%....70%....75%....80%....85%....90%....95%....
(2000 seeks in 0.001873s, 1067805.659370 seeks/s)
(1024KB written in 0.002799s, 365.844945 MB/s)
(1024KB read in 0.002272s, 450.704225 MB/s)done
test 5 succeeded:  0 incorrect blocks
flushing buffers..done

[root]# cat /proc/nbdinfo
Device a:       Open
[a] State:      verify, rw, enabled, validated, last error 0, lives 0, bp 
0
[a] Queued:     +0R/0W curr (check 0R/0W) +50R/156W max
[a] Buffersize: 262144  (sectors=512, blocks=64)
[a] Blocksize:  4096    (log=12)
[a] Size:       8192KB
[a] Blocks:     2048
[a] Sockets:    4       (+)     (+)     (*)     (+)
[a] Requested:  1.0556K (208)   (287)   (246)   (340)   313R/768W       max 
1
[a] Despatched: 0       (0)     (0)     (0)     (0)     0R/0W   md5 0W (0 
eq, 0 ne, 0 dn)
[a] Errored:    1.0556K (208)   (287)   (246)   (340)   1.055K+0
[a] Pending:    0       (0)     (0)     (0)     (0)     0R/0W+0R/0W
[a] B/s now:    0       (0R+0W)
[a] B/s ave:    84.0K   (24.0KR+60.0KW)
[a] B/s max:    660K    (188KR+464KW)
[a] Spectrum:   100%1
[a] Kthreads:   0       (0 waiting/0 running/1 max)
[a] Cthreads:   4       (+)     (+)     (+)     (+)
[a] Cpids:      4       (4078)  (4079)  (4080)  (4081)
Device b-p:     Closed

------------------------------------------------------------------------------
  Anders Blomdell
  Department of Automatic Control     Email: anders.blomdell at control.lth.se
  Lund Institute of Technology        Phone: +46 46 222 4625
  Box 118, S-221 00 Lund, Sweden      Fax:   +46 46 138118



More information about the ENBD mailing list