Closed renzhengeek closed 8 years ago
linux-lokb:~ # systemctl start targetcli.service linux-lokb:~ # load loadkeys load_targetcli_config loadunimap linux-lokb:~ # load_targetcli_config /etc/target/scsi_target.lio No handlers could be found for logger "Config" Loaded configuration file: /etc/target/scsi_target.lio linux-lokb:~ # targetcli ls /usr/lib/python2.7/site-packages/targetcli/ui_node.py:20: UserWarning: 'configshell' package name for configshell-fb is deprecated, please instead import 'configshell_fb' from configshell import ConfigNode, ExecutionError o- / ......................................................................................................................... [...] o- backstores .............................................................................................................. [...] | o- fileio ................................................................................................... [0 Storage Object] | o- iblock ................................................................................................... [1 Storage Object] | | o- ocfs2_san ............................................................................................ [/dev/vdb activated] | o- pscsi .................................................................................................... [0 Storage Object] | o- rbd ...................................................................................................... [0 Storage Object] | o- rd_mcp ................................................................................................... [0 Storage Object] o- ib_srpt ........................................................................................................... [0 Targets] o- iscsi .............................................................................................................. [1 Target] | o- iqn.2016-07.suse.com ................................................................................................ [1 TPG] | o- tpg1 ............................................................................................................ [enabled] | o- acls ........................................................................................................... [0 ACLs] | o- luns ............................................................................................................ [1 LUN] | | o- lun0 .................................................................................... [iblock/ocfs2_san (/dev/vdb)] | o- portals ...................................................................................................... [1 Portal] | o- 192.168.101.169:3260 .............................................................................. [OK, iser disabled] o- loopback .......................................................................................................... [0 Targets] o- qla2xxx ........................................................................................................... [0 Targets] o- tcm_fc ............................................................................................................ [0 Targets] o- vhost ............................................................................................................. [0 Targets]
linux-lokb:~ # systemctl start targetcli.service linux-lokb:~ # load loadkeys load_targetcli_config loadunimap
linux-lokb:~ # load_targetcli_config /etc/target/scsi_target.lio No handlers could be found for logger "Config" Loaded configuration file: /etc/target/scsi_target.lio linux-lokb:~ # targetcli ls /usr/lib/python2.7/site-packages/targetcli/ui_node.py:20: UserWarning: 'configshell' package name for configshell-fb is deprecated, please instead import 'configshell_fb' from configshell import ConfigNode, ExecutionError o- / ......................................................................................................................... [...] o- backstores .............................................................................................................. [...] | o- fileio ................................................................................................... [0 Storage Object] | o- iblock ................................................................................................... [1 Storage Object] | | o- ocfs2_san ............................................................................................ [/dev/vdb activated] | o- pscsi .................................................................................................... [0 Storage Object] | o- rbd ...................................................................................................... [0 Storage Object] | o- rd_mcp ................................................................................................... [0 Storage Object] o- ib_srpt ........................................................................................................... [0 Targets] o- iscsi .............................................................................................................. [1 Target] | o- iqn.2016-07.suse.com ................................................................................................ [1 TPG] | o- tpg1 ............................................................................................................ [enabled] | o- acls ........................................................................................................... [0 ACLs] | o- luns ............................................................................................................ [1 LUN] | | o- lun0 .................................................................................... [iblock/ocfs2_san (/dev/vdb)] | o- portals ...................................................................................................... [1 Portal] | o- 192.168.101.169:3260 .............................................................................. [OK, iser disabled] o- loopback .......................................................................................................... [0 Targets] o- qla2xxx ........................................................................................................... [0 Targets] o- tcm_fc ............................................................................................................ [0 Targets] o- vhost ............................................................................................................. [0 Targets]