Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Recover from tape without partition label?

Aperta
#537 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
c, linux, ubuntu

Direzione di ricerca

Iniziare esaminando il comportamento segnalato di ltfs 2.5.0.0 riguardo al ripristino di ltfsck, alla gestione delle etichette delle partizioni e alla lettura da /dev/sg29; l’issue non indica file sorgente né test. Riprodurre i tentativi di mount, di ripristino completo/in profondità e di dump su una configurazione LTO8, se disponibile, quindi determinare se sia possibile recuperare il contenuto del nastro o le intestazioni dei file e documentare il risultato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C
Stelle
352
Fork
110
Merge medio
2h 50m
PR unite (30g)
2

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LinearTapeFileSystem/ltfs

Tutte le issue di LinearTapeFileSystem/ltfs

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.