跳转到主内容

iSCSI IQN 名称的最大长度是多少

Views:
74
Visibility:
Public
Votes:
0
Category:
fas-systems
Specialty:
san
Last Updated:

可不使用  

适用场景

ONTAP 9

问题解答

  • 当您尝试向 IGroup 添加启动程序时,可能会报告以下错误消息:


    ::> igroup add -vserver svm31 -igroup test -initiator iqn.1992-08.com.netapp:sn.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    Error: command failed: Initiator "iqn.1992-08.com.netapp:sn.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" too long (need 223     or fewer characters).

  • 但是,当您尝试修改 NetApp 控制器的 iSCSI 目标 IQN 时,会看到另一个警报:


    ::> iscsi modify -vserver future -target-name     iqn.1992-    08.com.netapp:sn.f4a0d654ca1b11e5b6cd00a09830e2f8@xxxxxxxxxxxxxxxx#s_:vs.7

    Error: "iqn.1992-08.com.netapp:sn.f4a0d654ca1b11e5b6cd00a09830e2f8@xxxxxxxxxxx" is an invalid value for field "-target-name
    <text (size 1..128)>"

  • 根据 RFC 3270 的规定,“每个 iSCSI 节点(无论是启动程序还是目标)都必须具有 iSCSI 名称。启动程序和目标必须支持接收最长为 223 字节的 iSCSI 名称。 '
  • 有效的 IQN 名称长度不能超过 223 个字节。
  • 但是,对于 NetApp 来说, IQN 名称的最大长度为 128 个字符。修改 NetApp iSCSI Target IQN 时,有效值应小于 128 。

追加信息

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.