Hello
I am struggling to get the the IBM ltfssde-2.4.5.1-10503-RHEL8.x86_64.rpm LTFS driver working on Rocky 8.9. I was wondering if anyone else has got it working ?
Thank you
[root@ltfs-linux-localdomain INSTALLERS]# sudo yum install ltfssde-2.4.5.1-10503-RHEL8.x86_64.rpm
Last metadata expiration check: 2:55:31 ago on Mon 17 Jul 2023 09:31:10 AM CEST.
Dependencies resolved.
=====================================================================================
Package Architecture Version Repository Size
=====================================================================================
Installing:
ltfssde x86_64 2.4.5.1-10503 @commandline 520 k
Transaction Summary
=====================================================================================
Install 1 Package
Total size: 520 k
Installed size: 4.2 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: ltfssde-2.4.5.1-10503.x86_64 1/1
Installing : ltfssde-2.4.5.1-10503.x86_64 1/1
Running scriptlet: ltfssde-2.4.5.1-10503.x86_64 1/1
Created symlink /etc/systemd/system/multi-user.target.wants/ltfssde.service → /etc/systemd/system/ltfssde.service.
Verifying : ltfssde-2.4.5.1-10503.x86_64 1/1
Installed:
ltfssde-2.4.5.1-10503.x86_64
[root@ltfs-linux-localdomain INSTALLERS]# ltfs
bash: ltfs: command not found...
[root@ltfs-linux-localdomain INSTALLERS]# ltfs -o devname=/dev/sg10 /mnt/ltfs
bash: ltfs: command not found...
[admin@ltfs-linux-localdomain patrick]$ sudo mt -f /dev/st1 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x5c (no translation).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
Sometimes, if the path was updated during install of that package you need to log out and login again. Alternatively, you will need to use the full path to ltfs, so:
rpm -ql ltfssde
to find out where ltfs binary exists and then:
/path/to/bin/ltfs
based on whatever the path is. Never used that package, so no idea if it updates path statements or not.
You can then configure the path yourself automatically by editing your bash scripts, or just write the full path each time you want to run it.
You can also use:
systemctl status ltfssde
to make sure the package installed and ran the service successfully.
The systemd service shows as started from the systemctl status command. That part is working. You cannot run it with sudo or without sudo - systemd doesn’t work like that. It’s started, which mean that bit is OK. What you need now is the path to wherever ltfs is assuming this is a valid binary command. So you now need to check using the rpm command I gave in my previous post to find out what the content of that rpm is and where it is located on the disk. If bin/ltfs is listed as one of the files maybe /opt/ltfs/bin for example, then you will need to specify the full path to ltfs to run it. Or you can add /opt/ltfs/bin to your PATH so that each time you login the path will be set, and you can then just write ltfs on it’s own like you tried earlier.
I don’t know what the path is, until you check the contents of the rpm using the command I gave. But if it is in there, it will show bin or sbin there somewhere.