XNVME-FORMAT(1)

πŸ“¦ version 0.7.5, in alpine 3.24, epel 9, fedora 43, fedora 44

✨ 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