LinearTapeFileSystem / ltfs

Reference implementation of the LTFS format Spec for stand alone tape drive
BSD 3-Clause "New" or "Revised" License
252 stars 76 forks source link

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

Open ia2115 opened 2 years ago

ia2115 commented 2 years ago

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.

ia2115 commented 2 years ago

the controller/ cable works perfect with a IBM Ultrium-HH5 Rev. C7R3, but ofc thats only lto5.. same tape the lto6 tape drive couldnt handle without errors also. thats operation is not documented here in this case, only the trying to format a lto-6 tape.

piste-jp commented 2 years ago

TANDBERG drive support is experimental and not tested at all. Because we don't have any equipment. We just accept it and assume it behaves as same as IBM tape drive.

In this case, the CAM backend is saying the PF bit (Byte1, Bit4) of MODESELECT is not correct. Please try the quick hack below.

Change https://github.com/LinearTapeFileSystem/ltfs/blob/ffc63ac64d511e683f88bb163c774b603366a684/src/tape_drivers/freebsd/cam/cam_tc.c#L1992 to

                         /*scsi_page_fmt*/ 1,

This is the function call includes L1992.

https://github.com/LinearTapeFileSystem/ltfs/blob/ffc63ac64d511e683f88bb163c774b603366a684/src/tape_drivers/freebsd/cam/cam_tc.c#L1988-L1998

ia2115 commented 2 years ago

The quick dirty hack, seems do the trick.. now i can format and mount tapes.. will try write/read and other stuff later.. i have appended the log for it here:

mkltfs -d /dev/sa0 -n test -f -t

LTFS15000I Starting mkltfs, LTFS version 2.5.0.0 (Prelim), log level 3. LTFS15041I Launched by "mkltfs -d /dev/sa0 -n test -f -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-p8 #0: Tue Mar 15 09:36:28 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: None.

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. LTFS17157I Changing the drive setting to write-anywhere mode. LTFS15007D Device opened. LTFS15049I Checking the medium (load). 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 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 LTFS31392D Backend format HUJ527449P LTFS11100I Writing label to partition b. LTFS31397D Backend locate: (1, 0) HUJ527449P LTFS31398D Backend readpos: (1, 0) FM = 0 HUJ527449P LTFS31395D Backend write: 80 bytes HUJ527449P LTFS31396D Backend writefm: 1 HUJ527449P LTFS31398D Backend readpos: (1, 2) FM = 1 HUJ527449P LTFS31395D Backend write: 491 bytes HUJ527449P LTFS31396D Backend writefm: 1 HUJ527449P LTFS31398D Backend readpos: (1, 4) FM = 2 HUJ527449P LTFS11278I Writing index to partition b. LTFS31213I Error on readattr: (pass5:mps0:0:3:0): READ ATTRIBUTE. CDB: 8c 00 00 00 00 00 00 00 16 23 00 00 00 0a 00 00 (pass5:mps0:0:3:0): CAM status: SCSI Status Error (pass5:mps0:0:3:0): SCSI status: Check Condition (pass5:mps0:0:3:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB) (pass5:mps0:0:3:0): Command byte 8 bit 7 is invalid (-20501) HUJ527449P LTFS31260I Cannot read attribute (-20501) LTFS11336I The attribute does not exist. Ignore the expected error. LTFS17235I Writing index of NO_BARCODE to b (Reason: Format, 0 files) HUJ527449P. LTFS31396D Backend writefm: 1 HUJ527449P LTFS31398D Backend readpos: (1, 5) FM = 3 HUJ527449P LTFS31395D Backend write: 895 bytes HUJ527449P LTFS31396D Backend writefm: 1 HUJ527449P LTFS31398D Backend readpos: (1, 7) FM = 4 HUJ527449P LTFS17236I Wrote index of NO_BARCODE (Gen = 1, Part = b, Pos = 5, HUJ527449P). LTFS11337I Update index-dirty flag (0) - NO_BARCODE (0x0x802456000). LTFS11100I Writing label to partition a. LTFS31397D Backend locate: (0, 0) HUJ527449P LTFS31398D Backend readpos: (0, 0) FM = 0 HUJ527449P LTFS31395D Backend write: 80 bytes HUJ527449P LTFS31396D Backend writefm: 1 HUJ527449P LTFS31398D Backend readpos: (0, 2) FM = 1 HUJ527449P LTFS31395D Backend write: 491 bytes HUJ527449P LTFS31396D Backend writefm: 1 HUJ527449P LTFS31398D Backend readpos: (0, 4) FM = 2 HUJ527449P LTFS11278I Writing index to partition a. LTFS31213I Error on readattr: (pass5:mps0:0:3:0): READ ATTRIBUTE. CDB: 8c 00 00 00 00 00 00 00 16 23 00 00 00 0a 00 00 (pass5:mps0:0:3:0): CAM status: SCSI Status Error (pass5:mps0:0:3:0): SCSI status: Check Condition (pass5:mps0:0:3:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB) (pass5:mps0:0:3:0): Command byte 8 bit 7 is invalid (-20501) HUJ527449P LTFS31260I Cannot read attribute (-20501) LTFS11336I The attribute does not exist. Ignore the expected error. LTFS31396D Backend writefm: 0 HUJ527449P LTFS31398D Backend readpos: (0, 4) FM = 2 HUJ527449P LTFS17235I Writing index of NO_BARCODE to a (Reason: Format, 0 files) HUJ527449P. LTFS31396D Backend writefm: 1 HUJ527449P LTFS31398D Backend readpos: (0, 5) FM = 3 HUJ527449P LTFS31395D Backend write: 1006 bytes HUJ527449P LTFS31396D Backend writefm: 1 HUJ527449P LTFS31398D Backend readpos: (0, 7) FM = 4 HUJ527449P LTFS17236I Wrote index of NO_BARCODE (Gen = 1, Part = a, Pos = 5, HUJ527449P). LTFS15013I Volume UUID is: bcc75879-2a6c-4892-8339-4bcc6f9b39df.

