scst: Invalid configuration encountered. Attribute 'dif_checks_failed' has an invalid value.

246 views
Skip to first unread message

Adam K

unread,
Apr 19, 2016, 9:35:43 PM4/19/16
to esos-users
Hi Everyone,

Getting a previously unseen error when trying to initialize SCST (rc.scst start):

My /etc/scst.conf is built as per the master branch scripts -- basically scstadmin -write_config /etc/scst.conf.

I'm not able to track down any dif_checks_failed docs online..  



Applying SCST configuration...

Collecting current configuration: done.

-> Checking configuration file '/etc/scst.conf' for errors.
-> WARNING: No HANDLER section defined. Only physical media will be configured for targets.

-> WARNING: Driver 'iscsi' has no configured targets.

-> Done, 2 warnings found.

-> Applying configuration.


FATAL: Received the following error:

Invalid configuration encountered. Attribute 'dif_checks_failed' has an invalid value.



/etc/scst.conf:

# more /etc/scst.conf
# Automatically generated by SCST Configurator v3.1.0-pre1.

# Non-key attributes
max_tasklet_cmd 10
setup_id 0x0
suspend 0
threads 2

TARGET_DRIVER copy_manager {
# Non-key attributes
allow_not_connected_copy 0

TARGET copy_manager_tgt {
# Non-key attributes
addr_method PERIPHERAL
black_hole 0
cpu_mask 3
dif_checks_failed app ref guard
forwarding 0
io_grouping_type auto
rel_tgt_id 0
}
}

TARGET_DRIVER iscsi {
enabled 0
}

Marc Smith

unread,
Apr 19, 2016, 9:52:59 PM4/19/16
to esos-...@googlegroups.com
I posted a patch to the scst-devel list earlier today to fix this... I
expect they'll commit it relatively soon, and once they do I'll update
ESOS. As a work-around you can delete that line from the saved config
file (dif_checks_failed).

--Marc
> --
> You received this message because you are subscribed to the Google Groups
> "esos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to esos-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Adam K

unread,
Apr 23, 2016, 3:17:01 PM4/23/16
to esos-users
Thanks Marc.   Issue resolved.
Reply all
Reply to author
Forward
0 new messages