stmfadm add-hg-member
- 向主机组添加主机组成员
iqn.2019-08.com.baidu:1565547256781.initiator: initiator名称
stmfadm add-hg-member -g group1 iqn.2019-08.com.baidu:1565547256781.initiator
stmfadm remove-hg-member
- 删除主机组成员
iqn.2019-08.com.baidu:1565547256781.initiator: initiator名称
stmfadm remove-hg-member -g group1 iqn.2019-08.com.baidu:1565547256781.initiator
stmfadm add-view
- 为主机组添加LU视图
1: lun(逻辑单元号)
group1: 主机组名称
234235435: 逻辑单元名称
stmfadm add-view -n 1 -h group1 234235435
stmfadm remove-view
- 删除视图
324234: lu名称
0: entryName
stmfadm remove-view -l 324234 0
stmfadm create-hg
- 创建主机组
group1: 主机名称
stmfadm create-hg group1
stmfadm delete-hg
- 删除主机组
group1: 主机名称
stmfadm delete-hg group1
stmfadm list-target
- 列举所有的target
-v :详细信息
并可以指定target
stmfadm list-target
stmfadm list-target -v
stmfadm list-target -v iqn.2019-08.com.baidu:110
stmfadm list-hg
-v :详细信息
stmfadm list-hg
stmfadm list-hg -v
stmfadm list-lu
stmfadm list-lu -v
stmfadm list-target
- 列举系统所有target的信息,包括与之连接的initiator信息
stmfadm list-view
- 获取视图信息
4354353: lu名称
stmfadm list-view -l 4354353
网友评论