Skip to content

Question about /dev/sg vs /dev/st vs /dev/sch0 #556

@atreya-basu

Description

@atreya-basu

Hello,

I am just starting to use LTFS (v2.4.8.1-10519) on Ubuntu 20.04. I believe I have built it correctly; it has built successfully using the instructions. Really great instructions BTW!

I have a Dell PowerVault TL 2000 scanning as an IBM 3573-TL with a IBM ULT3580-HH5 drive. This device shows up as:
/dev/st0 when using lsscsi:

❯ sudo lsscsi
[0:0:0:0]    tape    IBM      ULT3580-HH5      H971  /dev/st0
[0:0:0:1]    mediumx IBM      3573-TL          F.11  /dev/sch0

When I run ' ltfs -o device_list' it fails to find the tape drive:

❯ bin/ltfs -o device_list;
1edc LTFS14000I LTFS starting, LTFS version 2.5.0.0 (Prelim), log level 2.
1edc LTFS14058I LTFS Format Specification version 2.4.0.
1edc LTFS14104I Launched by "bin/ltfs -o device_list".
1edc LTFS14105I This binary is built for Linux (x86_64).
1edc LTFS14106I GCC version is 9.4.0.
1edc LTFS17087I Kernel version: Linux version 5.15.0-139-generic (buildd@lcy02-amd64-067) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #149~20.04.1-Ubuntu SMP Wed Apr 16 08:29:56 UTC 2025 i386.
1edc LTFS17089I Distribution: NAME="Ubuntu".
1edc LTFS17089I Distribution: DISTRIB_ID=Ubuntu.
1edc LTFS17085I Plugin: Loading "sg" tape backend.
Tape Device list:.

It appears as if the utility is searching for devices under /dev/sgX . Do I need to recompile or reconfigure the ltfs build to search for /dev/stX ? If so, could someone point to any readme I can use?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions