Occasionally the code will below claim to mount the tape and the drive will make lots of noise, but nothing is mounted.
Is there a way to confirm that /dev/sg1 is an active mount point?
sudo /opt/ibm/ltfssde/bin/ltfs -o devname=/dev/sg1 /mnt/ltfs
805d LTFS14000I LTFS starting, LTFS version 2.4.7.1 (10515), log level 2.
805d LTFS14058I LTFS Format Specification version 2.4.0.
805d LTFS14104I Launched by "/opt/ibm/ltfssde/bin/ltfs -o devname=/dev/sg1 /mnt/ltfs".
805d LTFS14105I This binary is built for Linux (x86_64).
805d LTFS14106I GCC version is 8.5.0 20210514 (Red Hat 8.5.0-3).
805d LTFS17087I Kernel version: Linux version 4.18.0-553.51.1.el8_10.x86_64 (mockbuild@iad1-prod-build001.bld.equ.rockylinux.org) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-26) (GCC)) #1 SMP Wed Apr 30 20:24:04 UTC 2025 i386.
805d LTFS17089I Distribution: Rocky Linux release 8.10 (Green Obsidian).
805d LTFS17089I Distribution: NAME="Rocky Linux".
805d LTFS17089I Distribution: Rocky Linux release 8.10 (Green Obsidian).
805d LTFS17089I Distribution: Rocky Linux release 8.10 (Green Obsidian).
805d LTFS17089I Distribution: Rocky Linux release 8.10 (Green Obsidian).
805d LTFS14063I Sync type is "time", Sync time is 300 sec.
805d LTFS17085I Plugin: Loading "sg" tape backend.
805d LTFS17085I Plugin: Loading "unified" iosched backend.
805d LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection.
805d LTFS30209I Opening a device through sg-ibmtape driver (/dev/sg1).
805d LTFS30250I Opened the SCSI tape device 2.0.1.0 (/dev/sg1).
805d LTFS30207I Vendor ID is IBM .
805d LTFS30208I Product ID is ULTRIUM-HH7 .
805d LTFS30214I Firmware revision is MA71.
805d LTFS30215I Drive serial is C38E748000.
805d LTFS30285I The reserved buffer size of /dev/sg1 is 1048576.
805d LTFS30205I RSOC (0xa3) returns -20601.
805d LTFS30263I RSOC returns Not Ready to Ready Transition, Medium May Have Changed (-20601) /dev/sg1.
805d LTFS30262I Forcing drive dump.
805d LTFS39802W Unknown SCSI OP code 0x1d, use default timeout.
805d LTFS30253I Saving drive dump to /tmp/ltfs_C38E748000_2025_0513_213136_f.dmp.
805d LTFS39802W Unknown SCSI OP code 0x3c, use default timeout.
805d LTFS39802W Unknown SCSI OP code 0x3c, use default timeout.
805d LTFS39802W Unknown SCSI OP code 0x3c, use default timeout.
805d LTFS39802W Unknown SCSI OP code 0x3c, use default timeout.
805d LTFS39802W Unknown SCSI OP code 0x3c, use default timeout.
805d LTFS39802W Unknown SCSI OP code 0x3c, use default timeout.
805d LTFS39802W Unknown SCSI OP code 0x3c, use default timeout.
805d LTFS39802W Unknown SCSI OP code 0x3c, use default timeout.
805d LTFS39802W Unknown SCSI OP code 0x3c, use default timeout.
805d LTFS39802W Unknown SCSI OP code 0x3c, use default timeout.
805d LTFS39802W Unknown SCSI OP code 0x3c, use default timeout.
805d LTFS39802W Unknown SCSI OP code 0x3c, use default timeout.
805d LTFS39802W Unknown SCSI OP code 0x3c, use default timeout.
805d LTFS39802W Unknown SCSI OP code 0x3c, use default timeout.
805d LTFS39802W Unknown SCSI OP code 0x3c, use default timeout.
805d LTFS30294I Setting up timeout values from vendor and device.
805d LTFS17160I Maximum device block size is 1048576.
805d LTFS11330I Loading cartridge.
805d LTFS30252I Logical block protection is disabled.
805d LTFS11332I Load successful.
805d LTFS17157I Changing the drive setting to write-anywhere mode.
805d LTFS11005I Mounting the volume.
805d LTFS30252I Logical block protection is disabled.
805d LTFS17227I Tape attribute: Vendor = IBM .
805d LTFS17227I Tape attribute: Application Name = LTFS .
805d LTFS17227I Tape attribute: Application Version = 2.4.7.1 .
805d LTFS17227I Tape attribute: Medium Label = .
805d LTFS17228I Tape attribute: Text Localization ID = 0x81.
805d LTFS17227I Tape attribute: Barcode = .
805d LTFS17227I Tape attribute: Application Format Version = 2.4.0 .
805d LTFS17228I Tape attribute: Volume Lock Status = 0x00.
805d LTFS17227I Tape attribute: Media Pool name = .
805d LTFS11031I Volume mounted successfully. NO_BARCODE : Gen = 1 / (a, 5) -> (b, 5) / C38E748000.
805d LTFS14111I Initial setup completed successfully.
805d LTFS14112I Invoke 'mount' command to check the result of final setup.
805d LTFS14113I Specified mount point is listed if succeeded.