Oracle® ZFS Storage Appliance 管理指南,发行版 2013.1.5.0

退出打印视图

更新时间: 2016 年 2 月
 
 

通过 CLI 使用自动生成的 IQN 添加 iSCSI 目标

  • 要使用自动生成的 IQN 添加 iSCSI 目标,请使用以下 CLI 命令:
    ahi:configuration san iscsi targets> create
    ahi:configuration san iscsi targets target (uncommitted)> set alias="Target 0"
    ahi:configuration san iscsi targets target (uncommitted)> set auth=none
    ahi:configuration san iscsi targets target (uncommitted)> set interfaces=igb1 
    ahi:configuration san iscsi targets target (uncommitted)> commit
    ahi:configuration san iscsi targets> list
    TARGET     ALIAS          
    target-000 Target 0       
               |
               +-> IQN
                   iqn.1986-03.com.sun:02:daf0161f-9f5d-e01a-b5c5-e1efa9578416