1)修改iqn地址
smit chgiscsisw
Type or select values in entry fields.Press Enter AFTER making all desired changes.
[Entry Fields]
iSCSI Protocol Device iscsi0
Description iSCSI Protocol Device
Status Available
iSCSI Initiator Name [iqn.loiqn.1992-08.com.ibm:aix-rtp]
Maximum number of commands to queue to driver [200] +#
Discovery Policy file +
Maximum Targets Allowed [16] +#
Apply change to DATABASE only no
修改iqn地址为iqn.2000-01.com.synology:themain-2nd.iterp
2)修改iscsi配置文件
# vi /etc/iscsi/targets
172.29.88.61 3260 iqn.2000-01.com.synology:themain-2nd.iterp
3)刷新设备
# cfgmgr -v -l iscsi0# 刷新设备列表
# lsdev -Cc disk#列出磁盘状态
hdisk0 Available 03-08-00-5,0 16 Bit LVD SCSI Disk Drive