LinearTapeFileSystem / LinearTapeFileSystem/ltfs

Cant format a LTO-6 tape on a Tandberg LTO-6

Open
#343 10 comments 0 reactions 1 assignee View on GitHub

@piste-jp is already working on this.

Since Mar 23, 2022.

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

Description

i cant format a tape, it keep on failing with some scsi error..
i have tried now two different controllers, in ltfs for windows i can format the tapes without any errors, with both controllers.
One Dell and now one lsi one, both in it mode.

Any suggestions?

# mkltfs --device=/dev/sa0 --rules="size=100K" -t
LTFS15000I Starting mkltfs, LTFS version 2.5.0.0 (Prelim), log level 3.
LTFS15041I Launched by "mkltfs --device=/dev/sa0 --rules=size=100K -t".
LTFS15042I This binary is built for FreeBSD.
LTFS15043I GCC version is FreeBSD Clang 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe).
LTFS17087I Kernel version: FreeBSD 13.0-RELEASE-p7 #0: Mon Jan 31 18:24:03 UTC 2022
root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
.
LTFS15025D Validating command line options.
LTFS15037D Command line options are valid.
LTFS15003I Formatting device '/dev/sa0'.
LTFS15004I LTFS volume blocksize: 524288.
LTFS15005I Index partition placement policy: size=100K.

LTFS11337I Update index-dirty flag (1) - NO_BARCODE (0x0x802456000).
LTFS15006D Opening the device.
LTFS17085I Plugin: Loading "cam" tape backend.
LTFS31223I Opening a device through CAM driver (/dev/sa0)
LTFS31228I Product ID is 'LTO-6 HH'
LTFS31229I Vendor ID is TANDBERG
LTFS31232I Firmware revision is 3579
LTFS31233I Drive serial is HUJ527449P
LTFS12023D Reserving device.
LTFS31392D Backend reserve unit (6) HUJ527449P
LTFS12028D Unlocking medium.
LTFS31392D Backend allow medium removal HUJ527449P
LTFS31392D Backend read block limits HUJ527449P
LTFS17160I Maximum device block size is 1048576.
LTFS11330I Loading cartridge.
LTFS31392D Backend load HUJ527449P
LTFS31398D Backend readpos: (0, 0) FM = 0 HUJ527449P
LTFS12026D Locking medium in the drive.
LTFS31392D Backend prevent medium removal HUJ527449P
LTFS31398D Backend readpos: (0, 0) FM = 0 HUJ527449P
LTFS31392D Backend camtape_set_default Setting SILI bit
LTFS31392D Backend camtape_set_default Setting EOT model to 1FM
LTFS31392D Backend read block limits HUJ527449P
LTFS11332I Load successful.
LTFS31213I Error on modeselect: (pass5:mps0:0:1:0): MODE SELECT(10). CDB: 55 00 00 00 00 00 00 00 30 00
(pass5:mps0:0:1:0): CAM status: SCSI Status Error
(pass5:mps0:0:1:0): SCSI status: Check Condition
(pass5:mps0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB)
(pass5:mps0:0:1:0): Command byte 1 bit 4 is invalid
(-20501) HUJ527449P
LTFS17103E Cannot set PEWS: Mode Select for Device Configuration Extension failed (-20501).
LTFS17157I Changing the drive setting to write-anywhere mode.
LTFS15007D Device opened.
LTFS15049I Checking the medium (mount).
LTFS11012D Loading the tape.
LTFS31392D Backend load HUJ527449P
LTFS31398D Backend readpos: (0, 0) FM = 0 HUJ527449P
LTFS31398D Backend readpos: (0, 0) FM = 0 HUJ527449P
LTFS31392D Backend camtape_set_default Setting SILI bit
LTFS31392D Backend camtape_set_default Setting EOT model to 1FM
LTFS31392D Backend read block limits HUJ527449P
LTFS31397D Backend locate: (0, 0) HUJ527449P
LTFS31398D Backend readpos: (0, 0) FM = 0 HUJ527449P
LTFS11007D Tape is loaded.
LTFS15010I Creating data partition b on SCSI partition 1.
LTFS15011I Creating index partition a on SCSI partition 0.
LTFS31392D Backend read block limits HUJ527449P
LTFS17165I Resetting the medium's capacity proportion.
LTFS31392D Backend load HUJ527449P
LTFS31398D Backend readpos: (0, 0) FM = 0 HUJ527449P
LTFS11097I Partitioning the medium.
LTFS31392D Backend load HUJ527449P
LTFS31398D Backend readpos: (0, 0) FM = 0 HUJ527449P
LTFS31213I Error on modeselect: (pass5:mps0:0:1:0): MODE SELECT(10). CDB: 55 00 00 00 00 00 00 00 20 00
(pass5:mps0:0:1:0): CAM status: SCSI Status Error
(pass5:mps0:0:1:0): SCSI status: Check Condition
(pass5:mps0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB)
(pass5:mps0:0:1:0): Command byte 1 bit 4 is invalid
(-20501) HUJ527449P
LTFS31392D Backend format HUJ527449P
LTFS31213I Error on format: (pass5:mps0:0:1:0): FORMAT MEDIUM. CDB: 04 00 01 00 00 00
(pass5:mps0:0:1:0): CAM status: SCSI Status Error
(pass5:mps0:0:1:0): SCSI status: Check Condition
(pass5:mps0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:26,2 (Parameter value invalid)
(-20500) HUJ527449P
LTFS12053E Cannot format medium: backend call failed (-20500).
LTFS11098E Cannot format: failed to partition the medium (-20500).
LTFS15012E Failed to format the medium.
LTFS12028D Unlocking medium.
LTFS31392D Backend allow medium removal HUJ527449P
LTFS31213I Error on modeselect: (pass5:mps0:0:1:0): MODE SELECT(10). CDB: 55 00 00 00 00 00 00 00 30 00
(pass5:mps0:0:1:0): CAM status: SCSI Status Error
(pass5:mps0:0:1:0): SCSI status: Check Condition
(pass5:mps0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB)
(pass5:mps0:0:1:0): Command byte 1 bit 4 is invalid
(-20501) HUJ527449P
LTFS17155E Cannot set WRITE MODE: Mode Select for Device Configuration Extension failed (-20501).
LTFS12025D Releasing device.
LTFS31392D Backend release unit (6) HUJ527449P
LTFS31392D Backend rewind HUJ527449P
LTFS31398D Backend readpos: (0, 0) FM = 0 HUJ527449P
LTFS31213I Error on modesense: (pass5:mps0:0:1:0): MODE SENSE(10). CDB: 5a 00 24 00 00 00 00 00 28 00
(pass5:mps0:0:1:0): CAM status: SCSI Status Error
(pass5:mps0:0:1:0): SCSI status: Check Condition
(pass5:mps0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB)
(pass5:mps0:0:1:0): Command byte 2 bit 5 is invalid
(-20501) HUJ527449P
LTFS15023I Formatting failed.

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.