Tape Storage

 View Only
Expand all | Collapse all

LTFS SDE & Rocky Linux 8.8 - cannot activate service

  • 1.  LTFS SDE & Rocky Linux 8.8 - cannot activate service

    Posted Wed July 19, 2023 05:12 PM

    Hello

    I am trying to install linux ltfssde-2.4.5.1-10503-RHEL8.x86_64.rpm file on Rocky Linux 8.8. 

    I have no issue with the install but I am unable to get the service running...

    systemctl status ltfssde
    ● ltfssde.service - IBM Spectrum Archive SDE
       Loaded: loaded (/etc/systemd/system/ltfssde.service; enabled; vendor preset: disabled)
       Active: active (exited) since Tue 2023-07-18 18:45:59 CEST; 15h ago
      Process: 1251 ExecStart=/opt/ibm/ltfssde/share/ltfs/ltfssde start (code=exited, status=0/SUCCESS)
     Main PID: 1251 (code=exited, status=0/SUCCESS)
        Tasks: 0 (limit: 151629)
       Memory: 0B
       CGroup: /system.slice/ltfssde.service
    
    Jul 18 18:45:59 ltfs-linux-localdomain systemd[1]: Starting IBM Spectrum Archive SDE...
    Jul 18 18:45:59 ltfs-linux-localdomain systemd[1]: Started IBM Spectrum Archive SDE.
    
    systemctl list-units --type=service --state=active
    ltfssde.service                                    loaded active exited  IBM Spectrum Archive SDE 
    cd /etc/systemd/system/
    [admin@ltfs-linux-localdomain system]$ sudo ./ltfssde.service
    sudo: ./ltfssde.service: command not found

    Does anyone have an idea what I am doing wrong?

    Thank you



    ------------------------------
    christopher lowdenc
    ------------------------------


  • 2.  RE: LTFS SDE & Rocky Linux 8.8 - cannot activate service

    Posted Thu July 20, 2023 04:49 AM

    Hi,

    The service definition of `ltfssde.service` is  NOT usable for mounting the filesystem. It is just installed for forcibly unmounting LTFS tape at unexpected server power off. You need to use the `ltfs` command to mount the tape as a filesystem.

    1. See https://www.ibm.com/docs/en/spectrum-archive-sde/2.4.5?topic=system-installing-upgrading-from-binary-rpm-file for installing and configureing your search path

    2. See https://www.ibm.com/docs/en/spectrum-archive-sde/2.4.5?topic=systems-mounting-tape-media for how to use the `ltfs` command to mount a tape



    ------------------------------
    ---
    ATSUSHI ABE
    ------------------------------



  • 3.  RE: LTFS SDE & Rocky Linux 8.8 - cannot activate service

    Posted Tue July 25, 2023 02:02 AM

    Hello

    Thank you for your reply.

    I have not got the lftsservice working as such but I did manage to get the LTO tapes to mount in the end.

     I had to launch the ltfs command directly where the ltfs file is ... which on my installation was 

    /opt/ibm/ltfsde/bin/ltfs

    I also had to put the device path which for me was /dev/st01 and not the path in the mount command example.

    Thank you



    ------------------------------
    christopher lowdenc
    ------------------------------