[Scst-devel] [ofa-general] WinOF_2_0_5/SRP initiator: slow reads and eventually hangs

Bart Van Assche bart.vanassche at gmail.com
Tue Sep 15 23:38:52 PDT 2009


On Tue, Sep 15, 2009 at 5:50 PM, Chris Worley <worleys at gmail.com> wrote:
> I couldn't get ramdisks working w/ SCST in RHEL5.2.  When running:
>
> echo "open ramdisk /mnt/foo" > /proc/scsi_tgt/vdisk/vdisk
>
> I get the error:
>
> dev_vdisk: ***ERROR***: Wrong f_op or FS doesn't have required capabilities
>
> ... which doesn't occur in the Ubuntu kernel, so I've been unable to
> test RHEL kernels w/ ramdisks.  In general, this problem occurs w/ 8KB
> and smaller blocks w/ the Ubuntu kernels, and 2KB and smaller blocks
> w/ RHEL kernels.

The following should work on RHEL systems:

echo "open ramdisk /dev/ram0" > /proc/scsi_tgt/vdisk/vdisk

Bart.



More information about the general mailing list