Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Recover from tape without partition label?

オープン
#537 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
c, linux, ubuntu

調査の方向性

まず、ltfsck のリカバリ、パーティションラベルの処理、および /dev/sg29 からの読み取りに関して報告された ltfs 2.5.0.0 の動作を確認してください。issue にはソースファイルやテストの記載はありません。可能であれば LTO8 の構成で、マウント、完全リカバリ/ディープリカバリ、およびダンプの試行を再現し、その後、テープの内容またはファイルヘッダーを復元できるかどうかを判断して、結果を記録してください。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
C
スター
352
フォーク
110
平均マージ
2時間 1分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

LinearTapeFileSystem/ltfs のほかの issue

LinearTapeFileSystem/ltfs の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。