XNVME-FORMAT(1)
β¨ XNVME-FORMAT(1) β¨
okay bestie, so this is xnvme-format, part of the xNVMe manual, and it's literally the glow-up command for your NVM namespace. we're wiping the slate clean, giving it a whole new look. π
π NAME π
xnvme-format β Format a NVM namespace
like. that's it. that's the whole job. she formats a NVM namespace. iconic behavior honestly.
π SYNOPSIS π
xnvme format <uri> [<args>]
π¦ DESCRIPTION π¦
Format a NVM namespace
yes bestie, that's the entire description. no notes. it formats. a NVM namespace. we keep it short and we keep it slay. β¨
πΈ REQUIRED πΈ
<uri>β the Device URI, aka where your device lives. examples she'll accept:'/dev/nvme0n1','0000:01:00.1','10.9.8.1.8888','\.PhysicalDrive1'. you gotta give her one of these, no skipping. π«Ά
π OPTIONAL π
these are the lil extras, the accessories to the fit. all optional, all here:
[ --nsid 0xNUM ]β Namespace Identifier for Command Construction[ --lbafl 0xNUM ]β Least significant 4 bits of LBA Format Index[ --lbafu 0xNUM ]β Most significant 2 bits of LBA Format Index[ --mset 0xNUM ]β Metadata settings. Off=0x0, On=0x1[ --ses 0xNUM ]β Secure Erase setting. No=0x0, UserData=0x1, Cryptographic=0x2[ --pi 0xNUM ]β Protection Information. Off=0x0, Type1/2/3=0x1/0x2/0x3[ --pil 0xNUM ]β Protection Information Location. Last=0x0, First=0x1[ --subnqn STRING ]β Subsystem NQN of the NVMe over Fabrics endpoint, e.g.'nqn.2022-06.io.xnvme:ctrlnode1'[ --hostnqn STRING ]β The host NQN to use when connecting to NVMe over Fabrics controllers[ --be STRING ]β xNVMe backend, e.g.'linux','spdk','fbsd','macos','posix','windows'[ --dev-nsid 0xNUM ]β Namespace Identifier for Device Handle[ --admin STRING ]β xNVMe admin. command-interface, e.g.'nvme','block'[ --mem STRING ]β xNVMe buffer/memory manager[ --direct NUM ]β Bypass layers[ --help ]β Show usage / help
pro tip from me to you: the 0xNUM ones are hex values, so like, write them in hex, bestie. don't come at me with decimals. π
π SEE ALSO π
Full documentation at: <https://xnvme.io/>
go read it, it's giving β¨knowledgeβ¨
π AUTHOR π
Written by Simon A. F. Lund <simon.lund@samsung.com> on behalf of Samsung
and that's the whole page, bestie!! π this one's from the xNVMe manual and it's dated 09 September 2024. mwah. go format something (responsibly, pls, it's literally a format command π). ππ¦πΈ
π¦ where this page comes from
- alpine 3.24: xnvme-doc 0.7.5-r1 Β· BSD-3-Clause
- epel 9: xnvme-tools 0.7.5-3.el9 Β· BSD-3-Clause
- fedora 43: xnvme-tools 0.7.5-5.fc43 Β· BSD-3-Clause
- fedora 44: xnvme-tools 0.7.5-6.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms