VDOAUDIT(8)
π VDOAUDIT β the vibe check for your VDO device
okay bestie, so this one's a section 8 system manager's manual situation, vdoaudit for short, and it's literally the girl who counts everything twice. no cap.
β¨ NAME β¨
vdoaudit β confirm the reference counts of a VDO device π«Ά
πΈ SYNOPSIS πΈ
vdoaudit [options...] filename
π¦ DESCRIPTION π¦
so here's the tea. vdoaudit goes through all the logical block references to every physical block of a VDO device that it finds in filename, adds them all up, and then compares that total against the stored number of logical blocks. math girl behavior, honestly. π
then β and this is the part that eats β it also confirms all of the actual reference counts on all the physical blocks against the stored reference counts. every single one. she does not skip. she does not scroll past.
and finally? it validates that the slab summary approximation of the free blocks in each slab is correct. yes, approximation. yes, she's checking it anyway. slay. β¨
now, about filename: it must be the path of the VDODataLV, as described in lvmvdo(7). that's the assignment, no substitutions, don't try to be cute with it. π
and if you pass --verbose? you get a whole line item reported for each and every inconsistency. otherwise you just get a summary of the problems. like, the highlights reel instead of the full vlog. π
π OPTIONS π
--helpβ print this help message and dip. that's it, that's the whole job. π--summaryβ display a summary of any problems found on the volume. the tl;dr version. π--verboseβ display a line item for each inconsistency found on the volume. the full receipts, one line at a time, no crumbs spared. π--versionβ show the version ofvdoaudit. who even is she? now you know. β
π§ EXAMPLE π§
okay so this is the whole routine, in order, don't shuffle it:
# lvchange -ay vdo1/vdo0pool_vdata
# vdoaudit --verbose /dev/mapper/vdo1-vdo0pool_vdata
# lvchange -an vdo1/vdo0pool_vdata
activate it, audit it, deactivate it. the three-step skincare routine of VDO maintenance. π
ngl bestie, notice how you turn the volume on first and off at the end β don't be out here auditing a sleeping device and then blaming the tool. π
π SEE ALSO π
okay that's the whole page, you ate it, you understood it, you're the main character of systems administration now. π
this little love letter to your VDO device came to you from Red Hat, dated 2023-03-28, and it lives in the System Manager's Manual as plain old VDOAUDIT(8). mwah. π
π¦ where this page comes from
- centos-stream 10: vdo-support 8.3.2.1-1.el10 Β· GPL-2.0-only
- centos-stream 9: vdo-support 8.2.2.2-1.el9 Β· GPLv2
- debian trixie: vdo 8.3.1.1-1 Β· GPL-2.0-or-later
- fedora 43: vdo-support 8.3.0.73-2.fc43 Β· GPL-2.0-only
- fedora 44: vdo-support 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