LinearTapeFileSystem / ltfs

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

Cannot mount a tape after data is copied #474

Closed upndr-octro closed 4 weeks ago

upndr-octro commented 3 months ago

There are many cases that tape is not able to mount in a sequence below. (Modified by @piste-jp)

Report from the originator

the main problem is that out of 10 cartridges only 4 of them is showing this error. I'm really confused with this. As i have put data in all of the cartridges in the same way then why is it showing this error. Usually i am putting data with cp mv commands. i am using the below commands for tape operations.

% sudo mtx -f /dev/sg2 status
% sudo umount /home/tapedata1
% sudo mt -f /dev/st0 offline
% sudo mtx -f /dev/sg2 unload 25 0
% sudo mtx -f /dev/sg2 load 1 0
% sudo mkltfs -d /dev/sg1    #this command i use for the first time only
% sudo ltfs -o devname=/dev/sg1 /home/tapedata1

Mount log

Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS14000I LTFS starting, LTFS version 2.4.5.0, log level 2.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS14058I LTFS Format Specification version 2.4.0.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS14104I Launched by "ltfs -o devname=/dev/sg1 /home/tapedata1".
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS14105I This binary is built for Linux (x86_64).
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS14106I GCC version is 4.8.5 20150623 (Red Hat 4.8.5-16).
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS17087I Kernel version: Linux version 3.10.0-1160.99.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Wed Sep 13 14:19:20 UTC 2023 i386.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS17089I Distribution: NAME="CentOS Linux".
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS17089I Distribution: CentOS Linux release 7.9.2009 (Core).
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS17089I Distribution: CentOS Linux release 7.9.2009 (Core).
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS17089I Distribution: CentOS Linux release 7.9.2009 (Core).
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS14063I Sync type is "time", Sync time is 300 sec.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS17085I Plugin: Loading "sg" tape backend.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS17085I Plugin: Loading "unified" iosched backend.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS30209I Opening a device through sg-ibmtape driver (/dev/sg1).
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS30250I Opened the SCSI tape device 15.0.0.0 (/dev/sg1).
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS30207I Vendor ID is IBM     .
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS30208I Product ID is ULTRIUM-HH9     .
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS30214I Firmware revision is PA63.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS30215I Drive serial is 10WT015978.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS30285I The reserved buffer size of /dev/sg1 is 524288.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS30294I Setting up timeout values from RSOC.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS30871I (no message found).
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS17160I Maximum device block size is 1048576.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS11330I Loading cartridge.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS30252I Logical block protection is disabled.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS11332I Load successful.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS17157I Changing the drive setting to write-anywhere mode.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS11005I Mounting the volume.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS30252I Logical block protection is disabled.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS11175E Cannot read ANSI label: expected 80 bytes, but received 0.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS11170E Failed to read label (-1012) from partition 0.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS11009E Cannot read volume: failed to read partition labels.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS14013E Cannot mount the volume.
Jul 31 06:35:55  ltfs[116858]: 1c87a LTFS30252I Logical block protection is disabled.
piste-jp commented 3 months ago

@upndr-octro

First of all, could you clarify the difference between this issue and #475? Is it the same one? or two different issues?

Please consolidate #474 and #475 and make a complete bug report if both describes only one issue.

upndr-octro commented 3 months ago

@piste-jp I have created a duplicate issue by mistake which I have now deleted #475. Please check.

piste-jp commented 3 months ago

First of all, your description is not a bug report at all. You just put the dirty log information to this issue.

Please write up the bug report which developer understands what is the issue easily. Please don't forget our activity on this project is completely voluntary.

There are 2 possibilities.

  1. The tape is not formatted correctly
  2. Your host (your server) cannot receive data from tape drive correctly. It might be same problem as #446

Please send another log with the command below.

ltfs -o devname=/dev/sg1 -o verbose=606 /home/tapedata1
upndr-octro commented 3 months ago

sudo ltfs -o devname=/dev/sg1 -o verbose=606 /home/tapedata1

