配置举例 ./stor lun ls n lunf1 LUN Name: lunf1 (LUN 0) Storage Mode: Local Capacity: 600 GiB Status: Normal iSCSI Target: iqn.201208.cn.ctyunapi.oos:targetf.5(192.168.0.32:3260,Active) Create Time: 20260121 10:00:56 Local Sector Size: 4096 Bytes Data Health: 100% normal, 0% low redundancy, 0% error Write Policy: WriteBack WWID: 33000000030f798a5 UUID: lunuuid7b7f91d8b75e4de2ac69621e4be7a0cf Path: /mnt/storage01 Snapshot Count: 0 Snapshot Size: 0 B (Note: Snapshot size may vary due to LUN issues or parent snapshot deletion.) [root@hblockserver CTYUNHBlockPlus4.0.0x64] ./stor target ls n targetf Target Name: targetf Max Sessions: 2 Create Time: 20260121 10:00:15 iSCSI Target: iqn.201208.cn.ctyunapi.oos:targetf.5(192.168.0.32:3260) LUN: lunf1(LUN 0) Reclaim Policy: Retain Linux客户端 1. 发现lund1和lunf1的Target: plaintext [root@client ~] iscsiadm m discovery t st p 192.168.0.32 192.168.0.32:3260,1 iqn.201208.cn.ctyunapi.oos:targetf.5 192.168.0.32:3260,1 iqn.201208.cn.ctyunapi.oos:targetd.4 192.168.0.32:3260,1 iqn.201208.cn.ctyunapi.oos:targetc.3 2. 登录iSCSI存储。 登录lund1的iSCSI存储,需要进行CHAP认证: plaintext [root@client ~]