Page 1 of 1

[SOLVED] no device for tape autochanger

PostPosted: Aug 31st, '18, 12:26
by magfan
Finally, I moved from mga5 to mga6 on one system with attached tape autoloader. But mga6 does not create a device for it. Under mga5 it was "/dev/sg4" but now there are no generic scsi devices at all (i.e., no "/dev/sg*"). The tape autoloader is "BDT FlexStor II" but the device "/dev/sch0" does not work. The package "mt-st" is installed.

Code: Select all
# uname -a
Linux cortex 4.14.62-server-2.mga6 #1 SMP Fri Aug 10 23:24:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
#  ATA      SAMSUNG MZ7TE512 300Q  /dev/sda
[5:0:0:0]    disk    ATA      SAMSUNG MZ7TE512 300Q  /dev/sdb
[8:0:0:0]    cd/dvd  TSSTcorp BDDVDW SN-506BB  FT02  /dev/sr0
[10:0:0:0]   tape    IBM      ULTRIUM-HH7      G9Q1  /dev/st0
[10:0:0:1]   mediumx BDT      FlexStor II      5.10  /dev/sch0
[11:2:0:0]   disk    FTS      PRAID EP400i     4.25  /dev/sdc
[12:0:0:0]   disk    HGST                      0000  /dev/sdd
[13:0:0:0]   disk    Generic  STORAGE DEVICE   0567  /dev/sde
[13:0:0:1]   disk    Generic  STORAGE DEVICE   0567  /dev/sdf
[13:0:0:2]   disk    Generic  STORAGE DEVICE   0567  /dev/sdg
[13:0:0:3]   disk    Generic  STORAGE DEVICE   0567  /dev/sdh
[14:0:0:0]   cd/dvd  HL-DT-ST BD-RE  BE16NU50  1.01  /dev/sr1
[15:0:0:0]   disk    N-TEC    ICEBOX-RiX6R     373   /dev/sdi
#

Re: no device for tape autochanger

PostPosted: Sep 1st, '18, 08:32
by doktor5000
magfan wrote:Under mga5 it was "/dev/sg4" but now there are no generic scsi devices at all (i.e., no "/dev/sg*").

Maybe because the sg module is not loaded at all? See e.g. viewtopic.php?f=7&t=10165

Re: no device for tape autochanger

PostPosted: Sep 3rd, '18, 08:25
by magfan
Thank you, that was the problem. I added the missing module "sg" to /etc/modprobe.preload.