Files
scst/scstadmin/examples/scst.conf.sysfs
Bart Van Assche 4b7b3e2c58 ib_srpt: Remove obsolete parameters and update documentation
Support for the ib_srpt_target_<n> target port names was removed in 2015.
Update the documentation that still uses this target port name format.
Remove all references to the obsolete ib_srpt kernel module parameters
use_port_guid_in_session_name and use_node_guid_in_target_name. Remove
the references from srpt/README to target port name formats that are no
longer supported.
2022-07-27 20:14:23 -07:00

140 lines
1.8 KiB
Plaintext

# Sample SCST configuration file for scstadmin v2.0.
setup_id 0x1234
HANDLER dev_disk {
DEVICE 1:0:0:0
DEVICE 2:0:0:0
}
HANDLER vdisk_fileio {
DEVICE disk1 {
filename /disk1
nv_cache 1
}
DEVICE disk2 {
filename /disk2
blocksize 4096
removable 1
}
}
HANDLER vdisk_blockio {
DEVICE blockio1 {
filename /dev/sda5
}
}
HANDLER vcdrom {
DEVICE cdrom1 {
filename /cdrom1.iso
}
}
TARGET_DRIVER scst_local {
TARGET scst_local_tgt {
session_name scst_local_host
LUN 0 disk1
LUN 1 disk2
}
}
TARGET_DRIVER iscsi {
IncomingUser "joe 12charsecret"
enabled 1
TARGET iqn.2006-10.net.vlnb:tgt {
IncomingUser "joe 12charsecret"
HeaderDigest CRC32C,None
enabled 1
LUN 0 disk1
LUN 1 disk2
LUN 2 blockio1 {
read_only 1
}
}
}
TARGET_DRIVER qla2x00t {
TARGET 25:00:00:f0:98:87:92:f3 {
enabled 1
GROUP INI1 {
LUN 0 blockio1
LUN 1 1:0:0:0 {
read_only 1
}
LUN 5 cdrom1
INITIATOR 25:00:00:f0:99:87:94:a3
INITIATOR 25:00:00:f0:99:87:94:a4
}
}
TARGET 25:00:00:f0:98:87:92:f4 {
}
}
TARGET_DRIVER ib_srpt {
TARGET fe80:0000:0000:0000:0002:c903:0005:f34b {
enabled 1
LUN 0 disk1
LUN 1 disk2
}
TARGET fe80:0000:0000:0000:0002:c903:0005:f34c {
enabled 1
LUN 0 disk1
LUN 1 disk2
}
}
DEVICE_GROUP dgroup1 {
DEVICE disk1
TARGET_GROUP tgroup1 {
group_id 1
state active
TARGET fe80:0000:0000:0000:0002:c903:0005:f34b {
rel_tgt_id 1
}
}
TARGET_GROUP tgroup2 {
group_id 2
state offline
TARGET fe80:0000:0000:0000:0002:c903:0005:f34c {
rel_tgt_id 2
}
}
}
DEVICE_GROUP dgroup2 {
DEVICE disk2
TARGET_GROUP tgroup1 {
group_id 1
state offline
TARGET fe80:0000:0000:0000:0002:c903:0005:f34b {
rel_tgt_id 1
}
}
TARGET_GROUP tgroup2 {
group_id 2
state active
TARGET fe80:0000:0000:0000:0002:c903:0005:f34c {
rel_tgt_id 2
}
}
}