thin_ls(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_ls(8) β€” System Manager's Manual ✨

πŸ’– NAME

thin_ls - List thin volumes within a pool. πŸŽ€

🧚 SYNOPSIS

thin_ls [options] {device|file}

🌸 DESCRIPTION

okay so thin_ls is the tool that shows you info about thin volumes sitting inside a pool πŸ’… bestie, the important bit: pass it the metadata device, NOT the pool device. not me making that mistake 😭

also, this tool cannot be run on live metadata unless you use the --metadata-snap option. no cap, that's the whole vibe 🫢

πŸ¦‹ OPTIONS

  • -h, --help β€” print help and exit πŸ’œ
  • -V, --version β€” print version info and exit ✨
  • -o, --format β€” give it a comma separated list of the fields you want output πŸ”₯

okay the valid fields are:

DEV, MAPPED_BLOCKS, EXCLUSIVE_BLOCKS, SHARED_BLOCKS, HIGHEST_BLOCK,
MAPPED_SECTORS, EXCLUSIVE_SECTORS, SHARED_SECTORS, HIGHEST_SECTOR,
MAPPED_BYTES, EXCLUSIVE_BYTES, SHARED_BYTES, HIGHEST_BYTE, MAPPED,
EXCLUSIVE, SHARED, HIGHEST_MAPPED, TRANSACTION, CREATE_TIME, SNAP_TIME
  • --no-headers β€” don't output headers πŸ“
  • -m, --metadata-snap β€” use a metadata snapshot 🌈

if you want to pull info out of a live pool, you'll need to take a metadata snapshot and use this switch. iykyk πŸ™ˆ

πŸŽ€ SEE ALSO

thin_dump(8), thin_repair(8), thin_restore(8), thin_rmap(8), thin_trim(8), thin_metadata_size(8) πŸ’œ

πŸ‘‘ AUTHOR

Joe Thornber <ejt@redhat.com> β€” the legend himself 🫢


Bestie, that's the whole page! It's a Device Mapper Tools page, so go be the main character of your thin volumes βœ¨πŸ¦‹πŸ’… Stay iconic, stay Unix-literate 🌸🫢

πŸ“¦ where this page comes from