Linear Tape File System Explained

The Linear Tape File System (LTFS) is a file system that allows files stored on magnetic tape to be accessed in a similar fashion to those on disk or removable flash drives. It requires both a specific format of data on the tape media and software to provide a file system interface to the data.

The technology, based around a self-describing tape format developed by IBM, was adopted by the LTO Consortium in 2010.

History

Magnetic tape data storage has been used for over 50 years, but typically did not hold file metadata in a form easy to access or modify independent of the file content data. Often external databases were used to maintain file metadata (file names, timestamps, directory hierarchy) to hold this data but these external databases were generally not designed for interoperability and tapes might or might not contain an index of their content. In Unix-like systems, there is the tar interoperable standard, but this is not well-suited to allow modification of file metadata independent of modifying file content data - and does not maintain a central index of files nor provide a filesystem interface or characteristics.

LTFS technology was first implemented by IBM as a prototype running on Linux and Mac OS X during 2008/2009. This prototype was demonstrated at the NAB show in 2009. Based on feedback from this initial demonstration and experience within IBM the filesystem was overhauled in preparation for release as a product. The LTFS development team worked with the vendors of LTO tape products (HP and Quantum) to build support and understanding of the LTFS format and filesystem implementation leading up to the public release.

The LTFS Format Specification and filesystem implementation were released on April 12, 2010 with the support of IBM, HP, Quantum, and the LTO Consortium.[1]

LTFS v2.0.0 was released in March 2011, improving the text to clarify and remove ambiguity. It also added support for sparse files; persistent file identifiers; virtual extended attributes for filesystem metadata and control - and defined minimum and recommended blocksize values for LTFS volumes, for compatibility across various HBA hardware implementations.

LTFS v2.2.0 was released in December 2013. It was the first version to become an ISO standard (20919:2016).

LTFS v2.5.1 was released in May 2019. It became the second version of the ISO standard (20919:2021). Version 2.5 contained fairly major updates, as it was the first version to define Incremental (sparse) Indexes.

Format specification

The ISO/IEC 20919:2021 standard defines the LTFS Format requirements for interchanged media that claims LTFS compliance. It defines the data format, independent of the physical storage media and the software commands format, to make data truly interchangeable. The ISO standard wasprepared by SNIA. It is based on LTFS v2.5.1, and was adopted to ISO by a joint technical committee ISO/IEC JTC 1 Information Technology.

The SNIA workgroup continues to develop LTFS and release updates. Version 2.0.0 defines rules for how the version number may change in future, and how compatibility is maintained across varying implementations. All implementations must:

LTFS Format Specification History
VersionPublishedISO/IECConforming Software
1.0[2] April 2010IBM Long Term File System (LTFS) v1.0.0, v1.0.1
HP Linear Tape File System (LTFS) v1.0.0, v1.1.0
2.0.0[3] March 2011IBM Linear Tape File System - Single Drive Edition (LTFS-SDE) v1.2.0
Oracle StorageTek Linear Tape File System, Open Edition v1.0.0
2.1.0October 2012
2.2.0[4] December 201320919:2016
2.3.0[5] March 2014
2.4.0[6] December 2017
2.5.1[7] May 201920919:2021

SNIA Technical Work Group

In August 2012, SNIA announced[8] that it was forming a TWG (Technical Work Group) to continue technical development of the specification. LTFS Format Specification v 2.1 is the baseline for the technical work and standards accreditation process; SNIA LTFS TWG members include HP, IBM, Oracle and Quantum.

Nature

While LTFS can make a tape appear to behave like a disk, it does not change the fundamentally sequential nature of tape. Files are always appended to the end of the tape. If a file is modified and overwritten or removed from the volume, the associated tape blocks used are not freed up, they are simply marked as unavailable and the used volume capacity is not recovered. Data is only deleted and capacity recovered if the whole tape is reformatted.

In spite of these disadvantages, there are several uses cases where LTFS formatted tape is superior to disk and other data storage technologies. While LTO seek times can range from 10 to 100 seconds, the streaming data transfer rate can match or exceed spinning-disk data transfer rates. Additionally, LTO cartridges are easily transportable and hold far more data than any other removable data storage format. The ability to copy a large file or a large selection of files (up to 1.5TB uncompressed data for LTO-5, and 18TB for LTO-9) to an LTFS formatted tape, allows easy exchange of data to a collaborator, or the saving of an archival copy.

Since LTFS is an open standard, LTFS formatted tapes are usable by a wide variety of computing systems and operating systems, avoiding the incompatibilities caused by previous proprietary LTO filesystems.[9]

Implementations

Tape drives manufacturers often offer two different editions, one for Single Drives and one for Tape Libraries, based on the LTFS Reference Implementation.

IBM Linear Tape File System - Single Drive Edition

The IBM Linear Tape File System - Single Drive Edition, (initially released as "IBM Long Term File System"), allows tapes to be formatted as an LTFS volume, and for these volumes to be mounted - and users and applications access files and directories stored on the tape directly, including drag-and-drop of files.

IBM Linear Tape File System - Library Edition

