ltfs-index · shipping · also LTFS XML index

LTFS index

An LTFS index is XML metadata describing files, directories and the mapping from file contents to recorded tape extents.

Related Observatory article: Read on hesela.com

A full index describes the volume; an incremental index records changes. Incremental indexes belong only in the data partition, whose final index must be full after clean unmount. [1] Rollback tools can expose earlier index generations as rollback points. Keeping history preserves access to other generations; erase-history discards newer history, so rollback is not always reversible. [2]

Reading incremental indexes is required for format 2.5.0+ conformance; generating them is optional. Included extentinfo and extendedattributes elements must be complete, not partial list edits. Recovery starts with a full index and applies the intervening increments. [1]

In reference commit efc9e3a5, newly synthesized _ltfs_lostandfound entries represent individual logical tape-record reads, with generated names and recovery-time timestamps. The helper does not reconstruct original filenames or multi-record file grouping; this does not describe ordinary named files recovered through a surviving index. [3]

LTFS 2.5.1 Annex F.3 does not require file-hash generation or checking and leaves hash maintenance and update policy outside its scope. [1] A stored hash attribute is not a verification event: recompute the digest for the intended content version. Hesela verification guidance: compare recovered paths, lengths, versions and whole-file digests with a trusted, preexisting inventory; a digest calculated only after salvage cannot by itself establish original identity.

Relations

related
LTFS, LTO (Linear Tape-Open), Magnetic tape storage, LTFS data placement policy, Medium Auxiliary Memory

Limitations

  • An index records file locations, not an independent backup of the file payload. [1]
  • Older recovery tools that do not recognize incremental indexes can fail or lose newer changes on an inconsistent volume, even when clean-volume mounting works. [1]

Citations

  1. SNIA LTFS Format Specification 2.5.1, sections 5, 9.2 and Annex H (including H.1, H.4 and H.5); Annex F.3 (accessed 2026-10-24)
  2. IBM Storage Archive SDE: Rolling back media (accessed 2026-10-15)
  3. LTFS reference implementation, ltfs_internal.c: lost-and-found helper and callers, commit efc9e3a5c498504c03c2f1d0b931bae058922104 (accessed 2026-10-24)
Sources & caveats
  • Rollback and erase-history behavior refers to IBM Storage Archive SDE, not a requirement on every LTFS implementation. [2]
  • Recovery-entry behavior is a source review of one pinned implementation, not a format requirement, tape recovery experiment or guarantee for every LTFS product. [3]

JSON: /data/terms/ltfs-index.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. LTFS index. Hesela. 2026-10-24. https://hesela.dev/terms/ltfs-index/