VDOFORMAT(8)
πΈ VDOFORMAT β bestie's guide to formatting a VDO device πΈ
okay so this is vdoformat, section 8 of the System Manager's Manual, and she is that girl when it comes to prepping a device for VDO. grab a snack, we're doing this together π
β¨ NAME β¨
vdoformat β format a VDO device π
β¨ SYNOPSIS β¨
vdoformat [options...] filename
like, that's it. options, then the file. iconic, lowkey π¦
β¨ DESCRIPTION β¨
okay so real talk: vdoformat formats the file named by filename as a VDO device. it's giving low-level device formatting, because that's literally what it is β¨
π¨ heads up bestie: the device will not be formatted if it already contains a VDO, unless the --force flag is used. do not come for me if you forgot the flag, i warned you π
and also, vdoformat can modify some of the formatting parameters too. multitasking queen π
β¨ OPTIONS β¨
--formatβ format the block device, even if there is already a VDO formatted thereupon. yes, even then. she said "i'm formatting it anyway" π--helpβ print this help message and exit. the classic. the goat. when in doubt, ask for help π«Ά- *
--logical-size=size* β set the logical (provisioned) size of the VDO device tosize. you can tack on a size suffix if you're feeling fancy:Kfor kilobytes,Mfor megabytes,Gfor gigabytes,Tfor terabytes, orPfor petabytes. it's optional, no pressure. but if you don't say anything, the default unit is megabytes β¨ - *
--slab-bits=bits* β set the free space allocator's slab size to 2^bits4 KB blocks. nowbitshas to be a value between 13 and 23 (inclusive, bestie, both ends count), which corresponds to a slab size between 32 MB and 32 GB. the default value is19, which results in a slab size of2 GB. this allocator manages the space VDO uses to store user data, so she's kind of a big deal π
okay so here's the tea on slabs, fr fr: the maximum number of slabs in the system is 8192, so this value determines the maximum physical size of a VDO volume. one slab is the minimum amount by which a VDO volume can be grown. and smaller slabs also increase the potential for parallelism if the device has multiple physical threads. therefore, this value should be set as small as possible, given the eventual maximal size of the volume. tiny slab, big dreams π
- *
--uds-memory-size=gigabytes* β specify the amount of memory, in gigabytes, to devote to the index. accepted options are.25,.5,.75, and all positive integers. yes queen, fractions are allowed, we love a flexible menu π --uds-sparseβ specify whether or not to use a sparse index. that's the whole vibe. sparse index: discussed πΈ--verboseβ describe what is being formatted and with what parameters. she will narrate her own life, and honestly? we stan a transparent queen π--versionβ show the version ofvdoformat. for when you need receipts π
β¨ SEE ALSO β¨
vdo(8). go read her too, she's the main character of this whole saga π
okay that's the whole page bestie!! this little love letter to vdoformat comes to you from Red Hat, dated 2017-09-12, and it lives in the VDOFORMAT(8) corner of the manual universe. now go format something responsibly, no cap πβ¨π¦
π¦ where this page comes from
- centos-stream 10: vdo 8.3.2.1-1.el10 Β· GPL-2.0-only
- debian trixie: vdo 8.3.1.1-1 Β· GPL-2.0-or-later
- fedora 44: vdo 8.3.2.1-2.fc44 Β· GPL-2.0-only
- nixos 26.05: vdo 8.3.2.1
- nixpkgs unstable: vdo 8.3.2.1
- ubuntu questing: vdo 8.3.1.1-1
- ubuntu resolute: vdo 8.3.1.1-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: vdo 8.3.1.1-1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms