ltfs icon indicating copy to clipboard operation
ltfs copied to clipboard

Recover from tape without partition label?

Open heinowalther opened this issue 4 months ago • 4 comments

I have a system that works just fine with ltfs, so this it not at much about hardware or driver issues... I have a tape that is now 2-3 years old which I think may hold a file that I would like to recover. I think the tape may have been "overwritten" at some mount when there was an issue where you could mount and overwrite some of the tape if you did append, or close the tape correctly (sorry but can't remember the details). I'm now just trying to see if I can do some magic and recover something from the tape anyway... But I am unable to mount.. it keeps telling me there is no partition label... I have also tried ltfsck with the full recovery and even deep recovery, but it doesn't even "get going" as it cannot get past the partition label issue... I then tried to dump the tape to a file to maybe "work" with it a bit easier, but maybe it's my lag of knowledge, but a "simple" dd -if=/dev/sg29 -of=dump -bs=1024 doesn't seem to read anything off the tape...

Is there any way to read all the tape an try to see if there is a "lost" file table or even find some file headers? (not sure how the files are stored)... anyway it's only one tape (LTO8) so if someone can point be in a direction that may work, or forever kill my hope of getting the file back ;-)

I'm currently running ltfs version 2.5.0.0 but the tape would have been written with an older version. I'm on a standard Ubuntu 24.04 and the hardware is just a standalone IBM HH LTO8 which is SAS connected.

heinowalther avatar Aug 02 '25 17:08 heinowalther