Troubleshooting
A collection of problems any LTO user will run into at some point.
"Tape changed to read-only by LTFS"
This error is LTFS's way of reporting something is wrong with either the tape or hardware.
Whenever LTFS drops a tape to Read-Only mode, it does so because too many write errors are reported by the writing part of the tape head in the drive. This results in Canister having to fail the Archive, as there's an external issue that needs solving.
Possible causes
Faulty tape media (error code
6)Faulty/dirty/worn LTO drive head (error code
5or6)Out-of-date LTO firmware
A too-high operating or environmental temperature
When it comes to troubleshooting, the steps below should be followed in order:
Check the Single Character Display (SCD) on the front of the drive. Sometimes all you need to do is insert the cleaning tape, but only if you see a
C. Other codes are documented below.If the LTO drive is running on old firmware, perform the relevant upgrade and try again. The success rate of this treatment is very high, so don't skip it.
Try with another tape, ideally from a different batch. Every tape surface comes with irreparable faults, with faults often recurring within a batch, so make sure to rule this out.
If the problem persists, the next step is to request a diagnostic from the drive vendor.
My LTO device displays an error code. What does it mean?
Every LTO drive is essentially a computer, and as such follows its own instructions and error handling. Most drives have a single-character display (SCD) to tell you how it's doing. It's behind a black see-through panel so you won't see it except when booting (a countdown shows) or when an error is stated.
Anytime there is a number or letter visible on the front of your LTO drive, the software is not able to communicate with the drive. Refer to this list of SCD error codes to find out how to resolve the issue at hand. As these are hardware errors, get in touch with your vendor to sort out the issue if needed.
SCD Code
Description
0
No Error. Ran successfully.
1
Cooling problem.
2
5V dc power problem. Tape drive detected that the Drive Power Supply is approaching the specified voltage limit (drive is still operating) or is outside the specified voltage range (drive is not operating).
3
Tape drive determined that a microcode error occurred.
4
Microcode or tape drive problem. Tape drive determined that a microcode or tape drive hardware failure occurred.
5
Tape drive problem. Tape drive determined that a hardware failure occurred.
6
Tape drive or media error. Tape drive determined that an error occurred, but it cannot isolate the error due to faulty hardware or to the tape cartridge.
7
Media error.
8
Tape drive, SCSI bus or fibre channel error.
9
Tape drive or RS-422 error.
A
Tape drive hardware problem.
B
No error or message is assigned.
C
Tape drive needs to be cleaned.
D
No error or message is assigned.
J
A too-new tape is loaded into an older-generation LTO drive.
=
The Unload button on the drive was pushed in and did not release.
Why won't my tape mount?
LTFS will automatically repair minor consistency issues between the index and data partition as part of the mount process. Most of the time you won't even know this has happened.
However, if the LTFS index is corrupt, Canister will prompt you to perform a Repair, which attempts to rebuild or rollback to the last usable index. This action can be performed in app by clicking the Repair button, or manually using the command line:
Open Utilities > Terminal and run:
ltfsck -f 0Open a Command Prompt, then change directory into IBM LTFS:
cd c:\ProgramFiles\IBM\LTFSNote down the drive address by running:
LtfsCmdDrives.exeAssign the drive to an available letter:
LtfsCmdAssign.exe y 1.0.0.0Start the repair process:
LtfsCmdCheck.exe yProviding the Repair operation completes without error, you can attempt to mount your tape.
Deep Recovery
If the tape is in worse condition than a normal Repair can handle, LTFS may be unable to find a usable index or a valid End of Data (EOD) marker. When that happens, you’ll be prompted to perform a Deep Recovery operation.
This process walks the tape block-by-block, which can take a long time to complete. For this reason, Canister does not offer this option in app.
To perform a Deep Recovery, open Utilities > Terminal, then run:
ltfsck --deep-recovery 0After Deep Recovery completes, you can attempt to mount the tape.
Rollbacks
For each change on a tape, LTFS creates a new index. These are called "generations." Consider them snapshots, and it's possible to roll back to a previous snapshot. When you find a snapshot that works, you can continue with that and archive new data to tape.
In Terminal, list the rollback points. Note: this process takes time! Go grab some coffee.
ltfsck -l 0Creating a rollback list is done top down, starting with the most recent one. Monitor the timestamps to find the desired rollback point, and cancel with Command-C.
Then, roll back to that generation:
ltfsck -g 57 -r 0Here, 57 is the generation number, and 0 is the drive ID. If you have one LTO drive, it's always 0.
When the process is done, mount the tape and you'll see its contents restored.
My tape contains a "lost_and_found" folder after performing a repair
If your tape is showing a lost_and_found In the folder, the tape has undergone a Repair but LTFS has found data that was on the tape but not referenced in the index. Unless you really, really, really need to retrieve this data, you're likely better off formatting the tape.
When a tape cannot be mounted, LTFS will report if a Repair is needed. If the Repair process locates data on the tape's data partition that is not referenced in the index partition, it's added as "lost and found" data. This is raw data and does not expose file names, so for most purposes, it's pretty useless. Only if you know what should be on that tape and what is missing, you would be able to cross-reference file sizes and rename the files in that folder through Terminal's mv command.
Last updated