批量查询卷 请求示例2 集群版:查询卷名称包含lun01或lun02的卷,并且只列出第3个到第5个查询结果。 plaintext GET /rest/v2/block/lun?filterlunName:lun01 or lunName:lun02 &range35 HTTP/1.1 Date: Wed, 17 Jun 2026 02:29:31 GMT Authorization: HBlock userName:signature Connection: keepalive Host: 192.168.0.65:1443 响应示例2 plaintext HTTP/1.1 200 OK xhblockrequestid: 0cab78d8531c45f1a4ef18dea90ef8fd Connection: keepalive ContentLength: 3115 Date: Wed, 17 Jun 2026 02:29:31 GMT ContentType: application/json;charsetutf8 Server: HBlock { "data": { "luns": [ { "lunName": "lun01ac2", "status": "Normal", "capacity": 110, "storageMode": "Local", "createTime": 1781593182986, "iSCSITargets": [ { "iqn": "iqn.201208.cn.ctyunapi.oos:target01.1", "status": "Active", "ips": [ { "ip": "192.168.0.67", "port": 3260 } ], "targetPortalIP": { "ips": [ { "ip": "10.1.0.3", "port": 105 } ], "status": "Disabled" }, "serverId": "hblock3" }, { "iqn": "iqn.201208.cn.ctyunapi.oos:target01.2", "status": "Standby", "ips": [ { "ip": "192.168.0.65", "port": 3260 } ], "targetPortalIP": { "ips": [ { "ip": "10.1.0.3", "port": 105 } ], "status": "Disabled" }, "serverId": "hblock1" } ], "config": { "localStorageClass": "EC 2+1", "minReplica": 2, "sectorSize": 4096, "highAvailability": "ActiveStandby", "writePolicy": "WriteThrough", "pool": "defaultpool", "redundancyOverlap": 1, "reclaimPolicy": "Retain", "serverAffinity": { "autoFailback": "Enabled" }, "compress": { "algorithm": "Zstd", "zstdLevel": 5 }, "ECfragmentSize": 16 }, "dataHealth": { "normal": 100, "lowRedundancy": 0, "error": 0 }, "number": 7, "isClone": true, "sourceSnapshotName": "snap1", "sourceLunName": "lun01a", "snapshots": { "snapshotNumbers": 0, "snapshotSize": 0 }, "WWID": "33000000029abe0b5" }, { "lunName": "lun01c", "status": "Normal", "capacity": 10, "storageMode": "Local", "createTime": 1781575688087, "iSCSITargets": [ { "iqn": "iqn.201208.cn.ctyunapi.oos:target1.9", "status": "Active", "ips": [ { "ip": "192.168.0.68", "port": 3260 } ], "targetPortalIP": { "ips": [ { "ip": "10.1.0.3", "port": 105 } ], "status": "Disabled" }, "serverId": "hblock4" }, { "iqn": "iqn.201208.cn.ctyunapi.oos:target1.10", "status": "Standby", "ips": [ { "ip": "192.168.0.64", "port": 3260 } ], "targetPortalIP": { "ips": [ { "ip": "10.1.0.3", "port": 105 } ], "status": "Disabled" }, "serverId": "hblock2" } ], "config": { "localStorageClass": "3copy", "minReplica": 1, "sectorSize": 4096, "highAvailability": "ActiveStandby", "writePolicy": "WriteBack", "pool": "defaultpool", "redundancyOverlap": 1, "reclaimPolicy": "Retain", "serverAffinity": { "autoFailback": "Enabled" }, "compress": { "algorithm": "Zstd", "zstdLevel": 5 } }, "dataHealth": { "normal": 100, "lowRedundancy": 0, "error": 0 }, "number": 0, "isClone": false, "snapshots": { "snapshotNumbers": 1, "snapshotSize": 0 }, "WWID": "33000000047098116" }, { "lunName": "lun02b", "status": "Normal", "capacity": 210, "storageMode": "Cache", "createTime": 1781576842029, "iSCSITargets": [ { "iqn": "iqn.201208.cn.ctyunapi.oos:target02.4", "status": "Active", "ips": [ { "ip": "192.168.0.64", "port": 3260 } ], "targetPortalIP": { "ips": [ { "ip": "10.1.0.3", "port": 105 } ], "status": "Disabled" }, "serverId": "hblock2" }, { "iqn": "iqn.201208.cn.ctyunapi.oos:target02.3", "status": "Standby", "ips": [ { "ip": "192.168.0.68", "port": 3260 } ], "targetPortalIP": { "ips": [ { "ip": "10.1.0.3", "port": 105 } ], "status": "Disabled" }, "serverId": "hblock4" } ], "cloud": { "bucketName": "hblocktest3", "endpoint": " "signVersion": "v2", "provider": "OOS" }, "config": { "localStorageClass": "EC 2+1", "minReplica": 2, "sectorSize": 4096, "highAvailability": "ActiveStandby", "writePolicy": "WriteBack", "pool": "defaultpool", "redundancyOverlap": 1, "reclaimPolicy": "Retain", "serverAffinity": { "autoFailback": "Enabled" }, "compress": { "algorithm": "None" }, "ECfragmentSize": 16 }, "dataHealth": { "normal": 100, "lowRedundancy": 0, "error": 0 }, "number": 1, "WWID": "3300000001892b447" } ] } }