NDCTL-CHECK-NAMESPACE(1)
π ndctl-check-namespace(1) π
okay bestie so this is a page from the ndctl manual, and it's literally all about ndctl-check-namespace β the little icon that checks whether your namespace metadata is giving consistent or messy. let's get into it π«Ά
β¨ NAME β¨
ndctl-check-namespace β check namespace metadata consistency π
πΈ SYNOPSIS πΈ
ndctl check-namespace <namespace> [<options>]
π¦ DESCRIPTION π¦
so, a namespace that's chillin' in sector mode has metadata sitting on it that describes the kernel BTT (Block Translation Table). and like, that metadata can get weird. the check-namespace command is here to check the consistency of that metadata, and if it's got enough info to work with, it can optionally also try to repair it. bestie behaviour fr fr π
okay important thing: the namespace you're checking has to be disabled before you start a check on it, just as a precautionary measure. but the --force option can override that, if you're feeling spicy πΆοΈ
π EXAMPLES π
Check a namespace (only report errors) β like, no touchy, just looking π
ndctl disable-namespace namespace0.0
ndctl check-namespace namespace0.0
Check a namespace, and perform repairs if possible β now we're fixing things, main character energy β¨
ndctl disable-namespace namespace0.0
ndctl check-namespace --repair namespace0.0
π OPTIONS π
-R,--repairβ perform metadata repairs if possible. if you don't pass this, the raw namespace contents will not be touched at all. hands off, respectfully π-L,--rewrite-logβ regenerate the BTT log and write it to media. this one's for converting from the old (pre 4.15) padding format that was incompatible with other BTT implementations over to the updated format. heads up though: this requires the--repairoption to be provided too.
β οΈ 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.
no like seriously, do NOT interrupt it. back up your raw namespace first, i'm begging π
-f,--forceβ unless you specify this, a check-namespace operation will fail if the namespace is presently active. specifying--forcecauses the namespace to be disabled before checking. it's giving "fine, i'll do it myself" π-v,--verboseβ emit debug messages for the namespace check process. yapping mode: enabled π£οΈ-r,--region=β aregionXdevice name, or a region id number. restrict the operation to the specified region(s). the keywordallcan be specified to indicate the lack of any restriction β however, this is the same as not supplying a--regionoption at all. so like,alland nothing are the same vibe, iykyk π-b,--bus=β a bus id number, or a provider string (e.g."ACPI.NFIT"). restrict the operation to the specified bus(es). the keywordallcan be specified to indicate the lack of any restriction β however, this is the same as not supplying a--busoption at all. same energy as above, no cap π§
π COPYRIGHT π
Copyright Β© 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 ALSO β
ndctl-disable-namespace(1)ndctl-enable-namespace(1)- UEFI NVDIMM Label Protocol <http://www.uefi.org/sites/default/files/resources/UEFI_Spec_2_7.pdf>
and that's the whole page, bestie, we ate and left no crumbs π this was the ndctl manual, page dated 2026-07-07 β go check those namespaces, but disable them first, mwah πβ¨
π¦ where this page comes from
- fedora 43: ndctl 85-1.fc43 Β· GPL-2.0-only AND LGPL-2.1-only AND CC0-1.0 AND MIT
- fedora 44: ndctl 85-1.fc44 Β· GPL-2.0-only AND LGPL-2.1-only AND CC0-1.0 AND MIT
- ubuntu stonking: ndctl 82-1ubuntu1 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms