Hi all,<br>I spent almost 2 days trying to get DRBD working with XenServer 5.6 FP1.<br>Compiled DRBD 8.3.81 and 8.3.9 on new XS DDK VM (kernel 2.6.32.12-0.7.1) and at first thought everything was good..<br>But
after setting up 2 nodes, syncing both and getting ready to call it a
day decided to check the speed. <br>dd if=/dev/zero of=/dev/drbd1 bs=256M
count=1 oflags=direct <br>and... immediately got the "sunshine" screen
(the one we see when XS boots up). Complete server lockup. No network, no kb or
mouse.. <br>After hard reset no signs of any troubles. Server boots
up just fine. logs don't have anything special. <br>Later found out it's
not just "dd" that brings up the sunshine, fdisk -l /dev/drbd1 and pvs
also cause the same sudden freeze. <br>Tried giving DRBD whole disk
(/dev/sdb) or partition (/dev/sdb1) - no dif. if I do "service stop
drbd" - all is good. <br>I can fdisk or dd backing device - no problem.
These servers were working fine with XS 5.5, 5.6 and DRBD 8.3.81, I ran
multiple throughput/latency tests before (against /dev/drbd1) on both
and all was good..<br>I tried drbd device in Primary/Secondary, in primary stand alone and got tired of hard-resetting after each 'sunshine'.<br>Exhausted all other "what if I try this" options, online searches didn't help much either.<br>
Everything points to drbd-km module and I'd like to ask if anybody have seen this before or has any suggestions.<br>Perhaps there is something about kernel 2.6.32.12 or some settings I need to adjust for ./configure when compiling drbd?<br>
While nodes are syncing - all seems good. No I/O errors, speed is about 90% compared to direct disk access.<br>Any thoughts/ideas are greatly appreciated. Thanks!<br><br>