LTFS15019I Volume capacity is 2524 GB. LTFS15020D Closing the device. LTFS12028D Unlocking medium. LTFS31392D Backend allow medium removal HUJ527449P 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:3:0): MODE SENSE(10). CDB: 5a 00 24 00 00 00 00 00 28 00 (pass5:mps0:0:3:0): CAM status: SCSI Status Error (pass5:mps0:0:3:0): SCSI status: Check Condition (pass5:mps0:0:3:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB) (pass5:mps0:0:3:0): Command byte 2 bit 5 is invalid (-20501) HUJ527449P LTFS15022D Device closed. LTFS15024I Medium formatted successfully.

ia2115 commented 2 years ago

and the ltfs mount of the same tape:

ltfs /tmp/ltfs/ -o trace

18c25 LTFS14000I LTFS starting, LTFS version 2.5.0.0 (Prelim), log level 3. 18c25 LTFS14058I LTFS Format Specification version 2.4.0. 18c25 LTFS14104I Launched by "ltfs /tmp/ltfs/ -o trace". 18c25 LTFS14105I This binary is built for FreeBSD. 18c25 LTFS14106I GCC version is FreeBSD Clang 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe). 18c25 LTFS17087I Kernel version: FreeBSD 13.0-RELEASE-p8 #0: Tue Mar 15 09:36:28 UTC 2022 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC . 18c25 LTFS14063I Sync type is "time", Sync time is 300 sec. 18c25 LTFS17085I Plugin: Loading "cam" tape backend. 18c25 LTFS17085I Plugin: Loading "unified" iosched backend. 18c25 LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection. 18c25 LTFS31223I Opening a device through CAM driver (/dev/sa0) 18c25 LTFS31228I Product ID is 'LTO-6 HH' 18c25 LTFS31229I Vendor ID is TANDBERG 18c25 LTFS31232I Firmware revision is 3579 18c25 LTFS31233I Drive serial is HUJ527449P 18c25 LTFS12023D Reserving device. 18c25 LTFS31392D Backend reserve unit (6) HUJ527449P 18c25 LTFS12028D Unlocking medium. 18c25 LTFS31392D Backend allow medium removal HUJ527449P 18c25 LTFS31392D Backend read block limits HUJ527449P 18c25 LTFS17160I Maximum device block size is 1048576. 18c25 LTFS11330I Loading cartridge. 18c25 LTFS31392D Backend load HUJ527449P 18c25 LTFS31398D Backend readpos: (0, 0) FM = 0 HUJ527449P 18c25 LTFS12026D Locking medium in the drive. 18c25 LTFS31392D Backend prevent medium removal HUJ527449P 18c25 LTFS31398D Backend readpos: (0, 0) FM = 0 HUJ527449P 18c25 LTFS31392D Backend camtape_set_default Setting SILI bit 18c25 LTFS31392D Backend camtape_set_default Setting EOT model to 1FM 18c25 LTFS31392D Backend read block limits HUJ527449P 18c25 LTFS11332I Load successful. 18c25 LTFS17157I Changing the drive setting to write-anywhere mode. 18c25 LTFS11005I Mounting the volume from device. 18c25 LTFS11012D Loading the tape. 18c25 LTFS31392D Backend load HUJ527449P 18c25 LTFS31398D Backend readpos: (0, 0) FM = 0 HUJ527449P 18c25 LTFS31398D Backend readpos: (0, 0) FM = 0 HUJ527449P 18c25 LTFS31392D Backend camtape_set_default Setting SILI bit 18c25 LTFS31392D Backend camtape_set_default Setting EOT model to 1FM 18c25 LTFS31392D Backend read block limits HUJ527449P 18c25 LTFS31397D Backend locate: (0, 0) HUJ527449P 18c25 LTFS31398D Backend readpos: (0, 0) FM = 0 HUJ527449P 18c25 LTFS11007D Tape is loaded. 18c25 LTFS11008D Reading partition labels. 18c25 LTFS31392D Backend read block limits HUJ527449P 18c25 LTFS31397D Backend locate: (0, 0) HUJ527449P 18c25 LTFS31398D Backend readpos: (0, 0) FM = 0 HUJ527449P 18c25 LTFS31206D IOCTL: sense = 00/0001 18c25 LTFS31236D Read block: file mark detected 18c25 LTFS31206D IOCTL: sense = 00/0001 18c25 LTFS31236D Read block: file mark detected 18c25 LTFS31392D Backend read block limits HUJ527449P 18c25 LTFS31397D Backend locate: (1, 0) HUJ527449P 18c25 LTFS31398D Backend readpos: (1, 0) FM = 0 HUJ527449P 18c25 LTFS31206D IOCTL: sense = 00/0001 18c25 LTFS31236D Read block: file mark detected 18c25 LTFS31206D IOCTL: sense = 00/0001 18c25 LTFS31236D Read block: file mark detected 18c25 LTFS31392D Backend read block limits HUJ527449P 18c25 LTFS11013D Partition labels are valid. 18c25 LTFS11014D Reading MAM parameters. 18c25 LTFS11339D Read volume lock status (0). 18c25 LTFS31213I Error on modesense: (pass5:mps0:0:3:0): MODE SENSE(10). CDB: 5a 00 25 00 00 00 00 00 30 00 (pass5:mps0:0:3:0): CAM status: SCSI Status Error (pass5:mps0:0:3:0): SCSI status: Check Condition (pass5:mps0:0:3:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB) (pass5:mps0:0:3:0): Command byte 2 bit 5 is invalid (-20501) HUJ527449P 18c25 LTFS11018D Done reading MAM parameters. 18c25 LTFS11019D Checking volume consistency. 18c25 LTFS31397D Backend locate: (0, 5) HUJ527449P 18c25 LTFS31398D Backend readpos: (0, 5) FM = 3 HUJ527449P 18c25 LTFS31209D IOCTL: no sense info 18c25 LTFS31238D Read block: underlength condition is detected. shortage = 523282, actual = 1006 18c25 LTFS31206D IOCTL: sense = 00/0001 18c25 LTFS31236D Read block: file mark detected 18c25 LTFS31394D Backend space back file marks: 1 HUJ527449P 18c25 LTFS31398D Backend readpos: (0, 6) FM = 3 HUJ527449P 18c25 LTFS31394D Backend space forward file marks: 1 HUJ527449P 18c25 LTFS31398D Backend readpos: (0, 7) FM = 4 HUJ527449P 18c25 LTFS11025D Volume is consistent. 18c25 LTFS11028D Consistency check finished. 18c25 LTFS17227I Tape attribute: Vendor = IBM . 18c25 LTFS17227I Tape attribute: Application Name = LTFS . 18c25 LTFS17227I Tape attribute: Application Version = 2.5.0.0 . 18c25 LTFS17227I Tape attribute: Medium Label = test. 18c25 LTFS17228I Tape attribute: Text Localization ID = 0x81. 18c25 LTFS17227I Tape attribute: Barcode = . 18c25 LTFS17227I Tape attribute: Application Format Version = 2.4.0 . 18c25 LTFS17228I Tape attribute: Volume Lock Status = 0x00. 18c25 LTFS17227I Tape attribute: Media Pool name = . 18c25 LTFS11031I Volume mounted successfully. NO_BARCODE : Gen = 1 / (a, 5) -> (b, 5) / HUJ527449P. 18c25 LTFS14122I Index will not be captured. 18c25 LTFS14111I Initial setup completed successfully. 18c25 LTFS14112I Invoke 'mount' command to check the result of final setup. 18c25 LTFS14113I Specified mount point is listed if succeeded.

