NetWorker:REST API 工作 GET 要求會顯示以 KB 為單位的 dataSize 值,但回報的單位為「位元組」
Summary: NetWorker 提供具象狀態傳輸 (REST) 應用程式程式設計介面 (API),可用於從 NetWorker 應用程式收集資料。基於「作業」的 GET 請求將 dataSize 單位報告為「位元組」;但是,顯示的值是備份大小(以 KB 為單位),而不是位元組。
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
- REST API GET 要求用於從 NetWorker 伺服器收集「工作」資訊。
curl -k -u Administrator:'PASSWORD' -X GET https://networker-mc.emclab.local:9090/nwrestapi/v3/global/jobs/JOBID
- 數據大小單位顯示為位元組;但是,顯示的值以 KB 為單位:
這僅為 0.097756 MB。
- 與此儲存集的 mminfo 輸出進行比較時,可以看到差異:
root@networker-mc:~# mminfo -avot -q client=nwrhel9.emclab.local
volume type client date time size ssid fl lvl name
...
DD4200FF28FSBackup.001 Data Domain NWrhel9.emclab.local 01/16/2024 09:00:22 PM 97 MB 1453798583 cb incr /
REST API 輸出中顯示的單位以千位元組為單位,與轉換為兆位元組時的 mminfo 輸出相匹配;但是,REST API 輸出中顯示的「單位」具有誤導性。
Cause
已向 NetWorker 工程部門提出此問題。
Resolution
已針對此問題提出程式碼瑕疵。此問題會影響所有目前的 NetWorker 版本。NetWorker 19.10.0.2 版本 (2024 年 3 月) 中預計會提供程式碼修正;但是,這可能會發生變化。
在應用代碼修復之前,您可以繼續使用作業 GET 請求;但是,請注意,該值以 KB 為單位,而不是以位元組為單位。
Additional Information
Affected Products
NetWorkerProducts
NetWorker Family, NetWorker SeriesArticle Properties
Article Number: 000221479
Article Type: Solution
Last Modified: 30 Dec 2025
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.