The IBM Linear Tape File System - Library Edition (LTFS-LE) product allows LTFS volumes to be used in a tape library. Each LTFS-formatted tape cartridge in the library appears as a separate folder under the filesystem mount point and the user or application can navigate into each of these folders to access the files stored on each tape. The LTFS-LE software automatically controls the tape library robotics to load and unload the necessary LTFS volumes.

Oracle's StorageTek Linear Tape File System, Open Edition

Oracle's free open source StorageTek Linear Tape File System (LTFS), Open Edition software[10] is claimed to be the first to store 8.5TB (native capacity) on a single cartridge. It supports Oracle’s midrange StorageTek LTO 5 and LTO 6 tape drives from HP and IBM as well as Oracle’s StorageTek T10000C and T10000D tape drives.[11] [12]

Oracle's StorageTek Linear Tape File System, Library Edition

Oracle’s StorageTek LTFS-LE software offering supports the StorageTek SL8500 Modular Library System, the StorageTek SL3000 Modular Library System, and the StorageTek SL150 Modular Tape.[13]

HP Linear Tape File System

The HP Linear Tape File System (HP LTFS) is HP's implementation. It is a free open source software application.

Quantum Linear Tape File System

Quantum Corporation provided an LTFS product with Windows, Linux and Mac OS X support.

The Scalar LTFS Appliance was a file system that presented a Quantum tape library as an NAS share. This appliance made files viewable as if they resided on a local disk and allowed users to drag and drop files directly to and from a tape cartridge.

LTFS compatible products

DDS Tape Drives

Enterprise Tape Drives

LTO Tape Drives

Appliances and ISVs (Independent Software Vendors) supporting LTFS

A full set of vendors are listed at LTO website.[14]

LTFS projects

Industry recognition

Limitations

As of standard version 2.5.1, LTFS does not support hard links.[7]

When files are deleted, they become invisible to the user. However, the space occupied by a file is not freed. Because of this, it is possible to "roll back" the tape to an earlier state, in order to recover erroneously deleted (or incorrectly updated) files. [7] To free up space a tape needs to be re-formatted.

External links

Notes and References

  1. http://www.nabshow.com/2010/ NAB-2010
  2. https://www.ibm.com/support/pages/system/files/support/ssg/ssgdocs.nsf/0/c084164c3a5050588525770a0066bec8/$FILE/LTFS_Format.v1.0.pdf Linear Tape File System (LTFS) Format v1.0 Specification
  3. https://www.ibm.com/support/pages/system/files/support/ssg/ssgdocs.nsf/0/c084164c3a5050588525770a0066bec8/$FILE/LTFS_Format_v2.0.1.pdf Linear Tape File System (LTFS) Format v2.0.1 Specification
  4. http://snia.org/sites/default/files/LTFS_Format_2.2.0_Technical_Position.pdf Linear Tape File System (LTFS) Format v2.2.0 Specification
  5. https://www.snia.org/sites/default/files/technical_work/LTFS/LTFS_Format_2.3.1_TechPosition.pdf Linear Tape File System (LTFS) Format v2.3.1 Specification
  6. https://www.snia.org/sites/default/files/technical_work/LTFS/LTFS_Format_2.4.0_TechPosition.pdf Linear Tape File System (LTFS) Format v2.4.0 Specification
  7. https://www.snia.org/sites/default/files/technical-work/ltfs/release/SNIA-LTFS-Format-2-5-1-Standard.pdf Linear Tape File System (LTFS) Format v2.5.1 Specification
  8. http://www.snia.org/about/news/newsroom/pr/snia-announces-linear-tape-file-system-technical-work-group "SNIA Announces Linear Tape File System Technical Work Group"
  9. Web site: Affordable Easy LTO Archiving . Backupworks.com . en-us.
  10. http://www.oracle.com/us/products/servers-storage/storage/tape-storage/ltfs/ Oracle StorageTek Linear Tape File System, Open Edition Webpage
  11. http://www.oracle.com/us/corporate/press/302409 Oracle StorageTek T10000C Tape Drive Press Release
  12. http://www.oracle.com/us/corporate/press/2008766 Oracle Introduces StorageTek T10000D Tape Drive
  13. http://www.oracle.com/us/corporate/press/2008767 Oracle StorageTek LTFS, Library Edition Press Release
  14. https://www.lto.org/linear-tape-file-system/ LTFS Implementers
  15. http://www.thoughtequity.com Thought Equity Motion - Homepage
  16. Thought Equity Motion - Press Release: Film Archive Digitization and Preservation Project for EYE Film Institute Netherlands
  17. http://broadcastengineering.com/news/broadcast-engineering-announces-2011-nab-show-pick-hit-winners-20110418/ NAB 2011 Pick Hit Announcement
  18. Web site: IBM Almaden Blog . 26 October 2011 . https://web.archive.org/web/20120425092118/http://ibmresearchalmaden.blogspot.com/2011/10/we-won-emmy.html . 25 April 2012 . dead .
  19. http://data.memberclicks.com/site/hopa/HPAA_2011_EngineeringAward.pdf HPA Award Announcement