PMEMPOOL-FEATURE(1)
π pmempool-feature β PMDK Programmer's Manual π
NAME β¨
pmempool-feature β toggle or query pool set features, bestie. Thatβs literally the whole vibe. π
SYNOPSIS π
$ pmempool feature (-e|-d|-q feature-name) [options] <file>
DESCRIPTION π¦
The pmempool feature command enables / disables or queries pool set features. Okay so itβs giving βfeature switchboard, but make it Unix.β β¨
Available pool feature-names are:
SINGLEHDRβ only the first part in each replica contains the pool part internal metadata. This value can be used only with-q. It can not be enabled or disabled. For details seepoolset(5).CHECKSUM_2Kβ only the first2KiBof pool part internal metadata is checksummed. Other features may depend on this one to store additional metadata in otherwise unused second2KiBpart of a header. WhenCHECKSUM_2Kis disabled whole4KiBis checksummed.SHUTDOWN_STATEβ enables additional check performed during pool open which verifies pool consistency in the presence of dirty shutdown.CHECKSUM_2Khas to be enabled prior toSHUTDOWN_STATEotherwise enablingSHUTDOWN_STATEwill fail. No cap, that prerequisite is real. πCHECK_BAD_BLOCKSβ enables checking bad blocks performed during opening a pool and fixing bad blocks performed bypmempool-syncduring syncing a pool. Currently (Linux kernel v4.19,libndctl v62) checking and fixing bad blocks require read access to the following resource files (containing physical addresses) of NVDIMM devices which only root can read by default:
/sys/bus/nd/devices/ndbus*/region*/resource
/sys/bus/nd/devices/ndbus*/region*/dax*/resource
/sys/bus/nd/devices/ndbus*/region*/pfn*/resource
/sys/bus/nd/devices/ndbus*/region*/namespace*/resource
It is possible to use poolset as file argument. π«Ά
Available options: π
-h,--helpβ Print help message. Instant assist, iconic.-v,--verboseβ Increase verbosity level. Sheβs chatty and we respect it. π£οΈ-e,--enablefeature-nameβ Enable feature for pool set.-d,--disablefeature-nameβ Disable feature for pool set.-q,--queryfeature-nameβ Print feature status.
COMPATIBILITY β οΈ
Poolsets with features not defined in this document (e.g. enabled by the newer software version) are not supported. So if itβs from a future era, this page is like βbestie, I donβt know her.β π
DISCLAIMER π¨
pmempool feature command is not fail safe. Read that again, bestie. Not. Fail. Safe. π
EXAMPLE π₯
$ pmempool feature --enable CHECKSUM_2K pool.set
Enables POOL_FEAT_CKSUM_2K incompat feature flag.
$ pmempool feature --disable CHECKSUM_2K pool.set
Disables POOL_FEAT_CKSUM_2K incompat feature flag.
$ pmempool feature --query CHECKSUM_2K pool.set
0
Prints POOL_FEAT_CKSUM_2K incompat feature flag value.
SEE ALSO π
poolset(5) and <https://pmem.io> β go on, have a little look, iykyk.
Thatβs the whole page, bestie β from the PMDK manual, dated 2023-05-31. Stay slay, and may your pools be consistent. π«Άπ
π¦ where this page comes from
- debian trixie: pmdk-tools 1.13.1-1.1+b1 Β· BSD-3-Clause
- ubuntu noble: pmdk-tools 1.13.1-1.1ubuntu2 Β· BSD-3-Clause
- ubuntu questing: pmdk-tools 1.13.1-1.1ubuntu3
- ubuntu resolute: pmdk-tools 1.13.1-1.1ubuntu4 Β· BSD-3-Clause
- ubuntu stonking: pmdk-tools 1.13.1-1.1ubuntu5 Β· BSD-3-Clause
- π the page's license: BSD-3-Clause
- Copyright 2018-2022, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms