[ENBD] 2.4.32 (2004-03-07)
Anders Blomdell
anders.blomdell at control.lth.se
Mon Mar 8 08:32:26 MST 2004
Still getting system to hang when cross-writing between systems, this is a
minimum setup that fails:
server1: server2:
modprobe enbd modprobe enbd
enbd-server 30010 /dev/hdb7 \ enbd-server 30000 /dev/hda7 \
-i 2_disk_b -b 1024 -i 1_disk_a -b 1024
enbd-client server2:30000 \ enbd-client server1:30010 \
-n 4 -i 1_disk_a -m \ -n 4 -i 2_disk_b -m \
-t 0 -b 1024 -p 60 \ -t 0 -b 1024 -p 60 \
/dev/nda /dev/nda
mkfs.ext3 /dev/nda mkfs.ext3 /dev/nda
And after a few seconds both machines stops responding to logins, xterms,
etc.
After approx 30 s more, both machines report:
ENBD enbd.c #1651[X] enbd_rollback rollback req f*******, type 1, \
sector ********, 1 blks, 2 sectors from slot Y
with X = [0, 1, 2, 3, 4, 5, 6, 7] and
Y = [0, 1, 2, 3, 0, 1, 2, 3]
So it seems like accesses to /dev/hd* and /dev/nd* goes through a common
lock.
Regards
Anders
More information about the ENBD
mailing list