<div class="gmail_quote">On Tue, Mar 23, 2010 at 6:47 PM, dbarker <span dir="ltr"><<a href="mailto:dbarker@visioncomm.net">dbarker@visioncomm.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I have a totally trivial setup trying to make iscsi-scst work with drbd. I'm<br>
having trouble finding documentation on the options for the scst system, but<br>
someone has it working!<br>
<br>
If I change my scst config to use /dev/sdb, scst loads it fine. iscsi-scst<br>
creates a target and ESXi can format and use it. If I change my config to<br>
use /dev/drbd0, scst won't load it. dmesg says:<br>
<br>
scst: SCST version 1.0.1.1 loaded successfully (max mem for commands 126MB,<br>
per device 50MB)<br>
scst: Enabled features: Strict serializing, TRACING<br>
scst: Device handler "dev_disk" for type 0 registered successfully<br>
scst: Device handler "dev_disk_perf" for type 0 registered successfully<br>
scst: Virtual device handler vdisk for type 0 registered successfully<br>
scst: Virtual device handler vdisk_blk for type 0 registered successfully<br>
scst: Virtual device handler vdisk_null for type 0 registered successfully<br>
scst: Virtual device handler vcdrom for type 5 registered successfully<br>
dev_vdisk: Registering virtual BLOCKIO device disk01 (BLOCKIO)<br>
dev_vdisk: ***ERROR*** filp_open(/dev/drbd0) returned error -2<br>
scst: ***ERROR*** New device handler's vdisk_blk attach() failed: -2<br>
scst: Failed to attach SCSI target mid-level to virtual device disk01<br></blockquote><div><br>Is the drbd device that you are presenting primary on this node? :)<br><br>-Gennadiy<br></div></div>