迁移iSCSI target(集群版适用) 请求示例 迁移target03。 plaintext PUT /rest/v1/block/target/target03/migrate?forcetrue HTTP/1.1 Date: Mon, 22 Jun 2026 10:29:13 GMT ContentType: application/json; charsetutf8 Authorization: HBlock userName:signature ContentLength: 117 Host: 192.168.0.65:1443 { "server": [ { "source": "hblock3", "dest": "hblock2" } ] } 响应示例 plaintext HTTP/1.1 200 OK xhblockrequestid: 4371cbe82191417b940d1e08a304928e Connection: keepalive ContentType: application/json; charsetutf8 ContentLength: 1013 Date: Mon, 22 Jun 2026 10:29:16 GMT Server: HBlock { "data": { "luns": [ { "lunName": "lun03a", "iSCSITargets": [ { "iqn": "iqn.201208.cn.ctyunapi.oos:target03.5", "status": "Unavailable", "ips": [ { "ip": "192.168.0.64", "port": 3260 } ], "targetPortalIP": { "ips": [ { "ip": "10.1.0.3", "port": 105 } ], "status": "Disabled" } }, { "iqn": "iqn.201208.cn.ctyunapi.oos:target03.6", "status": "Active", "ips": [ { "ip": "192.168.0.68", "port": 3260 } ], "targetPortalIP": { "ips": [ { "ip": "10.1.0.3", "port": 105 } ], "status": "Disabled" } } ] }, { "lunName": "lun03c", "iSCSITargets": [ { "iqn": "iqn.201208.cn.ctyunapi.oos:target03.5", "status": "Unavailable", "ips": [ { "ip": "192.168.0.64", "port": 3260 } ], "targetPortalIP": { "ips": [ { "ip": "10.1.0.3", "port": 105 } ], "status": "Disabled" } }, { "iqn": "iqn.201208.cn.ctyunapi.oos:target03.6", "status": "Active", "ips": [ { "ip": "192.168.0.68", "port": 3260 } ], "targetPortalIP": { "ips": [ { "ip": "10.1.0.3", "port": 105 } ], "status": "Disabled" } } ] } ], "message": "Insufficient memory, please increase the total system memory or separately raise the memory allocation for the services on the following servers:nhblock2" } } 说明 卷关联的iSCSI target处于Unavailable状态,表示iSCSI target正在从一个服务器迁移到集群其他服务器上,迁移过程,该iSCSI target处于Unavailable状态。迁移完成后,iSCSI target将变为Active或者Standby状态。