VDOLISTMETADATA(8)

πŸ’– VDOLISTMETADATA πŸ’–

okay bestie, so this one lives in the System Manager's Manual (section 8, the big-girl sysadmin section, iykyk) and it's literally called vdolistmetadata. No cap, that's the whole name. Let's get into it. πŸ¦‹


✨ NAME ✨

vdolistmetadata β€” list the metadata regions on a VDO device πŸ‘‘


🌸 SYNOPSIS 🌸

vdolistmetadata filename

πŸŽ€ DESCRIPTION πŸŽ€

so what does she DO? vdolistmetadata lists the metadata regions of a VDO device, and it hands them to you as ranges of block numbers. That's the whole vibe. πŸ’…

Every single range gets its own line, and the format is exactly this:

startBlock .. endBlock: label

and listen β€” both endpoints are included in the range, okay? Like, startBlock and endBlock are both in there, no sneaky exclusive-end nonsense. And those endpoints are the zero-based indexes of 4KB VDO metadata blocks on the backing device. 4KB. Zero-based. Remember it. 🧚

Oh and also, filename has to be the path of the VDODataLV, as described over in lvmvdo(7). That's the assignment, bestie, don't freestyle it. 🌈


πŸ’œ OPTIONS πŸ’œ

  • --help β€” prints this help message and then dips out. exit stage left. πŸšͺ
  • --version β€” shows you the version of vdolistmetadata. that's it, that's the whole job. ⭐

πŸ“ EXAMPLE πŸ“

here's the little routine, step by step, in order, no skipping:

# lvchange -ay vdo1/vdo0pool_vdata
# vdolistmetadata /dev/mapper/vdo1-vdo0pool_vdata
# lvchange -an vdo1/vdo0pool_vdata

activate it, peek at the metadata, deactivate it. in and out, clean, iconic. 😭πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

lvmvdo(7), lvchange(8)

like obviously go read those too, they're the supporting cast and they ate. 🫢


lowkey reminder: this is the System Manager's Manual, so bring your root energy. πŸ”₯

and that's a wrap, bestie!! this page came from Red Hat and it's dated 2023-03-28, so when you're out here listing metadata regions at 3am, just know that's who to thank. mwah. πŸ’–βœ¨πŸŽ€