Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Recover from tape without partition label?

Abierto
#537 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
c, linux, ubuntu

Línea de trabajo

Comience revisando el comportamiento notificado de ltfs 2.5.0.0 en torno a la recuperación de ltfsck, el tratamiento de las etiquetas de partición y la lectura desde /dev/sg29; el issue no indica archivos fuente ni pruebas. Reproduzca los intentos de montaje, de recuperación completa/en profundidad y de volcado en una configuración LTO8, si está disponible, y determine después si se pueden recuperar los contenidos de la cinta o las cabeceras de los archivos, y documente el resultado.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

question

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.

Lenguaje dominante
C
Estrellas
356
Forks
111
Merge medio
5 d 1 h
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de LinearTapeFileSystem/ltfs

Todos los issues de LinearTapeFileSystem/ltfs

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.