NDCTL−WAIT−SCRUB - Online Linux Manual PageSection : 1
Updated : 02/24/2023
Source :  ​
Note :  ​

NAMEndctl-wait-scrub − wait for an Address Range Scrub (ARS) operation to complete

SYNOPSISndctl wait−scrub [<bus−id> <bus−id2> ​... <bus−idN>] [<options>]

DESCRIPTIONNVDIMM Address Range Scrub is a capability provided by platform firmware that allows for the discovery of memory errors by system software​. It enables system software to pre−emptively avoid accesses that could lead to uncorrectable memory error handling events, and it otherwise allows memory errors to be enumerated​. The kernel provides a POLL(2) capable sysfs file (scrub) to indicate the state of ARS​. The scrub file maintains a running count of ARS runs that have taken place​. While a current run is in progress a + character is emitted along with the current count​. The ndctl wait−scrub operation waits for scrub, across all specified buses, to indicate not in−progress at least once​.

EXAMPLEWait for scrub on all nvdimm buses in the system​. The json listing report at the end only includes the buses that support ARS operations​. # ndctl wait−scrub [ { "provider":"nfit_test​.1", "dev":"ndbus3", "scrub_state":"idle" }, { "provider":"nfit_test​.0", "dev":"ndbus2", "scrub_state":"idle" } ]When specifying an individual bus, or if there is only one bus in the system, the command reports whether ARS support is available​. # ndctl wait−scrub e820 error waiting for scrub completion: Operation not supported

OPTIONS−v, −−verbose Emit debug messages for the ARS wait process

COPYRIGHTCopyright © 2016 − 2022, Intel Corporation​. License GPLv2: GNU GPL version 2 http://gnu​.org/licenses/gpl​.html​. This is free software: you are free to change and redistribute it​. There is NO WARRANTY, to the extent permitted by law​.

SEE ALSOlinkndctl:ndctl−start−scrub[1], ACPI 6​.2 Specification Section 9​.20​.7​.2 Address Range Scrubbing (ARS) Overview[1]

NOTES 1. ACPI 6.2 Specification Section 9.20.7.2 Address Range Scrubbing (ARS) Overview ­http://www.uefi.org/sites/default/files/resources/ACPI%206_2_A_Sept29.pdf
0
Johanes Gumabo
Data Size   :   8,077 byte
man-ndctl-wait-scrub.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 171,542
Visitor ID   :     :  
Visitor IP   :   3.133.122.95   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.