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

NAMEndctl-read-infoblock − read and optionally parse the info−block a namespace

SYNOPSISndctl read−infoblock <namespace0​.0> [<namespace1​.0>​.​.<namespaceN​.Y>] [<options>]

DESCRIPTIONAs described in the theory of operation section of linkndctl:ndctl−create−namespace[1], the raw capacity of a namespace may encapsulate a personality, or mode of operation​. Specifically, the mode may be set to one of "sector", "fsdax", and "devdax"​. Each of those modes is defined by an info−block format that uniquely identifies the mode of operation​. The read−infoblock command knows the location (relative to the start of the namespace) and field definition of those data structures​. Note that unlike a partition table info−block is not exposed by default, so the namespace needs to be disabled before the info−block can be accessed​.

EXAMPLEndctl disable−namespace namespace0​.0 disabled 1 namespace ndctl read−infoblock −j namespace0​.0 [ { "dev":"namespace0​.0", "signature":"NVDIMM_PFN_INFO", "uuid":"56b11990−66b1−4d91−9cac−ca084c051259", "parent_uuid":"00000000−0000−0000−0000−000000000000", "flags":0, "version":"1​.3", "dataoff":69206016, "npfns":1031680, "mode":2, "start_pad":0, "end_trunc":0, "align":2097152 } ]

OPTIONS<namespace(s)> One or more namespaceX​.Y device names​. The keyword all can be specified to operate on every namespace in the system, optionally filtered by bus id (see −−bus= option), or region id (see −−region= option)​. −V, −−verify Attempt to validate that the info−block is self consistent by validating the embedded checksum, and that info−block formats that contain a parent−uuid attribute also match the base−uuid of the namespace​. −o, −−output Output file −j, −−json Parse the info−block data into json​. −u, −−human Enable json output and convert number formats to human readable strings, for example show the size in terms of "KB", "MB", "GB", etc instead of a signed 64−bit numbers per the JSON interchange format (implies −−json)​. −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​.

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−create−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   :   10,997 byte
man-ndctl-read-infoblock.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 170,297
Visitor ID   :     :  
Visitor IP   :   13.59.36.4   :  
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.