thin_rmap(8)

πŸ“¦
version 1.3.4 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ thin_rmap(8) β€” NAME ✨

okay so thin_rmap πŸ’– is the tool that outputs the reverse map of a thin provisioned region of blocks from a metadata device or file. bestie, it's giving reverse lookup energy πŸ”βœ¨

🌸 SYNOPSIS 🌸

thin_rmap [options] {device|file}

πŸ’… DESCRIPTION πŸ’…

okay so thin_rmap reads the reverse mapping stored in the metadata on a device or file 🧚. it shows you the link between a region of thin provisioned pool blocks and the thin provisioned devices they belong to. main character energy, no cap πŸ‘‘

πŸ’€ this tool cannot be run on live metadata! don't do it, bestie πŸ™ˆ

πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” prints help and exits. literally all you need when you're lost 🫢
  • -V, --version β€” prints version information and exits ✨
  • --region {block range} β€” specifies a range of blocks on the data device πŸ“

at least one region must be specified, and you're allowed to pass multiple regions πŸ’œ

the range takes the format <begin>..<one past the end>. for example, "5..45" gives you data blocks 5 to 44 inclusive, but NOT 45. the end is excluded, iykyk πŸ¦‹


πŸ¦‹ EXAMPLES πŸ¦‹

$ thin_rmap --region 5..45 /dev/pool-metadata

πŸ”₯ DIAGNOSTICS πŸ”₯

thin_rmap returns an exit code of 0 for success or 1 for error. 0 is the vibe we want, 1 is a no-go πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

thin_check(8), thin_dump(8), thin_repair(8), thin_restore(8), thin_metadata_size(8) 🌈

🫢 AUTHOR 🫢

Joe Thornber <ejt@redhat.com>, Heinz Mauelshagen <HeinzM@RedHat.com> πŸ’–


Bestie, that's the whole thing! ✨ Device Mapper Tools, System Manager's Manual, thin_rmap(8) 🌸 Stay iconic and keep those blocks in line πŸ’…πŸ©·

πŸ“¦ where this page comes from