|
From: Mark B. <mar...@gm...> - 2011-07-20 14:48:04
|
Hi
On Sat, Jun 11, 2011 at 5:52 AM, Matteo Tescione <ma...@rm...> wrote:
> Hi Bart,
>
> i'm trying to use the new fantastic scst init script but it fails:
>
> [root@nas1 default]# /etc/init.d/scst start
> Loading and configuring SCST [FAILED]
> Collecting current configuration..
>
> FATAL: Received the following error:
>
> groups(): Driver '' is not available
>
>
>
> Config is as simple as possible:
> # Automatically generated by SCST Configurator v2.0.0.
> HANDLER vdisk_fileio {
> DEVICE SDD {
> filename /dev/sdd
> }
> }
> TARGET_DRIVER ib_srpt {
> TARGET ib_srpt_target_0 {
> enabled 1
> LUN 0 SDD
> }
> }
> TARGET_DRIVER iscsi {
> enabled 1
> TARGET iqn.2011-01.com.openfiler:RMnet-2tera {
> QueuedCommands 16
> rel_tgt_id 2
> enabled 1
> LUN 0 SDD
> }
> }
>
>
> And scstadmin config validation works fine:
> [root@nas1 default]# modprobe scst
> [root@nas1 default]# modprobe scst_vdisk
> [root@nas1 default]# modprobe ib_srpt
> [root@nas1 default]# modprobe iscsi_scst
> [root@nas1 default]# scstadmin -check_config /etc/scst.conf
>
> Collecting current configuration: done.
>
> -> Checking configuration file '/etc/scst.conf' for errors.
> -> Done, 0 warnings found.
>
>
> All done.
> [root@nas1 default]#
>
>
>
> Am I missing something obvious? or is the init script having some trouble
> loading appropriate modules? what should be inside /etc/default/scst for
> sysfs-mode?
>
Ok, after some ib_srpt magic with __udivdi3, I finally got it inserted into
my kernel. I'm not real familiar with srpt. If I look
at /sys/kernel/scst_tgt/targets/ib_srpt/, I see nothing there so scstadmin
complains that target ib_srpt_target_0 doesn't exist. I'm assuming I need
InfiniBand hardware. It's going to be difficult figuring this one out.
Can you give me the directory structure
under /sys/kernel/scst_tgt/targets/ib_srpt/ ?
- Mark.
|