2d773 LTFS14000I LTFS starting, LTFS version 2.4.5.0, log level 606.
2d773 LTFS14058I LTFS Format Specification version 2.4.0.
2d773 LTFS14104I Launched by "ltfs -o devname=/dev/sg1 -o verbose=606 /home/tapedata1".
2d773 LTFS14105I This binary is built for Linux (x86_64).
2d773 LTFS14106I GCC version is 4.8.5 20150623 (Red Hat 4.8.5-16).
2d773 LTFS17087I Kernel version: Linux version 3.10.0-1160.99.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Wed Sep 13 14:19:20 UTC 2023 i386.
2d773 LTFS17089I Distribution: NAME="CentOS Linux".
2d773 LTFS17089I Distribution: CentOS Linux release 7.9.2009 (Core).
2d773 LTFS17089I Distribution: CentOS Linux release 7.9.2009 (Core).
2d773 LTFS17089I Distribution: CentOS Linux release 7.9.2009 (Core).
2d773 LTFS14063I Sync type is "time", Sync time is 300 sec.
2d773 LTFS17085I Plugin: Loading "sg" tape backend.
2d773 LTFS17085I Plugin: Loading "unified" iosched backend.
2d773 LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection.
2d773 LTFS30209I Opening a device through sg-ibmtape driver (/dev/sg1).
2d773 LTFS30392D Backend CDB:  12 00 00 00 FF 00 .
2d773 LTFS30392D Backend DATA:  01 80 06 12 41 01 10 02 49 42 4D 20 20 20 20 20 .
2d773 LTFS30392D Backend DATA:  55 4C 54 52 49 55 4D 2D 48 48 39 20 20 20 20 20 .
2d773 LTFS30392D Backend DATA:  50 41 36 33 00 00 6B 00 00 12 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  30 32 58 57 36 31 36 20 00 00 00 A2 0C 28 04 60 .
2d773 LTFS30392D Backend DATA:  05 20 0A 28 05 02 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend CDB:  12 01 80 00 FF 00 .
2d773 LTFS30392D Backend DATA:  01 80 00 0A 31 30 57 54 30 31 35 39 37 38 20 20 .
2d773 LTFS30392D Backend DATA:  55 4C 54 52 49 55 4D 2D 48 48 39 20 20 20 20 20 .
2d773 LTFS30392D Backend DATA:  50 41 36 33 00 00 6B 00 00 12 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  30 32 58 57 36 31 36 20 00 00 00 A2 0C 28 04 60 .
2d773 LTFS30392D Backend DATA:  05 20 0A 28 05 02 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30250I Opened the SCSI tape device 15.0.0.0 (/dev/sg1).
2d773 LTFS30207I Vendor ID is IBM     .
2d773 LTFS30208I Product ID is ULTRIUM-HH9     .
2d773 LTFS30214I Firmware revision is PA63.
2d773 LTFS30215I Drive serial is 10WT015978.
2d773 LTFS30285I The reserved buffer size of /dev/sg1 is 524288.
2d773 LTFS30392D Backend CDB:  A3 0C 80 00 00 00 00 00 10 00 00 00 .
2d773 LTFS30294I Setting up timeout values from RSOC.
2d773 LTFS30871I (no message found).
2d773 LTFS30392D Backend CDB:  00 00 00 00 00 00 .
2d773 LTFS39801D SCSI timeout (op_code 0x5f, timeout = 60).
2d773 LTFS30392D Backend CDB:  5F 06 00 00 00 00 00 00 18 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 40 00 00 00 41 31 46 DA .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 .
2d773 LTFS12023D Reserving device.
2d773 LTFS30392D Backend reserve (PRO) 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x5f, timeout = 60).
2d773 LTFS30392D Backend CDB:  5F 01 03 00 00 00 00 00 18 00 .
2d773 LTFS30392D Backend DATA:  40 00 00 00 41 31 46 DA 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 .
2d773 LTFS12028D Unlocking medium.
2d773 LTFS30392D Backend allow medium removal 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x1e, timeout = 60).
2d773 LTFS30392D Backend CDB:  1E 00 00 00 00 00 .
2d773 LTFS30392D Backend read block limits 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x05, timeout = 60).
2d773 LTFS30392D Backend CDB:  05 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 80 00 00 00 01 .
2d773 LTFS17160I Maximum device block size is 1048576.
2d773 LTFS11330I Loading cartridge.
2d773 LTFS30392D Backend load 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x1b, timeout = 7920).
2d773 LTFS30392D Backend CDB:  1B 00 00 00 01 00 .
2d773 LTFS39801D SCSI timeout (op_code 0x34, timeout = 60).
2d773 LTFS30392D Backend CDB:  34 06 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30398D Backend readpos: (0, 0) FM = 0 10WT015978.
2d773 LTFS30393D Backend modesense: 63 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x5a, timeout = 60).
2d773 LTFS30392D Backend CDB:  5A 00 3F 00 00 00 00 00 FF 00 .
2d773 LTFS30392D Backend DATA:  00 E5 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  01 0A 28 FF 00 00 00 00 FF 00 00 00 02 0E 00 00 .
2d773 LTFS30392D Backend DATA:  00 01 00 00 00 00 00 00 00 00 00 00 0A 0A 00 01 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 FF FF 00 00 0F 0E C0 80 00 00 00 FF .
2d773 LTFS30392D Backend DATA:  00 00 00 FF 00 00 00 00 90 0E 00 00 00 00 01 2C .
2d773 LTFS30392D Backend DATA:  40 00 10 00 00 00 01 90 11 0E 03 01 3C 03 19 00 .
2d773 LTFS30392D Backend DATA:  00 73 2D F9 00 00 00 00 18 06 16 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  19 0E 46 00 07 D0 07 D0 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  9A 26 00 08 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 2E E0 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 1C 0A 08 04 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 1D 1E 00 00 01 02 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 AF 08 00 01 00 01 00 00 00 01 30 07 .
2d773 LTFS30392D Backend DATA:  01 02 03 20 40 42 43 06 00 0A 00 00 00 00 D6 EC .
2d773 LTFS30392D Backend DATA:  00 00 F7 44 15 00 00 00 00 02 00 06 00 0A 00 .
2d773 LTFS30392D Backend test unit ready 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x00, timeout = 60).
2d773 LTFS30392D Backend CDB:  00 00 00 00 00 00 .
2d773 LTFS12026D Locking medium in the drive.
2d773 LTFS30392D Backend prevent medium removal 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x1e, timeout = 60).
2d773 LTFS30392D Backend CDB:  1E 00 00 00 01 00 .
2d773 LTFS39801D SCSI timeout (op_code 0x34, timeout = 60).
2d773 LTFS30392D Backend CDB:  34 06 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30398D Backend readpos: (0, 0) FM = 0 10WT015978.
2d773 LTFS30392D Backend sg_set_default Resetting LBP.
2d773 LTFS30393D Backend LBP Enable: 0 .
2d773 LTFS30393D Backend LBP Method: 2 .
2d773 LTFS30393D Backend modesense: 10 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x5a, timeout = 60).
2d773 LTFS30392D Backend CDB:  5A 00 0A F0 00 00 00 00 30 00 .
2d773 LTFS30392D Backend DATA:  00 2E 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  4A F0 00 1C 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend modeselect 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x55, timeout = 60).
2d773 LTFS30392D Backend CDB:  55 10 00 00 00 00 00 00 30 00 .
2d773 LTFS30392D Backend DATA:  00 00 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  4A F0 00 1C 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30252I Logical block protection is disabled.
2d773 LTFS30397D Backend logsense: (23, 0) 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x4d, timeout = 60).
2d773 LTFS30392D Backend CDB:  4D 00 57 00 00 00 00 FF FF 00 .
2d773 LTFS30397D Backend capacity part0: (110033, 110038) 10WT015978.
2d773 LTFS30397D Backend capacity part1: (11061741, 11224012) 10WT015978.
2d773 LTFS30393D Backend modesense: 16 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x5a, timeout = 60).
2d773 LTFS30392D Backend CDB:  5A 00 10 00 00 00 00 00 20 00 .
2d773 LTFS30392D Backend DATA:  00 1E 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  90 0E 00 00 00 00 01 2C 40 00 10 00 00 00 01 90 .
2d773 LTFS30392D Backend read block limits 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x05, timeout = 60).
2d773 LTFS30392D Backend CDB:  05 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 80 00 00 00 01 .
2d773 LTFS30393D Backend modesense: 16 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x5a, timeout = 60).
2d773 LTFS30392D Backend CDB:  5A 00 10 01 00 00 00 00 30 00 .
2d773 LTFS30392D Backend DATA:  00 2E 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  D0 01 00 1C 00 02 D6 EB 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS11332I Load successful.
2d773 LTFS30392D Backend test unit ready 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x00, timeout = 60).
2d773 LTFS30392D Backend CDB:  00 00 00 00 00 00 .
2d773 LTFS30392D Backend test unit ready 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x00, timeout = 60).
2d773 LTFS30392D Backend CDB:  00 00 00 00 00 00 .
2d773 LTFS30397D Backend logsense: (23, 0) 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x4d, timeout = 60).
2d773 LTFS30392D Backend CDB:  4D 00 57 00 00 00 00 FF FF 00 .
2d773 LTFS30397D Backend capacity part0: (110033, 110038) 10WT015978.
2d773 LTFS30397D Backend capacity part1: (11061741, 11224012) 10WT015978.
2d773 LTFS30393D Backend modesense: 16 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x5a, timeout = 60).
2d773 LTFS30392D Backend CDB:  5A 00 10 01 00 00 00 00 30 00 .
2d773 LTFS30392D Backend DATA:  00 2E 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  D0 01 00 1C 00 02 D6 EB 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend modeselect 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x55, timeout = 60).
2d773 LTFS30392D Backend CDB:  55 10 00 00 00 00 00 00 30 00 .
2d773 LTFS30392D Backend DATA:  00 00 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  50 01 00 1C 00 02 D6 EB 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30393D Backend inquiry: 0 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x12, timeout = 60).
2d773 LTFS30392D Backend CDB:  12 00 00 00 FF 00 .
2d773 LTFS30392D Backend DATA:  01 80 06 12 41 01 10 02 49 42 4D 20 20 20 20 20 .
2d773 LTFS30392D Backend DATA:  55 4C 54 52 49 55 4D 2D 48 48 39 20 20 20 20 20 .
2d773 LTFS30392D Backend DATA:  50 41 36 33 00 00 6B 00 00 12 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  30 32 58 57 36 31 36 20 00 00 00 A2 0C 28 04 60 .
2d773 LTFS30392D Backend DATA:  05 20 0A 28 05 02 04 00 00 00 01 00 09 43 02 00 .
2d773 LTFS30392D Backend DATA:  00 00 0C 43 02 00 00 00 0D 43 02 00 00 00 0E 43 .
2d773 LTFS30392D Backend DATA:  04 00 00 00 00 00 0F 43 04 00 00 00 0A 00 10 43 .
2d773 LTFS30392D Backend DATA:  08 00 00 00 00 00 10 C6 7D 00 11 43 08 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 33 73 00 12 43 02 00 00 00 13 43 02 00 .
2d773 LTFS30392D Backend DATA:  00 00 14 43 06 00 00 00 AD 1E 8D 00 15 43 06 00 .
2d773 LTFS30392D Backend DATA:  00 00 AD 1E 8C 00 16 43 04 00 B5 58 46 00 17 43 .
2d773 LTFS30392D Backend DATA:  04 00 02 A6 ED 00 18 43 04 00 B1 00 80 00 19 43 .
2d773 LTFS30392D Backend DATA:  01 63 00 40 41 20 46 32 4A 59 31 4A 59 43 50 35 .
2d773 LTFS30392D Backend DATA:  20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .
2d773 LTFS30392D Backend DATA:  20 20 20 20 20 20 00 41 41 08 2A 32 32 38 39 30 .
2d773 LTFS30392D Backend DATA:  34 32 00 42 41 20 30 30 30 30 30 39 4C 38 20 .
2d773 LTFS17157I Changing the drive setting to write-anywhere mode.
2d773 LTFS30393D Backend modesense: 16 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x5a, timeout = 60).
2d773 LTFS30392D Backend CDB:  5A 00 10 01 00 00 00 00 30 00 .
2d773 LTFS30392D Backend DATA:  00 2E 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  D0 01 00 1C 00 02 D6 EB 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS11005I Mounting the volume.
2d773 LTFS11012D Loading the tape.
2d773 LTFS30392D Backend test unit ready 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x00, timeout = 60).
2d773 LTFS30392D Backend CDB:  00 00 00 00 00 00 .
2d773 LTFS30392D Backend load 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x1b, timeout = 7920).
2d773 LTFS30392D Backend CDB:  1B 00 00 00 01 00 .
2d773 LTFS39801D SCSI timeout (op_code 0x34, timeout = 60).
2d773 LTFS30392D Backend CDB:  34 06 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30398D Backend readpos: (0, 0) FM = 0 10WT015978.
2d773 LTFS30393D Backend modesense: 63 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x5a, timeout = 60).
2d773 LTFS30392D Backend CDB:  5A 00 3F 00 00 00 00 00 FF 00 .
2d773 LTFS30392D Backend DATA:  00 E5 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  01 0A 28 FF 00 00 00 00 FF 00 00 00 02 0E 00 00 .
2d773 LTFS30392D Backend DATA:  00 01 00 00 00 00 00 00 00 00 00 00 0A 0A 00 01 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 FF FF 00 00 0F 0E C0 80 00 00 00 FF .
2d773 LTFS30392D Backend DATA:  00 00 00 FF 00 00 00 00 90 0E 00 00 00 00 01 2C .
2d773 LTFS30392D Backend DATA:  40 00 10 00 00 00 01 90 11 0E 03 01 3C 03 19 00 .
2d773 LTFS30392D Backend DATA:  00 73 2D F9 00 00 00 00 18 06 16 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  19 0E 46 00 07 D0 07 D0 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  9A 26 00 08 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 2E E0 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 1C 0A 08 04 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 1D 1E 00 00 01 02 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 AF 08 00 01 00 01 00 00 00 01 30 07 .
2d773 LTFS30392D Backend DATA:  01 02 03 20 40 42 43 41 41 08 2A 32 32 38 39 30 .
2d773 LTFS30392D Backend DATA:  34 32 00 42 41 20 30 30 30 30 30 39 4C 38 20 .
2d773 LTFS30392D Backend test unit ready 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x00, timeout = 60).
2d773 LTFS30392D Backend CDB:  00 00 00 00 00 00 .
2d773 LTFS39801D SCSI timeout (op_code 0x34, timeout = 60).
2d773 LTFS30392D Backend CDB:  34 06 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30398D Backend readpos: (0, 0) FM = 0 10WT015978.
2d773 LTFS30392D Backend sg_set_default Resetting LBP.
2d773 LTFS30393D Backend LBP Enable: 0 .
2d773 LTFS30393D Backend LBP Method: 2 .
2d773 LTFS30393D Backend modesense: 10 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x5a, timeout = 60).
2d773 LTFS30392D Backend CDB:  5A 00 0A F0 00 00 00 00 30 00 .
2d773 LTFS30392D Backend DATA:  00 2E 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  4A F0 00 1C 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend modeselect 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x55, timeout = 60).
2d773 LTFS30392D Backend CDB:  55 10 00 00 00 00 00 00 30 00 .
2d773 LTFS30392D Backend DATA:  00 00 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  4A F0 00 1C 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30252I Logical block protection is disabled.
2d773 LTFS30397D Backend logsense: (23, 0) 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x4d, timeout = 60).
2d773 LTFS30392D Backend CDB:  4D 00 57 00 00 00 00 FF FF 00 .
2d773 LTFS30397D Backend capacity part0: (110033, 110038) 10WT015978.
2d773 LTFS30397D Backend capacity part1: (11061741, 11224012) 10WT015978.
2d773 LTFS30393D Backend modesense: 16 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x5a, timeout = 60).
2d773 LTFS30392D Backend CDB:  5A 00 10 00 00 00 00 00 20 00 .
2d773 LTFS30392D Backend DATA:  00 1E 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  90 0E 00 00 00 00 01 2C 40 00 10 00 00 00 01 90 .
2d773 LTFS30392D Backend read block limits 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x05, timeout = 60).
2d773 LTFS30392D Backend CDB:  05 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 80 00 00 00 01 .
2d773 LTFS30393D Backend modesense: 16 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x5a, timeout = 60).
2d773 LTFS30392D Backend CDB:  5A 00 10 01 00 00 00 00 30 00 .
2d773 LTFS30392D Backend DATA:  00 2E 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  D0 01 00 1C 00 02 D6 EB 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30397D Backend locate: (0, 0) 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x92, timeout = 2940).
2d773 LTFS30392D Backend CDB:  92 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS39801D SCSI timeout (op_code 0x34, timeout = 60).
2d773 LTFS30392D Backend CDB:  34 06 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30398D Backend readpos: (0, 0) FM = 0 10WT015978.
2d773 LTFS11007D Tape is loaded.
2d773 LTFS30397D Backend logsense: (23, 0) 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x4d, timeout = 60).
2d773 LTFS30392D Backend CDB:  4D 00 57 00 00 00 00 FF FF 00 .
2d773 LTFS30397D Backend capacity part0: (110033, 110038) 10WT015978.
2d773 LTFS30397D Backend capacity part1: (11061741, 11224012) 10WT015978.
2d773 LTFS11008D Reading partition labels.
2d773 LTFS30393D Backend modesense: 16 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x5a, timeout = 60).
2d773 LTFS30392D Backend CDB:  5A 00 10 00 00 00 00 00 20 00 .
2d773 LTFS30392D Backend DATA:  00 1E 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  90 0E 00 00 00 00 01 2C 40 00 10 00 00 00 01 90 .
2d773 LTFS30392D Backend read block limits 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x05, timeout = 60).
2d773 LTFS30392D Backend CDB:  05 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 80 00 00 00 01 .
2d773 LTFS30397D Backend locate: (0, 0) 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x92, timeout = 2940).
2d773 LTFS30392D Backend CDB:  92 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS39801D SCSI timeout (op_code 0x34, timeout = 60).
2d773 LTFS30392D Backend CDB:  34 06 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30398D Backend readpos: (0, 0) FM = 0 10WT015978.
2d773 LTFS30395D Backend read: 4096 bytes 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x08, timeout = 2340).
2d773 LTFS30392D Backend CDB:  08 02 00 10 00 00 .
2d773 LTFS30392D Backend SENSE:  F0 00 80 00 00 10 00 58 00 00 00 00 00 01 30 00 .
2d773 LTFS30392D Backend SENSE:  14 13 00 00 04 01 30 30 30 30 30 39 4C 00 00 00 .
2d773 LTFS30392D Backend SENSE:  0A 8C 1C 00 00 04 AE 1C C1 08 70 4C 38 00 00 00 .
2d773 LTFS30392D Backend SENSE:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend SENSE:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend SENSE:  00 00 00 00 00 00 46 32 4A 59 31 4A 59 43 50 35 .
2d773 LTFS30201D CDB check condition: sense = 000001, Filemark Detected.
2d773 LTFS30204D READ (0x08) expected error -20004.
2d773 LTFS30219D Read block: file mark detected.
2d773 LTFS11175E Cannot read ANSI label: expected 80 bytes, but received 0.
2d773 LTFS11170E Failed to read label (-1012) from partition 0.
2d773 LTFS11009E Cannot read volume: failed to read partition labels.
2d773 LTFS14013E Cannot mount the volume.
2d773 LTFS12028D Unlocking medium.
2d773 LTFS30392D Backend allow medium removal 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x1e, timeout = 60).
2d773 LTFS30392D Backend CDB:  1E 00 00 00 00 00 .
2d773 LTFS30392D Backend test unit ready 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x00, timeout = 60).
2d773 LTFS30392D Backend CDB:  00 00 00 00 00 00 .
2d773 LTFS30393D Backend modesense: 16 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x5a, timeout = 60).
2d773 LTFS30392D Backend CDB:  5A 00 10 01 00 00 00 00 30 00 .
2d773 LTFS30392D Backend DATA:  00 2E 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  D0 01 00 1C 00 02 D6 EB 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend modeselect 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x55, timeout = 60).
2d773 LTFS30392D Backend CDB:  55 10 00 00 00 00 00 00 30 00 .
2d773 LTFS30392D Backend DATA:  00 00 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  50 01 00 1C 00 02 D6 EB 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS12025D Releasing device.
2d773 LTFS30392D Backend release (PRO) 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x5f, timeout = 60).
2d773 LTFS30392D Backend CDB:  5F 02 03 00 00 00 00 00 18 00 .
2d773 LTFS30392D Backend DATA:  40 00 00 00 41 31 46 DA 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 .
2d773 LTFS30393D Backend LBP Enable: 0 .
2d773 LTFS30393D Backend LBP Method: 2 .
2d773 LTFS30393D Backend modesense: 10 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x5a, timeout = 60).
2d773 LTFS30392D Backend CDB:  5A 00 0A F0 00 00 00 00 30 00 .
2d773 LTFS30392D Backend DATA:  00 2E 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  4A F0 00 1C 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend modeselect 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x55, timeout = 60).
2d773 LTFS30392D Backend CDB:  55 10 00 00 00 00 00 00 30 00 .
2d773 LTFS30392D Backend DATA:  00 00 88 10 00 00 00 08 5E 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  4A F0 00 1C 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30252I Logical block protection is disabled.
2d773 LTFS39801D SCSI timeout (op_code 0x5f, timeout = 60).
2d773 LTFS30392D Backend CDB:  5F 06 00 00 00 00 00 00 18 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend DATA:  00 00 00 00 00 00 00 00 .
upndr-octro commented 3 months ago

