VDODEBUGMETADATA(8)

πŸ’– VDODEBUGMETADATA πŸ’–

okay bestie, welcome to vdodebugmetadata β€” the System Manager's Manual entry, section 8, and it's literally the tool that loads a metadata dump of a VDO device. yeah. we're doing forensics today. πŸ•΅οΈβ™€οΈβœ¨


✨ NAME ✨

vdodebugmetadata β€” load a metadata dump of a VDO device. that's it, that's the whole job. no cap. πŸ’…


🌸 SYNOPSIS 🌸

vdodebugmetadata [--pbn=pbn ...] [--searchLBN=lbn ...] filename

look at her. filename goes at the end, the flags go before it, and yes you can stack up --pbn and --searchLBN like little collectibles. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

so vdodebugmetadata loads up the metadata regions that were dumped by vdodumpmetadata. it's giving "reopen the crime scene" energy fr fr.

bestie pls listen: you're supposed to run this under GDB, with a breakpoint on the function doNothing. yes, doNothing. iconic name, honestly. that's your little pause button so you can go snooping around in memory. 🫢

once you're in there, these variables are available to you:

  • vdo β€” access to the VDO super block state πŸ‘‘
  • slabSummary β€” access to the slab summary blocks ✨
  • slabs β€” access to all slab journal and reference blocks per slab 🌈
  • recoveryJournal β€” access to all recovery journal blocks πŸ““
⚠️ important heads up: this tool does not provide access to block map pages. like, at all. don't go looking, they're not there. 😭

πŸ’… OPTIONS πŸ’…

  • --pbn β€” print the slab journal entries for the given PBN. and the way that you can specify this option up to 255 times?? obsessed. πŸ“
  • --searchLBN β€” print the recovery journal entries for the given LBN. and it does not hold back, it gives you: PBN, increment/decrement, mapping state, recovery journal position information, and whether the recovery journal block is valid. so much info, she ate. πŸ’œ this one may also be specified up to 255 times. πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

go read those too, bestie, they're the rest of the lore. πŸ“šβœ¨


and that's the whole page, no crumbs left. this one came to you from Red Hat, dated 2020-05-08, in the System Manager's Manual, section 8 β€” VDODEBUGMETADATA(8). periodt. πŸ’–πŸ¦‹πŸŒΈ