Closed fbj-fbj closed 3 months ago
lsscsi -g
command?Hi piste-jp-ibm,
Thanks for your support and your quick answer !
Yes, I can see the tape drive using lsscsi
:
[4:0:0:0] tape QUANTUM ULTRIUM-HH7 KAH1 /dev/st0 /dev/sg10
Then I tried sudo ltfs -o device_list
, and had this result, thinking of an owner issue :
419e LTFS14104I Launched by "ltfs -o device-_list".
419e LTFS14105I This binary is built for Linux (x86_64).
419e LTFS14106I GCC version is 13.2.0.
419e LTFS17087I Kernel version: Linux version 6.8.0-31-generic (buildd@lcy02-amd64-080) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 i386.
419e LTFS17089I Distribution: DISTRIB_ID=Ubuntu.
419e LTFS17089I Distribution: PRETTY_NAME="Ubuntu 24.04 LTS".
419e LTFS14063I Sync type is "time", Sync time is 300 sec.
419e LTFS17085I Plugin: Loading "sg" tape backend.
419e LTFS17085I Plugin: Loading "unified" iosched backend.
419e LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection.
419e LTFS30209I Opening a device through sg-ibmtape driver (0).
419e LTFS30288I Opening a tape device for drive serial 0.
419e LTFS12012E Cannot open device: failed backend open call.
419e LTFS10004E Cannot open device '0'.
Also tried sudo ltfs -o devname=sg10 /media/LTO_RAID/ltfs/
:
41f9 LTFS14000I LTFS starting, LTFS version 2.5.0.0 (Prelim), log level 2.
41f9 LTFS14058I LTFS Format Specification version 2.4.0.
41f9 LTFS14104I Launched by "ltfs -o devname=sg10 /media/LTO_RAID/ltfs/".
41f9 LTFS14105I This binary is built for Linux (x86_64).
41f9 LTFS14106I GCC version is 13.2.0.
41f9 LTFS17087I Kernel version: Linux version 6.8.0-31-generic (buildd@lcy02-amd64-080) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 i386.
41f9 LTFS17089I Distribution: DISTRIB_ID=Ubuntu.
41f9 LTFS17089I Distribution: PRETTY_NAME="Ubuntu 24.04 LTS".
41f9 LTFS14063I Sync type is "time", Sync time is 300 sec.
41f9 LTFS17085I Plugin: Loading "sg" tape backend.
41f9 LTFS17085I Plugin: Loading "unified" iosched backend.
41f9 LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection.
41f9 LTFS30209I Opening a device through sg-ibmtape driver (sg10).
41f9 LTFS30288I Opening a tape device for drive serial sg10.
41f9 LTFS12012E Cannot open device: failed backend open call.
41f9 LTFS10004E Cannot open device 'sg10'.
I don't know what else to do at this point ?
So... I Don't know why but now the drive is seen using ltfs -o device_list
(didn't changed anything, just tried accidentally when searching for a former command using up arrow...), but I'm still not able to mount or format a tape, with or without sudo.
Please put the output of these commands.
ls -l /dev/sg*
ltfs -o devname=/dev/sg10
sudo ltfs -o devname=/dev/sg10
So... I Don't know why but now the drive is seen using
ltfs -o device_list
(didn't changed anything, just tried accidentally when searching for a former command using up arrow...), but I'm still not able to mount or format a tape, with or without sudo.
Sorry, I made a misunderstanding... You might see the device at this time...
It's easy, the reason is invalid command. You need to specify the absolute path of your device or the serial of your device. I don't know your serial at this time, so please try the command below.
ltfs -o devname=/dev/sg10 /media/LTO_RAID/ltfs
So... I Don't know why but now the drive is seen using
ltfs -o device_list
(didn't changed anything, just tried accidentally when searching for a former command using up arrow...), but I'm still not able to mount or format a tape, with or without sudo.
I'm not sure what happened on your machine.
In my experience, you need to connect the HBA and the drive and power on the drive before powering on your machine. There is a few unstable cases if you connect the drive (or power on the drive) after OS is booted up.
Hi piste-jp-ibm,
Yes, with the good command, it works. Don't what happened, the station have not been restarted, but some system updates ran in background at some point, perhaps it just updated something.
Thanks for support again !
Close because no activity long time.
Please feel free to reopen if you have something new about this topic.
Describe the bug OS : Lubuntu 24.04 HBA : Areca ARC1320 LTO drive : Quantum HH7
Quantum drive is seen by system when typing
cat proc/scsi/scsi
command :But not seen by ltfs utility when typing
ltfs -o device_list
command :Any idea about what can cause this issue ?
Best,