TGT管理命令
tgtadm命令
tgtadm -L iscsi -o show -m target
tgt-admin --show
输出:
Target 1: iqn.hxl.com.test
System information:
Driver: iscsi
State: ready
I_T nexus information:
LUN information:
LUN: 0
Type: controller
SCSI ID: IET 00010000
SCSI SN: beaf10
Size: 0 MB, Block size: 1
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
Backing store type: null
Backing store path: None
Backing store flags:
Account information:
ACL information:
在线修改配置文件生效:
tgt-admin --update ALL -f -c /etc/tgt/targets.conf