drbd-user March 2010 archive
Main Archive Page > Month Archives  > drbd-user archives
drbd-user: Re: [DRBD-user] Can someone help me configure SCST?

Re: [DRBD-user] Can someone help me configure SCST?

From: Gennadiy Nerubayev <parakie_at_nospam>
Date: Wed Mar 24 2010 - 02:38:11 GMT
To: dbarker <dbarker@visioncomm.net>

On Tue, Mar 23, 2010 at 6:47 PM, dbarker <dbarker@visioncomm.net> wrote:

>
> I have a totally trivial setup trying to make iscsi-scst work with drbd.
> I'm
> having trouble finding documentation on the options for the scst system,
> but
> someone has it working!
>
> If I change my scst config to use /dev/sdb, scst loads it fine. iscsi-scst
> creates a target and ESXi can format and use it. If I change my config to
> use /dev/drbd0, scst won't load it. dmesg says:
>
> scst: SCST version 1.0.1.1 loaded successfully (max mem for commands
> 126MB,
> per device 50MB)
> scst: Enabled features: Strict serializing, TRACING
> scst: Device handler "dev_disk" for type 0 registered successfully
> scst: Device handler "dev_disk_perf" for type 0 registered successfully
> scst: Virtual device handler vdisk for type 0 registered successfully
> scst: Virtual device handler vdisk_blk for type 0 registered successfully
> scst: Virtual device handler vdisk_null for type 0 registered successfully
> scst: Virtual device handler vcdrom for type 5 registered successfully
> dev_vdisk: Registering virtual BLOCKIO device disk01 (BLOCKIO)
> dev_vdisk: ***ERROR*** filp_open(/dev/drbd0) returned error -2
> scst: ***ERROR*** New device handler's vdisk_blk attach() failed: -2
> scst: Failed to attach SCSI target mid-level to virtual device disk01
>

Is the drbd device that you are presenting primary on this node? :)

-Gennadiy

_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user