mhvtl icon indicating copy to clipboard operation
mhvtl copied to clipboard

Behavior of 'mt status' command

Open moloney opened this issue 11 years ago • 2 comments

Hello. I am not sure how much of this is a "bug" and how much is me expecting the same behavior as my hardware tape library. Here are the issues I am noticing:

  1. The "file number" and "block number" are reported as '-1' even after a tape is loaded. This is corrected if a "rewind" command is issued (they get set to 0).

  2. The "block number" is not updated after a write, it just stays at 0. Using the "tapeinfo" command shows the correct "Block Position".

  3. If a tape is unloaded and another tape is loaded, the next call to "mt status" will show the status from the last tape rather than the new tape. Doing a "mt status" between the unload and the load fixes this.

moloney avatar May 05 '14 23:05 moloney

I also encounter the issue three. I use rewind as workaround currently.

hrchu avatar Mar 13 '18 13:03 hrchu

any update on this?

hrchu avatar Aug 15 '19 04:08 hrchu