diff --git a/scst/sysfs-scst b/scst/sysfs-scst new file mode 100644 index 000000000..ccc2cf904 --- /dev/null +++ b/scst/sysfs-scst @@ -0,0 +1,254 @@ +What: /sys/kernel/scst_tgt/ +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Contains SCST management interface entries. + +What: /sys/kernel/scst_tgt/devices/ +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Contains subdirectories for all SCST devices + +What: /sys/kernel/scst_tgt/devices//exported/exportX +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Links to LUNs in the LUNs group where exported, e.g. to + /sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt/luns/11 + +What: /sys/kernel/scst_tgt/devices//handler +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Link to dev handler of this device, if assigned, e.g. to + /sys/kernel/scst_tgt/handlers/dev_disk + +What: /sys/kernel/scst_tgt/devices//type +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + SCSI type of this device as define by SAM. + +What: /sys/kernel/scst_tgt/handlers/ +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Contains all SCST dev handlers. + +What: /sys/kernel/scst_tgt/handlers// +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Links to managed by this dev handler, e.g. + ext3_disk1_4K -> /sys/kernel/scst_tgt/devices/ext3_disk1_4K + +What: /sys/kernel/scst_tgt/handlers//mgmt +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Management entry, which allows to create and delete + devices for this dev handler. See SysfsRules file for more + info. + +What: /sys/kernel/scst_tgt/handlers//type +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + SCSI type of this dev handler as define by SAM. + +What: /sys/kernel/scst_tgt/sgv/ +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Contains SCST SGV caches statistics. + +What: /sys/kernel/scst_tgt/sgv/global_stats +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Contains global SGV cache statistics. + +What: /sys/kernel/scst_tgt/sgv//stats +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Contains statistics for SGV cache + +What: /sys/kernel/scst_tgt/targets/ +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Contains all SCST target drivers + +What: /sys/kernel/scst_tgt/targets/ +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Contains all targets for + +What: /sys/kernel/scst_tgt/targets//mgmt +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Optional management entry, which allows to create and + delete targets for this target driver. See SysfsRules + file for more info. + +What: /sys/kernel/scst_tgt/targets//enable +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Optional attribute to enable and make it serve + incoming connections from initiators. Possible values: + 1 - enable + 0 - disable + +What: /sys/kernel/scst_tgt/targets///ini_groups/ +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Contains security groups for + +What: /sys/kernel/scst_tgt/targets///ini_groups/mgmt +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Allows to create and delete security groups for . + See README.scst for more info. + +What: /sys/kernel/scst_tgt/targets///ini_groups//initiators/mgmt +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Allows to add and delete initiators to/from . + See README.scst for more info. + +What: /sys/kernel/scst_tgt/targets///ini_groups//initiators/ +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + One or more initiators in . Contains initiator's name. + +What: /sys/kernel/scst_tgt/targets///ini_groups//luns/mgmt +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Allows to add and delete LUNs to/from . See README.scst + for more info. + +What: /sys/kernel/scst_tgt/targets///ini_groups//luns//device +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Link to device for , e.g. to /sys/kernel/scst_tgt/devices/ext3_disk1_4K + +What: /sys/kernel/scst_tgt/targets///ini_groups//luns//read_only +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Sets if this LUN should be read only + +What: /sys/kernel/scst_tgt/targets///ini_groups//addr_method +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Sets SCSI addressing method for . See README.scst + for more info. + +What: /sys/kernel/scst_tgt/targets///ini_groups//cpu_mask +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Sets CPU mask for threads serving initiators in . + See README.scst for more info. + +What: /sys/kernel/scst_tgt/targets///ini_groups//io_grouping_type +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Sets IO groupping types for threads serving initiators + in . See README.scst for more info. + +What: /sys/kernel/scst_tgt/targets///luns/mgmt +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Allows to add and delete LUNs to/from the 's default + set of LUNs. See README.scst for more info. + +What: /sys/kernel/scst_tgt/targets///luns//device +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Link to device for , e.g. to /sys/kernel/scst_tgt/devices/ext3_disk1_4K + +What: /sys/kernel/scst_tgt/targets///luns//read_only +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Sets if this LUN should be read only + +What: /sys/kernel/scst_tgt/targets///addr_method +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Sets SCSI addressing method for the 's default + set of LUNs. See README.scst for more info. + +What: /sys/kernel/scst_tgt/targets///cpu_mask +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Sets CPU mask for threads serving initiators in the + 's default set of LUNs. See README.scst for more info. + +What: /sys/kernel/scst_tgt/targets///io_grouping_type +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Sets IO groupping types for threads serving initiators + in the 's default set of LUNs. See README.scst + for more info. + +What: /sys/kernel/scst_tgt/targets///enable +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Optional attribute to enable and make it serve + incoming connections from initiators. Possible values: + 1 - enable + 0 - disable + +What: /sys/kernel/scst_tgt/last_sysfs_mgmt_res +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Returning completion status of the last management + command. See README.scst for more info. + +What: /sys/kernel/scst_tgt/setup_id +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Allows to read and write SCST setup ID. This ID can be + used in cases, when the same SCST configuration should + be installed on several targets, but exported from those + targets devices should have different IDs and SNs. For + instance, VDISK dev handler uses this ID to generate T10 + vendor specific identifier and SN of the devices. + +What: /sys/kernel/scst_tgt/threads +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Allows to read and set number of global SCST I/O + threads. Those threads used with async. dev handlers, + for instance, vdisk BLOCKIO or NULLIO + +What: /sys/kernel/scst_tgt/version +Date: November 2010 +Contact: Vladislav Bolkhovitin +Description: + Allows to see version of SCST and enabled optional features. +