I have formatted the tape cartridge using this command

mkltfs -d /dev/sg1

some of the tape cartridges are easily mounted and data can be read easily but i am facing issue with rest of the tape cartridges.

piste-jp commented 3 months ago

LTFS issues READ at (loc = 0, partition =0), but drive detected a filemark. It shall not be a filemark but a 80-byte record (as an ANSI label).

2d773 LTFS30398D Backend readpos: (0, 0) FM = 0 10WT015978.
2d773 LTFS30395D Backend read: 4096 bytes 10WT015978.
2d773 LTFS39801D SCSI timeout (op_code 0x08, timeout = 2340).
2d773 LTFS30392D Backend CDB: 08 02 00 10 00 00 .
2d773 LTFS30392D Backend SENSE: F0 00 80 00 00 10 00 58 00 00 00 00 00 01 30 00 .
2d773 LTFS30392D Backend SENSE: 14 13 00 00 04 01 30 30 30 30 30 39 4C 00 00 00 .
2d773 LTFS30392D Backend SENSE: 0A 8C 1C 00 00 04 AE 1C C1 08 70 4C 38 00 00 00 .
2d773 LTFS30392D Backend SENSE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend SENSE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .
2d773 LTFS30392D Backend SENSE: 00 00 00 00 00 00 46 32 4A 59 31 4A 59 43 50 35 .
2d773 LTFS30201D CDB check condition: sense = 000001, Filemark Detected.
2d773 LTFS30204D READ (0x08) expected error -20004.
2d773 LTFS30219D Read block: file mark detected.
2d773 LTFS11175E Cannot read ANSI label: expected 80 bytes, but received 0.
2d773 LTFS11170E Failed to read label (-1012) from partition 0.
2d773 LTFS11009E Cannot read volume: failed to read partition labels.

Something bad thing happens on your machine.

At the forst step, please confirm you aren't access to any st device like /dev/st0 with another command when you are using LTFS, includes mkltfs, ltfs and ltfsck.

upndr-octro commented 3 months ago

@piste-jp thanks for your reply.

After running

`sudo lsof | grep '/dev/st'

i see nothing in output.

piste-jp commented 3 months ago

I believe you cannot detect anything on your procedure. Please read #446, #431 and related issues. It might describe what happens.

If you don't aware what is running on your machine. Disable the st driver on your machine permanently. (I believe this kind of information can be find by web search.)

Finally, the tape now you are mounting is completely corrupted and cannot mount forever. You must reformat on the machine the st driver is disabled.

upndr-octro commented 3 months ago

@piste-jp Thanks for the response.

But the main problem is that out of 10 cartridges only 4 of them is showing this error. I'm really confused with this. As i have put data in all of the cartridges in the same way then why is it showing this error. Usually i am putting data with cp mv commands. i am using the below commands for tape operations.

mtx -f /dev/sg2 status

sudo umount /home/tapedata1

sudo mt -f /dev/st0 offline

mtx -f /dev/sg2 unload 25 0

sudo mtx -f /dev/sg2 load 1 0

mkltfs -d /dev/sg1    #this command i use for the first time only

sudo ltfs -o devname=/dev/sg1 /home/tapedata1

Could you please tell me what is the main cause ?

piste-jp commented 3 months ago

Oops, This is the most important info... Why don't you provide this information when you opened this issue?

For me, it is obvious that this kind of problem happens.

Problem is touching to /dev/st0 by sudo mt -f /dev/st0 offline just after sudo umount /home/tapedata1.

The ltfs process you launched is not finished yet when the command sudo umount /home/tapedata1 returns to your shell (This is the spec of FUSE so we cannot do anything about this.). So the ltfs process is writing a latest index on tape when sudo mt -f /dev/st0 offline is issued actually.

On the other hand, st device issues REWIND command when it is closed (PLEASE confirm manual!!!). As a result, tape position in the drive is unexpectedly changed while the ltfs process is writing latest index on tape and data sequence is corrupted.

You need to wait the ltfs process is finished completely before issuing sudo mt -f /dev/st0 offline, technically (You can use pidof command I think).

Basically, your procedure is really dangerous to us. I strongly recommend not to touch any st devices while you are using LTFS.

My recommendation is

  1. Move target tape by sudo mtx -f /dev/sg2 load 1 0
  2. Format tape by sudo mkltfs -d /dev/sg1 if you need
  3. Mount LTFS by sudo ltfs -o devname=/dev/sg1 -o eject /home/tapedata1
    • -o eject is the option to eject tape from drive after unmount
  4. Copy your data
  5. Unmount LTFS by sudo umount /home/tapedata1
  6. Wait ltfs process finishes by pidof ltfs (sudo is required ?? I don't know.)
  7. The tape shall be ejected when ltfs process finishes because of -o eject option
  8. Move target tape to a slot by sudo mtx -f /dev/sg2 unload 25 0

Finally, the LTFS project never supports the drive which is in a library. You need to use IBM's LTFS LE or other S/W to support library environment. Please use it with your own risk and please don't think you can have a quick support from this project.

piste-jp commented 3 months ago

This kind of topic were already discussed multiple times.

Refer other issues below carefully also.

upndr-octro commented 3 months ago

@piste-jp Thanks for your quick responses.

How would i be able to recover the data from the data cartridges that are failing to mount on my server? showing this error

12da LTFS11175E Cannot read ANSI label: expected 80 bytes, but received 0. 12da LTFS11170E Failed to read label (-1012) from partition 0. 12da LTFS11009E Cannot read volume: failed to read partition labels. 12da LTFS14013E Cannot mount the volume. 12da LTFS30252I Logical block protection is disabled.

is there any way to recover data?

piste-jp commented 3 months ago

No, no convenient way for normal level users.

Technically, it depends on how data corrupted on tape. But super expert, whole scan of tape, large capacity of work space (disk), and so much working time is required.

upndr-octro commented 3 months ago

@piste-jp It would be really helpful if you can suggest me some troubleshooting which i can perform on the data cartridge. As the data it has is really important to me.

thanks

upndr-octro commented 3 months ago

@piste-jp As you told me that st device issues REWIND. Is there anything with which we can move the tape in FORWARD direction ? so that we can read the tape ?

like this example mt -f /dev/st0 fsf 2 # Forward space to the third file

piste-jp commented 3 months ago

I'm really sorry to say you look you are not familiar with tape device and the LTFS format. So I believe I need to educate you from the beginning about what tape drive is and what the LTFS format is.

I don't want to spend my personal time such kind of thing, honestly.

Your data recovery is completely out-of-scope of the project and also the project doen't have any responsibility about that at all clearly.

I will not make another comments more than this on this thread.

piste-jp commented 4 weeks ago

Close this for now because there is no activity for a long time.

Please reopen this freely if something is remaining or newly happens.