piste-jp commented 2 years ago

In the sg backend for Linux PF bit (page_format) is set. So my previous hack looks correct to the CAM backend also.

I will fix this later.

https://github.com/LinearTapeFileSystem/ltfs/blob/ffc63ac64d511e683f88bb163c774b603366a684/src/tape_drivers/linux/sg/sg_tape.c#L3264-L3267

ia2115 commented 2 years ago

awesome job, thanks a lot for your efforts.

Rolf-Hempel commented 1 year ago

Sorry for reopening this old thread, but I have a big problem with LTFS on my Tandberg LTO-6 drive. So far I used Windows 10 for LTFS, but since the 22H2 update it does not work anymore. So I would like to move to Ubuntu Linux 22.04LTS.

What is the status of your software for Tandberg drives? Is it worth trying? Did you get feedback from other users meanwhile?

I use the Tandberg LTO-6 drive on Ubuntu for backup via bacula already. That works very well, so it would be just great if I could get LTFS running on Ubuntu as well.

Any comment would be very much appreciated.

piste-jp commented 1 year ago

It looks an entry is existing into the table and it might be accepted by HP drive handling.

https://github.com/LinearTapeFileSystem/ltfs/blob/f95a9a4463a0e3dbb0b69aa57324a78e4eb80322/src/tape_drivers/hp_tape.c#L65-L74

Rolf-Hempel commented 1 year ago

Thank you very much for your quick reply! That looks promising, indeed. So, I will definitely give it a try.