CloudPools CLI 命令最多僅提供 100,000 個元素
Summary: 由於記憶體限制和命令行介面 (CLI) 上適當參數的可用性,CloudPools 命令的輸出會受到限制。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
某些適用於 CloudPools 的 CLI 命令可能會傳回許多項目。例如:
isi cloud jobs files list <jobid>
上述命令的輸出可能具有數倍以上的 100,000 個元素,具體取決於受作業影響的文件數。若未說明修正,則只會列出前 100,000 個項目,除非直接進行平台 API (PAPI) 呼叫。
Cause
這樣做的原因是PAPI處理程式已修改為處理批處理和頁面參數,並且可以列出100000之後的條目。但是,執行此操作的參數並未在 CLI 中實現。此修復將批處理和頁面參數添加到 CLI。
Resolution
此限制已在 OneFS v8.0.0.7 及更新版本中修正。
通過修復,必須同時指定批處理、限制和頁面參數,以便 CLI 命令輸出預期結果。
例如:
# isi cloud jobs files list --job-id=49 --verbose --batch=1 --limit=100000 --page=1 # isi cloud jobs files list --job-id=49 --verbose --batch=1 --limit=100000 --page=2 # isi cloud jobs files list --job-id=49 --verbose --batch=1 --limit=100000 --page=3 ...
Additional Information
作為解決方法,在實施修復之前,可以直接使用 cURL 進行 PAPI 調用。語法範例為:
# curl -u root:a -H "Content-type: application/json" 'https://100.77.1.231:8080/platform/3/cloud/jobs-files/4?batch=1&limit=100000&page=1' -k > /ifs/data/Isilon_Support/job49_filelist_page1 # curl -u root:a -H "Content-type: application/json" 'https://100.77.1.231:8080/platform/3/cloud/jobs-files/4?batch=1&limit=100000&page=2' -k > /ifs/data/Isilon_Support/job49_filelist_page2 # curl -u root:a -H "Content-type: application/json" 'https://100.77.1.231:8080/platform/3/cloud/jobs-files/4?batch=1&limit=100000&page=3' -k > /ifs/data/Isilon_Support/job49_filelist_page3
Affected Products
PowerScale OneFSArticle Properties
Article Number: 000035811
Article Type: Solution
Last Modified: 18 Sep 2025
Version: 6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.