dmzadm(8)
π dmzadm(8) β the girlies' guide to zoned block devices π
okay so. bestie. you have a zoned block device and you want it to vibe with the dm-zoned device mapper target. this is the manual page for dmzadm, from the System Manager's Manual section 8 (that's the admin commands girlies, iykyk). let's get into it, no cap. β¨
πΈ NAME πΈ
dmzadm β manage zoned block device format for use with the dm-zoned device mapper target
like, it formats, checks and fixes your devices so the dm-zoned target can actually do its thing. periodt.
π SYNOPSIS π
dmzadm -h | --help
dmzadm --version
dmzadm operation [ regular-block-device ] zoned-block-device-0 [
zoned-block-device-1 [...] ] [ options ]
π¦ DESCRIPTION π¦
so dmzadm is your girl for formatting, checking and repairing block devices that get used with the dm-zoned device mapper. and zoned-block-device-0? that's the device node of the zoned block device you're working with, like /dev/sdX. simple as. π
regular-block-device is optional, and it's a device node for a regular block device that gets used together with the zoned block device β it stores metadata and acts as the conventional zone storage space for the zoned device. it's giving "backup bestie" energy fr fr.
when you do use regular-block-device, you can actually specify more than one zoned block device (zoned-block-device-1 and so on). but heads up: if you list multiple zoned block devices, all of them must have the same zone size. no mixing and matching, that's the rule. π
operation is literally just the action you want taken on the device.
and dmzadm returns 0 on success and 1 on failure. classic.
β¨ OPERATIONS β¨
dmzadm defines these operations, and they're all iconic in their own way:
-h,--helpβ prints a short usage description ofdmzadm. your little map when you're lost. πΊοΈ--versionβ prints the current version number and then exitsdmzadm. short and sweet, she doesn't linger.--formatβ writesdm-zonedmetadata to the zoned block device(s) and the optional regular block device. β οΈ bestie this one wipes clean ALL the data that was stored on the device(s). like, gone gone. be so serious before you run this one.--checkβ checks the device(s) metadata consistency. no repair action is taken, so metadata corruptions are NOT corrected with this operation. if you actually want to fix incorrect metadata, you have to use the--repairoperation. she's just here to look, not to touch. π--repairβ checks the consistency of the device(s) metadata and tries to repair any error it detects. the fixer upper. π οΈ--relabelβ changes the label (that's the DM device name) of a formatteddm-zoneddevice. glow-up for your device's name basically.--startβ loads the metadata information from the block device(s) and activates thedm-zoneddevice. wake up babe, we're live. π₯--stopβ deactivates thedm-zoneddevice associated with the block device(s). nap time. π΄
π COMMON OPTIONS π
these ones work with all the operations, they're universal like that:
--verboseβ verbose output detailing actions taken. she's chatty.--vverboseβ very detailed output of actions taken. she's EXTRA chatty. π
π FORMAT OPERATION OPTIONS π
these are the ones you can use when you've picked the --format operation:
--seq=numβ specify the number of sequential zones to be reserved for reclaim (default:16per zoned block device).--label=strβ define the label of the device-mapper device. if you don't specify it, the label defaults todmz-serial, whereserialis the serial number of the block device storing the metadata (that's the first block device specified). and if the serial number for the metadata block device isn't available, the label defaults todmz-bdevnamewherebdevnameis the name of the metadata block device. she'll always find herself a name bestie, don't worry. π
β RELABEL OPERATION OPTIONS β
these are the ones you can use when you've picked the --relabel operation:
--label=strβ define the new label of the device-mapper device. if you don't specify it, the new label defaults todmz-serial, whereserialis the serial number of the block device storing the metadata (the first block device specified). and if the serial number for the metadata block device isn't available, the label defaults todmz-bdevnamewherebdevnameis the name of the metadata block device. same energy, new name. π
π«Ά AUTHORS π«Ά
this version of dmzadm was written by Damien Le Moal <damien.lemoal@wdc.com> and Albert H. Chen <albert.chen@wdc.com> with contributions from Hannes Reinecke <hare@suse.de>. absolute legends, all three. π
π COPYRIGHT π
GNU General Public Licence version 3 or later
(c) 2016-2020 Western Digital Corportation and its affiliates
manual written by Damien Le Moal <damien.lemoal@wdc.com and by Tj <ubuntu@iam.tj> for Debian and Ubuntu.
πΈ AVAILABILITY πΈ
dmzadm is available from the dm-zoned-tools project hosted on github at https://github.com/westerndigitalcorporation/dm-zoned-tools β go get her bestie, she's free. π§
π SEE ALSO π
that's the whole page, start to finish, no notes. π
and for the cute sign-off: this page is dated May 20 2020, so yeah, vintage but still slaying. stay zoned, stay iconic, and always --check before you --format. mwah. πβ¨π¦
π¦ where this page comes from
- debian trixie: dm-zoned-tools 2.2.2-1+b1 Β· GPL-3.0-or-later
- fedora 43: dm-zoned-tools 2.2.2-8.fc43 Β· GPL-3.0-or-later
- fedora 44: dm-zoned-tools 2.2.2-10.fc44 Β· GPL-3.0-or-later
- opensuse-leap 16.0: dm-zoned-tools 2.2.2-bp160.1.12 Β· GPL-3.0-only
- opensuse-leap 16.0: dm-zoned-tools 2.2.2-bp160.1.12 Β· GPL-3.0-only
- opensuse-leap 16.0: dm-zoned-tools 2.2.2-bp160.1.12 Β· GPL-3.0-only
- opensuse-leap 16.0: dm-zoned-tools 2.2.2-bp160.1.12 Β· GPL-3.0-only
- ubuntu noble: dm-zoned-tools 2.2.2-1 Β· GPL-3.0-or-later
- ubuntu questing: dm-zoned-tools 2.2.2-1
- ubuntu resolute: dm-zoned-tools 2.2.2-1build1 Β· GPL-3.0-or-later
- ubuntu stonking: dm-zoned-tools 2.2.2-1build1 Β· GPL-3.0-or-later
- π the page's license: GPL-3.0-or-later
- Copyright (C) 2016, Western Digital
- Copyright 2019 Tj <ubuntu@iam.tj>
- Copyright (C) 2020, Western Digital Corporation or its affiliates
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms