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

NAMEndctl-check-namespace − check namespace metadata consistency

SYNOPSISndctl check−namespace <namespace> [<options>]

DESCRIPTIONA namespace in the sector mode will have metadata on it to describe the kernel BTT (Block Translation Table)​. The check−namespace command can be used to check the consistency of this metadata, and optionally, also attempt to repair it, if it has enough information to do so​. The namespace being checked has to be disabled before initiating a check on it as a precautionary measure​. The −−force option can override this​.

EXAMPLESCheck a namespace (only report errors) ndctl disable−namespace namespace0​.0 ndctl check−namespace namespace0​.0Check a namespace, and perform repairs if possible ndctl disable−namespace namespace0​.0 ndctl check−namespace −−repair namespace0​.0

OPTIONS−R, −−repair Perform metadata repairs if possible​. Without this option, the raw namespace contents will not be touched​. −L, −−rewrite−log Regenerate the BTT log and write it to media​. This can be used to convert from the old (pre 4​.15) padding format that was incompatible with other BTT implementations to the updated format​. This requires the −−repair option to be provided​. WARNING: Do not interrupt this operation as it can potentially cause unrecoverable metadata corruption​. It is highly recommended to create a backup of the raw namespace before attempting this​.−f, −−force Unless this option is specified, a check−namespace operation will fail if the namespace is presently active​. Specifying −−force causes the namespace to be disabled before checking​. −v, −−verbose Emit debug messages for the namespace check process​. −r, −−region= A regionX device name, or a region id number​. Restrict the operation to the specified region(s)​. The keyword all can be specified to indicate the lack of any restriction, however this is the same as not supplying a −−region option at all​. −b, −−bus= A bus id number, or a provider string (e​.g​. "ACPI​.NFIT")​. Restrict the operation to the specified bus(es)​. The keyword all can be specified to indicate the lack of any restriction, however this is the same as not supplying a −−bus option at all​.

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−disable−namespace[1], linkndctl:ndctl−enable−namespace[1], UEFI NVDIMM Label Protocol[1]

NOTES 1. UEFI NVDIMM Label Protocol ­http://www.uefi.org/sites/default/files/resources/UEFI_Spec_2_7.pdf
0
Johanes Gumabo
Data Size   :   9,776 byte
man-ndctl-check-namespace.1Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 256,230
Visitor ID   :     :  
Visitor IP   :   3.138.134.77   :  
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.29
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.