NVME-LOCKDOWN(1)
okay bestie, this is nvme-lockdown from the NVMe Manual, section 1 β and it is literally the bouncer for your NVMe commands, iykyk π
β¨ NAME β¨
nvme-lockdown β send an NVMe Lockdown command to prohibit or allow the execution of command π«β
π¦ SYNOPSIS π¦
nvme [<global-options>] lockdown <device>
[--ofi=<ofi> | -O <ofi>]
[--ifc=<ifc> | -f <ifc>]
[--prhbt=<prhbt> | -p <prhbt>]
[--scp=<scp> | -s <scp>]
[--uuid=<UUID_Index> | -U <UUID_Index>]
[--csel=<csel> | -c <csel>]
[--css=<css> | -C <css>]
π DESCRIPTION π
okay so the Lockdown command is the one that controls the Command and Feature Lockdown capability. and what that capability does is configure the prohibition (or the allowance, no judgement) of execution of the specified command β or of a Set Features command targeting a specific Feature Identifier. it's giving "you shall not pass" but for opcodes π
π₯ OPTIONS π₯
-O <ofi>,--ofi=<ofi>β Opcode or Feature Identifier (OFI) π this is the field that specifies the command opcode or the Set Features Feature Identifier, as identified by the Scope field.-f <ifc>,--ifc=<ifc>β the Interface (INF) field, bestie β it identifies the interfaces affected by this command.-p <prhbt>,--prhbt=<prhbt>β the Prohibit (PRHBT) bit πΈ it specifies whether to prohibit or allow the command opcode or Set Features Feature Identifier specified by this command. one bit, two moods.-s <scp>,--scp=<scp>β the Scope (SCP) field β it specifies the contents of the Opcode or Feature Identifier field.-U <UUID_Index>,--uuid=<UUID_Index>β UUID Index π¦ if this field is set to a non-zero value, then the value of this field is the index of a UUID in the UUID List that is used by the command. If this field is cleared to0h, then no UUID index is specified.-c <csel>,--csel=<csel>β Controller Select (CSEL) says which controller(s) are affected by this command, periodt:0= NVM subsystem (all controllers)1= the specific controller identified by--css2= the secondary controllers of the specific primary controller identified by--css15= vendor specific
ngl, 15 is the "we don't talk about it" option lol π
-C <css>,--css=<css>β Controller Select Specific (CSS) β the meaning depends on--csel: it's the Controller Identifier if--csel=1, or the Primary Controller Identifier if--csel=2. Ignored if--csel=0. so like, it's lowkey doing whatever--cseltold it to π
π GLOBAL OPTIONS π
these live at the top-level nvme command and they're available to this subcommand too, so no FOMO π
--dry-runβ print the command that would be executed, but do not actually execute it. practice run, zero commitment.--no-ioctl-probingβ disable probing for 64-bit IOCTL support.--no-retriesβ disable retry logic on transient errors. one shot, iconic energy.-o <fmt>,--output-format=<fmt>β set the reporting format tonormal,tabular,json, orbinary. Only one output format may be used at a time β pick a lane bestie.--output-format-version=<version>β select the output format version. Version1uses the original field naming, while version2(default) provides more consistent and script-friendly field names. Other versions are rejected π«--quietβ suppress informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level.--set-options=<key=value>[,<key=value>...]β set libnvme library options for this invocation. Supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir.--timeout=<ms>β set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). literal "i can do this all day" energy π-v,--verboseβ increase the level of detail in the output. May be specified multiple times to further increase verbosity. stack 'em, go off.
π«Ά these options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file. the CLI stays the main character π
π EXAMPLES π
No examples yet. (yes literally none, we're in our mysterious era π§)
β NVME β
Part of the nvme-user suite β¨
and that's the tea π β this was NVMe, dated 10/30/2026, so go forth and lockdown responsibly, bestie ππ
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms