ZONED-MGMT(1)
π
ZONED-MGMT(1) β bestie's guide to zoned-mgmt
okay so listen. this is the zoned-mgmt page from the xNVMe manual, section 1. it's a whole lil tool and we're gonna go through it together, every flag, every number, no skips. grab a snack π
β¨ NAME β¨
zoned-mgmt β Zone Management Send Command with custom action π«
like, that's the whole vibe. you're sending a zone management command, but you get to pick the action. main character energy fr.
β¨ SYNOPSIS β¨
zoned mgmt <uri> [<args>]
that's it. that's the whole shape of it. a URI, then whatever args your heart desires π«Ά
β¨ DESCRIPTION β¨
Zone Management Send Command with custom action.
short, sweet, iconic. you point it at a device, you tell it what zone action to do, it does the thing. periodt. π
β¨ REQUIRED β¨
these are the non-negotiables, bestie. no skipping. π€
<uri>β the Device URI. like where your device lives. examples they gave us:'/dev/nvme0n1','0000:01:00.1','10.9.8.1.8888','\.PhysicalDrive1'. yes the last one has a backslash in front, that's on purpose, keep it exactly like that π--slba 0xNUMβ Start Logical Block Address. where the party starts in block-land. it's in hex,0xNUMstyle β¨--zsa 0xNUMβ Zone Send Action. this is the whole point of the tool, the action you're sending. the options are:Close=0x1Finish=0x2Open=0x3Reset=0x4Offline=0x5Zone Descriptor Extension=0x10
yes that last one is 0x10 and not 0x6, do NOT come for me, that's literally what the page says. iykyk π
β¨ OPTIONAL β¨
these are the little extras. the accessories to your outfit. all of them are wrapped in [ ] so you know they're optional, but honestly some of them are lowkey essential depending on your setup π
[ --nsid 0xNUM ]β Namespace Identifier, used for Command Construction.0xNUMso hex again, bestie π₯[ --all ]β Select / Affect all. it does what it says, all of it, the whole thing π[ --subnqn STRING ]β Subsystem NQN of the NVMe over Fabrics endpoint. the example given is'nqn.2022-06.io.xnvme:ctrlnode1'β yeah that's a whole mouthful, copy-paste is your friend π[ --hostnqn STRING ]β The host NQN to use when connecting to NVMe over Fabrics controllers. this is your NQN in the fabrics relationship π[ --be STRING ]β the xNVMe backend. pick your fighter:'linux','spdk','fbsd','macos','posix','windows'β[ --dev-nsid 0xNUM ]β Namespace Identifier for Device Handle. yes this is different from--nsidup above, one's for the command construction and one's for the device handle, they are NOT the same thing, keep them straight bestie π[ --admin STRING ]β xNVMe admin command-interface. options are'nvme'or'block'π[ --mem STRING ]β xNVMe buffer/memory manager. your memory, your manager, your choice π§[ --direct NUM ]β Bypass layers. sneaky sneaky, going around stuff π¦[ --sync STRING ]β xNVMe sync command-interface. again with the'nvme'or'block'energy β¨[ --help ]β Show usage / help. the classic. the beloved. when in doubt, ask for help π
β¨ SEE ALSO β¨
- Full documentation at: <https://xnvme.io/> π
β¨ AUTHOR β¨
Written by Simon A. F. Lund <simon.lund@samsung.com> on behalf of Samsung. shoutout to them, absolute legends for writing all this down for us π«Ά
okay that's the whole page, you made it, i'm so proud of you π β¨
this was the xNVMe manual, and it's dated 09 September 2024 β so if you're reading this way later, just know the vibes are still immaculate. go send some zone management commands, bestie, you got this πΈππ
π¦ 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