LinearTapeFileSystem / LinearTapeFileSystem/ltfs

will "low space" warning corrupt data?

Open
#582 8 comments 0 reactions 1 assignee View on GitHub

@madjesc is already working on this.

Since Apr 12, 2026.

Investigating
Dominant language
C
Stars
352
Forks
110
Avg merge
2h 50m
Merged PRs (30d)
2

Description

Describe the bug
We are using a BDT library with an LTO-9 drive and LTFS version 2.4.5.1.

When the tape is nearly full, we mount it twice.

During the first mount (generation 155), the cartridge is mounted as read-only.

`
Image

`
Nine minutes later, we mount the tape again. This time, we observe that the tape is marked with the "index-dirty" flag.

`

Image

`
After this second mount, the tape becomes unreadable until it is rolled back to generation 155.

Our question is:

Why is the tape not mounted as read-only during the second mount?

We need the tape to remain readable at all times, especially when it is full, since we always need to read data from full tapes.

Is this expected LTFS behavior, or could this be a bug?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.