LTO + LTFS FAQ
LTO (Linear Tape-Open) is the drive and tape hardware specification
LTFS (Linear Tape File System) is the tape format specification
Why tape ?
Tape has a proven 30 year+ lifetime. It's a stable way to store multiple copies of your assets.
The LTFS format that is used with LTO tape allows you to share your archives with others as it's supported on Mac, Windows and Linux.
Your archive is not locked into any proprietary software.
There is an initial investment in the drive, similar to buying around 15 hard drives. But after that the tapes are very low cost.
Hard drives are OK for short term backup and file transfer. However you should keep multiple copies to protect against drive failure.
YoYottaID is ideal for this as it can make multiple drive copies in parallel .
Archive workflow for post using LTFS
When files are rewritten on tape the old files are left behind, so incremental backups use more and more space.
YoYottaID supports spanning of large volumes across multiple tapes, provided they are not changing.
If files are being added and modified on the source volume, then when complete the archive will already be out of date.
Also when the backup is run again any new files cannot be put into the same folder as existing related files.
So backup of large changing volumes where files are being added and modified is not supported.
Instead we recommend archiving project by project and also separating incoming original material.
Once archived the material never needs to be archived again. Making each backup much smaller.
This also means the LTFS archive can be used for easy sharing of project assets with other people working on the project in different locations.
Here is a suggested workflow for a post-production environment.
LTO-8, LTO-7, LTO-6 or LTO-5
The latest drives support LTO-8 tapes. Each drive generation reads and writes the previous generation tapes.
Plus LTO-7, LTO-6 and LTO-5 drives will read two generations back. So an LTO-7 drive will read / write LTO-6 and read LTO-5.
LTO-8 tape holds 11.4 TB and are a lot faster at 250-300MB/s.
LTO-7 tape holds 5.7 TB and are a lot faster at 250-300MB/s.
LTO-6 tape holds 2.35 TB and are a little faster at 160MB/s.
LTO-5 tape holds 1.35 TB and can be read or written at 140MB/s.
Using compression is recommended, the LTO drive will compress in hardware, for uncompressed files the transfer speed will be faster and more files can be stored on the tape.
The compression is lossless and varies from 1:1 to 2.5:1. With uncompressed files like DPX and ARRIRAW you will see a small space saving, maybe 1.1:1.
With all other video files that are already compressed like ProRes or H.264 there won't be any reduction in size, but it's no slower so we suggest leaving it enabled all the time.
The ratio 2.5:1 allows the LTO vendors to quote a crazy compressed figure of 30TB on LTO-8, 15TB on LTO-7 and 6TB on LTO-6. This would only be achieved with text or other files that compress easily. We haven't found anyone with that amount of text files !!
The potential compression is unknown until after data has been written so the tape capacity and remaining space will always be the minimum available.
TAR is an older method of storing files as a bundle on a tape. There is no directory and the tapes cannot be mounted on the desktop. This makes it hard to retrieve individual files. YoYottaID LTFS supports reading of most TAR tapes, this allows easy migration to LTFS.
LTFS is an open standard, the current version is 2.2.0. Tapes written can be read by LTFS running on Linux, macOS or Windows. So it's a cross platform archive. Older LTFS versions can still be read back. Tapes are formatted with a 6 character label, that matches the barcode label.
After formatting this label cannot be changed. To rename you will have to restore, reformat and copy the data again. LTFS stores the tape label in multiple indexes and also inside the tape chip memory.
LTFS tape labels and format serial code
LTFS tapes must be formatted with a 6 character code. The code can have letters or numbers, for example 123456, ABCDEF, YO1234, 17376A.
The tape barcode label is 8 characters, which is the user selectable 6 characters with either L5, L6, L7, M8 or L8 on the end for LTO-5, LTO-6, LTO-7, LTO-M8 or LTO-8 tapes. For example 123456L5, ABCDEFL6, YO1234L6, 17376AL7. The six digits from the labels must be used for the six digits of the format label.
Use barcode labels for all tapes, this means that they can be used with YoYottaID Automation and an LTO library. Also they are an easy way to identify tapes.
After formatting you cannot change this label, as it is written into each index on the tape and also written to the chip inside the tape. To change the label you have to reformat the tape.
We can supply LTO tapes at great prices with custom YoYottaID labels printed on durable plastic. They have a standard barcode, plus a globally unique NFC chip that allowing easy tracking. You can add unique text labels on the left as shown opposite. So you can clearly label Master and Safety, or add a project ident. Unlike other labels each tape can have a different code, you are not limited to a set sequence.
IBM make all LTO-7 and LTO-8 mechanisms, so we supply IBM Barium Ferrite tapes for perfect compatibility.
Contact firstname.lastname@example.org for a quote.
LTO tape storage
Keep your tapes in the same room as the drive or library. If this is not possible then ensure they are in the room for 24 hours before use. This will allow the temperature of the tape to match the temperature of the drive.
The room temperature should be between 16 to 32°C with 20 to 80% humidity. This is a wide range, however it is important to keep this stable. Rapid changes in temperature or humidity are not good for electronic equipment.
Keep tapes in their cases and ensure that they are protected during shipping.
LTO tape health and errors
The LTO drive monitors tape read and write errors. The error count is stored in a memory chip inside the tape cartridge. When the tape is loaded YoYottaID LTFS reads the error count.
When writing sometimes retries are needed and the drive rewrites the data further down the tape. This reduces the capacity of the tape very slightly. These are logged as recovered write errors. Low recovered write errors are no problem even with a new tape, however large counts can indicate poor tape quality or a drive issue. Recovered read errors indicate that the drive needed to retry the read, again low counts are normal. But high rates in the hundreds or thousands could indicate a problem with the tape or drive.
Reformatting the tape does not clear these errors and is not a solution for a bad tape. If a tape was written and verified without error and then later on when reading back errors occur this indicates that the tape may have been damaged.
Permanent errors are logged when a read or write to tape fails. Each error may cause a file to be unreadable, however it is possible that the file has been rewritten so the affected area of the tape will no longer be used. We suggest that you do not continue to use a tape with multiple permanent errors. If you have another tape with this data then duplicate and verify this to create another copy. If this is the only copy then restore the data and create another copy.
If you create another tape and it also has problems, then there may be an issue with the drive.
Accessing LTFS tapes using the Finder
When mounted by YoYottaID LTFS the tape will also appear in the Finder (Finder, Go, Computer). The tape icon will appear on the desktop if Connected Servers is turned on in Finder Preferences.
You can browse the tape and this will be quick as long as there are only folders on display. When navigating into folders with files then this will get very slow as the Finder tries to create thumbnails and metadata. It is possible to drag and drop folders and files on the tape using the Finder but there is no verification and also the file creation and modified times will be lost. There are also other technical reasons so using the Finder is not recommended.
If you need to access a tape without using YoYottaID then you can type the following into a terminal.
ltfs -o devname=0 /Volumes/LTFS1
The tape will appear in the Finder. There is also an eject button in the Finder.
Moving files and folders on tape
Files can be moved using the Finder. Files and folders can be renamed. Folders cannot be moved on tape.
However moving or renaming will mean that the reports will no longer be correct for the tape.
Deleting files from tape
If files or folders are deleted from tape using the Finder or command line they will be removed from the tape directory. Note that the space is not recovered so for this reason there is no delete function in YoYottaID. If a large number of files need to be removed, then it is best to reformat the tape and start again. Files can be moved on tape, but folders cannot. So it is best to organise the structure on the source drive and also setup the destination paths before starting the backup. It is also possible to create an empty folder on the source and link files and folders into it. Then turn on Copy linked files and folders in the Preferences panel.
Archiving linked files and folders
YoYottaID LTFS can archive linked files and folders or symlinks. The linked material can be the tape or it can be on another volume. If the link points to another volume then when the tape is restored the link will be recreated.
However it can be easier to remove the links and copy the linked material instead. This will make the archive larger, but it will be self contained and can be restored anywhere. To do this turn on Copy linked files and folder in the Preference panel.
LTO drives and SAS interface TLR support
There is a SCSI protocol in the T10 SAS Protocol Layer (SPL-4) called TLR that is required for IBM tape drives.
Note that all LTO-7 and LTO-8 drives are manufactured by IBM.
With LTO-7 and LTO-8 the drive will use TLR because of the higher transfer speeds.
With LTO-6 the drive may use TLR for large file transfers.
If the SAS interface does not support TLR, then you will get read errors that are not signalled.
These errors would remain undetected unless the app used compares the data read back against a checksum of the written data.
HPE, IBM, Quantum, Tandberg and YoYotta only recommend SAS interfaces with TLR support.
mLogic mTape drives use a controller with TLR support, however some older units did not.
If you have verification issues with an mTape then send us a screenshot of the Apple System Information SAS page and we can advise you as to the type of SAS interface that you have.
If the interface does not support TLR then we recommend it's replacement. Alternatively contact your dealer for assistance.
You can find information on mTape Connection here, this link also shows how to access the Apple System Information pages.
For the Mac the ATTO H680 PCIe card supports TLR, so this is the only interface we recommend.
To use the H680 with a Thunderbolt Mac put it into a Sonnet or other TB PCIe chassis.
The H644 card can also be used, although it just has one external connector.
See this link for more details on the ATTO.
ATTO ThunderLink, Highpoint RocketStor and RocketRAID SAS adaptors do not support TLR so they cannot be used with LTFS.
If you already have an ATTO R680 or Thunderlink there is a workaround for LTO-6 which limits the link speed, which might reduce errors. See this link for more details
However you will definitely need to replace the unit for LTO-7 and LTO-8.
We do not know of any fix for the HighPoint 6328, so this is not suitable for use with LTO-7, LTO-8 and LTFS. More info on RocketStor here
© 2018 YoYotta Back to Top