СХД: различия между версиями
Нет описания правки |
Нет описания правки |
||
(не показано 8 промежуточных версий 2 участников) | |||
Строка 1: | Строка 1: | ||
[[Категория:Использование оборудования]] | [[Категория:Использование оборудования]] | ||
<pre> | <pre> | ||
# targetcli | |||
Warning: Could not load preferences file /root/.targetcli/prefs.bin. | |||
targetcli shell version 2.1.fb35 | |||
Copyright 2011-2013 by Datera, Inc and others. | |||
For help on commands, type 'help'. | |||
/> qla2xxx/ info | |||
Fabric module name: qla2xxx | |||
ConfigFS path: /sys/kernel/config/target/qla2xxx | |||
Allowed WWN types: naa | |||
Allowed WWNs list: naa.5001438004c39414, naa.5001438004c39416 | |||
Fabric module features: acls | |||
Corresponding kernel module: tcm_qla2xxx | |||
/> ls | |||
o- / ......................................................................................................................... [...] | |||
o- backstores .............................................................................................................. [...] | |||
| o- block .................................................................................................. [Storage Objects: 0] | |||
| o- fileio ................................................................................................. [Storage Objects: 0] | |||
| o- pscsi .................................................................................................. [Storage Objects: 0] | |||
| o- ramdisk ................................................................................................ [Storage Objects: 0] | |||
o- iscsi ............................................................................................................ [Targets: 0] | |||
o- loopback ......................................................................................................... [Targets: 0] | |||
o- qla2xxx .......................................................................................................... [Targets: 0] | |||
o- vhost ............................................................................................................ [Targets: 0] | |||
/> qla2xxx/ create naa.5001438004c39416 | |||
Created target naa.5001438004c39416. | |||
/> ls | |||
o- / ......................................................................................................................... [...] | |||
o- backstores .............................................................................................................. [...] | |||
| o- block .................................................................................................. [Storage Objects: 0] | |||
| o- fileio ................................................................................................. [Storage Objects: 0] | |||
| o- pscsi .................................................................................................. [Storage Objects: 0] | |||
| o- ramdisk ................................................................................................ [Storage Objects: 0] | |||
o- iscsi ............................................................................................................ [Targets: 0] | |||
o- loopback ......................................................................................................... [Targets: 0] | |||
o- qla2xxx .......................................................................................................... [Targets: 1] | |||
| o- naa.5001438004c39416 ............................................................................................. [gen-acls] | |||
| o- acls ............................................................................................................ [ACLs: 0] | |||
| o- luns ............................................................................................................ [LUNs: 0] | |||
o- vhost ............................................................................................................ [Targets: 0] | |||
/> qla2xxx/ create naa.5001438004c39414 | |||
Created target naa.5001438004c39414. | |||
/> | |||
<pre> | <pre> | ||
# | # echo "- - -" > /sys/class/scsi_host/host*/scan | ||
</pre> | </pre> | ||
Linux SCSI Target [http://linux-iscsi.org/wiki/Main_Page] | |||
SCST [http://scst.sourceforge.net/] | SCST [http://scst.sourceforge.net/] | ||
HOWTO [http://scst.sourceforge.net/SCST_Gentoo_HOWTO.txt] | HOWTO [http://scst.sourceforge.net/SCST_Gentoo_HOWTO.txt] |
Текущая версия от 15:38, 22 ноября 2016
# targetcli Warning: Could not load preferences file /root/.targetcli/prefs.bin. targetcli shell version 2.1.fb35 Copyright 2011-2013 by Datera, Inc and others. For help on commands, type 'help'. /> qla2xxx/ info Fabric module name: qla2xxx ConfigFS path: /sys/kernel/config/target/qla2xxx Allowed WWN types: naa Allowed WWNs list: naa.5001438004c39414, naa.5001438004c39416 Fabric module features: acls Corresponding kernel module: tcm_qla2xxx /> ls o- / ......................................................................................................................... [...] o- backstores .............................................................................................................. [...] | o- block .................................................................................................. [Storage Objects: 0] | o- fileio ................................................................................................. [Storage Objects: 0] | o- pscsi .................................................................................................. [Storage Objects: 0] | o- ramdisk ................................................................................................ [Storage Objects: 0] o- iscsi ............................................................................................................ [Targets: 0] o- loopback ......................................................................................................... [Targets: 0] o- qla2xxx .......................................................................................................... [Targets: 0] o- vhost ............................................................................................................ [Targets: 0] /> qla2xxx/ create naa.5001438004c39416 Created target naa.5001438004c39416. /> ls o- / ......................................................................................................................... [...] o- backstores .............................................................................................................. [...] | o- block .................................................................................................. [Storage Objects: 0] | o- fileio ................................................................................................. [Storage Objects: 0] | o- pscsi .................................................................................................. [Storage Objects: 0] | o- ramdisk ................................................................................................ [Storage Objects: 0] o- iscsi ............................................................................................................ [Targets: 0] o- loopback ......................................................................................................... [Targets: 0] o- qla2xxx .......................................................................................................... [Targets: 1] | o- naa.5001438004c39416 ............................................................................................. [gen-acls] | o- acls ............................................................................................................ [ACLs: 0] | o- luns ............................................................................................................ [LUNs: 0] o- vhost ............................................................................................................ [Targets: 0] /> qla2xxx/ create naa.5001438004c39414 Created target naa.5001438004c39414. /> <pre> # echo "- - -" > /sys/class/scsi_host/host*/scan