What could cause an LTO drive to write at half its capacity?

I have an LTO4 drive that when given even new LTO4 tapes, only writes around 460GiB to the tape even though the tape's uncompressed capacity is supposed to be 800GB.

I have noticed that in one direction the drive writes close to the stated 80MB/sec, however in the reverse direction it only manages close to 40MB/sec.

The drive is a supported HP model and needed a firmware upgrade which I have done, however the problem remains. The drive's self test fails when run through HP Tape Tools, however there are no error messages just warnings on the lines where it shows the amount of data written at each different tape speed.

What could be causing this problem? The tape motors sound like they are running at the same speed in both directions, so I am wondering whether writing at barely 40MB/sec means the drive is encountering errors and having to write the data again, causing the apparent loss of write speed and capacity. Is this possible?

Does anyone else know what would cause similar problems but have the HP Tape Tools drive assessment come back as otherwise OK?

EDIT: I've tried with encryption on (462GB) and off (467GB) and the data I'm writing is not very compressible so the drive's compression doesn't do much.

EDIT2: @Mark I tried with an LTO3 tape and instead of the expected 400GB it only writes 296GiB. Watching the write amounts, it seems to write 9GiB on the forward wrap but only 4.4GiB on the reverse wrap, but the motors run at the same speed. So looks like your theory is right, and the drive is getting a lot of verify-after-write errors and having to rewrite quite a lot of data. It's a bit weird that a reason for this doesn't show up in any of the Tape Tools tests, they all say the head life is excellent and there are no issues, other than there's an issue with the amount of data written (approx 2GB during the test, but I only know from other tests with other drives this figure is normally around 6GB.)


Solution 1:

It sounds like clogged tape drive head. The only thing you can try is:

  • Clean multiple times with a preferably new cleaning tape the drive.

  • Run a test backup to see if something changes.

  • Contact Vendor for replacement (crossing fingers that if you need this you will have still warranty).

Forgot to mention to check if the drive was updated its driver recently use the previous available than current version.

Solution 2:

LTO drives will perform a verification read on the data they have just written. If it is not good enough they can write an extra copy as you mention. The data physically written to the tape contains extra metadata not visible to the backup application, which the firmware can use to deduplicate the extra copy at read time.

Since LTO drives write in both directions it is not enough to have just one read head and one write head. The order in which those two heads were located would mean that the verification read would only be possible in one direction not both.

For that reason the drive has three heads. They don't wear down equally fast. When the first head is wearing down you will see the drop in capacity in one direction because it is a different head which is used in the other direction.

The failure mode you describe is not unique to HP. I have seen multiple non-HP drives fail in the same manner as you describe. The only difference was that I saw it on drives rated for 120MB/s so I saw 120MB/s in one direction and 60MB/s in the other.

Solution 3:

I'm no specialist on LTO, but I suspect if the tape is not "streaming" while being written (but uses "stop and go"), the firmware may leave some "safety gaps" between the last write and the next write (the tape has to stop, position back a bit, then re-accelerate forward and then start writing after a safety gap).

So like in the good old days it would be helpful to stand near the drive when it's writing to listen how it sounds. You can clearly hear the stop-n-go mode. Stop-n-go mode may also make any built-in drive compression efficiency worse.