From: Jeff Lien Date: Tue, 28 Nov 2017 15:43:40 +0000 (-0700) Subject: NVMe-CLI : WDC-Plugin Documentation for Updated Smart Log Command X-Git-Tag: v1.5~23 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=5209488515c29e4e6e814696d9f5e3e7a4c716ac;p=users%2Fsagi%2Fnvme-cli.git NVMe-CLI : WDC-Plugin Documentation for Updated Smart Log Command Signed-off-by: Jeff Lien [Split html and man pages from txt] Signed-off-by: Keith Busch --- diff --git a/Documentation/nvme-wdc-smart-log-add.txt b/Documentation/nvme-wdc-smart-add-log.txt similarity index 68% rename from Documentation/nvme-wdc-smart-log-add.txt rename to Documentation/nvme-wdc-smart-add-log.txt index 1c924be8..5abb914e 100644 --- a/Documentation/nvme-wdc-smart-log-add.txt +++ b/Documentation/nvme-wdc-smart-add-log.txt @@ -1,18 +1,18 @@ -nvme-wdc-smart-log-add(1) +nvme-wdc-smart-add-log(1) ========================= NAME ---- -nvme-wdc-smart-log-add - Send NVMe WDC smart-log-add Vendor Unique Command, return result +nvme-wdc-smart-add-log - Send NVMe WDC smart-add-log Vendor Unique Command, return result SYNOPSIS -------- [verse] -'nvme wdc smart-log-add' [--interval=, -i ] [--output-format= -o ] +'nvme wdc smart-add-log' [--interval=, -i ] [--output-format= -o ] DESCRIPTION ----------- -For the NVMe device given, send a Vendor Unique WDC smart-log-add command and +For the NVMe device given, send a Vendor Unique WDC smart-add-log command and provide the additional smart log. The --interval option will return performance statistics from the specified reporting interval. @@ -59,8 +59,86 @@ accumulated statistics. |The statistical set accumulated during the entire lifetime of the device. |=== -Output Explanation ------------------- +CA Log Page Data Output Explanation +----------------------------------- +[cols="2*", frame="topbot", align="center", options="header"] +|=== +|Field |Description + +|*Physical NAND bytes written.* +|The number of bytes written to NAND. 16 bytes - hi/lo + +|*Physical NAND bytes read* +|The number of bytes read from NAND. 16 bytes - hi/lo + +|*Bad NAND Block Count* +|Raw and normalized count of the number of NAND blocks that have been +retired after the drives manufacturing tests (i.e. grown back blocks). +2 bytes normalized, 6 bytes raw count + +|*Uncorrectable Read Error Count* +|Total count of NAND reads that were not correctable by read retries, all +levels of ECC, or XOR (as applicable). 8 bytes + +|*Soft ECC Error Count* +|Total count of NAND reads that were not correctable by read retries, or +first-level ECC. 8 bytes + +|*SSD End to End Detection Count* +|A count of the detected errors by the SSD end to end error correction which +includes DRAM, SRAM, or other storage element ECC/CRC protection mechanism (not +NAND ECC). 4 bytes + +|*SSD End to End Correction Count* +|A count of the corrected errors by the SSD end to end error correction which +includes DRAM, SRAM, or other storage element ECC/CRC protection mechanism (not +NAND ECC). 4 bytes + +|*System Data % Used* +|A normalized cumulative count of the number of erase cycles per block since +leaving the factory for the system (FW and metadata) area. Starts at 0 and +increments. 100 indicates that the estimated endurance has been consumed. + +|*User Data Max Erase Count* +|The maximum erase count across all NAND blocks in the drive. 4 bytes + +|*User Data Min Erase Count* +|The minimum erase count across all NAND blocks in the drive. 4 bytes + +|*Refresh Count* +|A count of the number of blocks that have been re-allocated due to +background operations only. 8 bytes + +|*Program Fail Count* +|Raw and normalized count of total program failures. Normalized count +starts at 100 and shows the percent of remaining allowable failures. +2 bytes normalized, 6 bytes raw count + +|*User Data Erase Fail Count* +|Raw and normalized count of total erase failures in the user area. +Normalized count starts at 100 and shows the percent of remaining +allowable failures. 2 bytes normalized, 6 bytes raw count + +|*System Area Erase Fail Count* +|Raw and normalized count of total erase failures in the system area. +Normalized count starts at 100 and shows the percent of remaining +allowable failures. 2 bytes normalized, 6 bytes raw count + +|*Thermal Throttling Status* +|The current status of thermal throttling (enabled or disabled). +2 bytes + +|*Thermal Throttling Count* +|A count of the number of thermal throttling events. 2 bytes + +|*PCIe Correctable Error Count* +|Summation counter of all PCIe correctable errors (Bad TLP, Bad +DLLP, Receiver error, Replay timeouts, Replay rollovers). 8 bytes +|=== + + +C1 Log Page Data Output Explanation +----------------------------------- [cols="2*", frame="topbot", align="center", options="header"] |=== |Field |Description @@ -179,10 +257,10 @@ a detrimental effect on the overall performance of the device. EXAMPLES -------- -* Has the program issue WDC smart-log-add Vendor Unique Command with default interval (14) : +* Has the program issue WDC smart-add-log Vendor Unique Command with default interval (14) : + ------------ -# nvme wdc smart-log-add /dev/nvme0 +# nvme wdc smart-add-log /dev/nvme0 ------------ NVME