General
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with scsi tape device files

Assaf Feuerstein_1
Regular Advisor

Problem with scsi tape device files

Hello Everyone,

I have a server (RHEL5.4) which works with a Virtual Tape Library from Diligent, the connection between the server and the VLT is via a SAN network also via this SAN i work with a StorageTEK L700 with HP tapes LTO2.
On the vtl i have defined two libraries and a total of 128 tape devices.

When i do 'lsscsi' i get the following output:

[0:0:0:0] cd/dvd HL-DT-ST DVD-RAM GH15L FA01 /dev/scd0
[2:0:0:0] mediumx ATL P3000 0100 -
[2:0:0:1] tape QUANTUM DLT7000 0100 /dev/st0
[2:0:0:2] tape QUANTUM DLT7000 0100 /dev/st1
[2:0:0:3] tape QUANTUM DLT7000 0100 /dev/st2
[2:0:0:4] tape QUANTUM DLT7000 0100 /dev/st3
[2:0:0:5] tape QUANTUM DLT7000 0100 /dev/st4
[2:0:0:6] tape QUANTUM DLT7000 0100 /dev/st5
[2:0:0:7] tape QUANTUM DLT7000 0100 /dev/st6
[2:0:0:8] tape QUANTUM DLT7000 0100 /dev/st7
[2:0:0:9] tape QUANTUM DLT7000 0100 /dev/st8
[2:0:0:10] tape QUANTUM DLT7000 0100 /dev/st9
[2:0:0:11] tape QUANTUM DLT7000 0100 /dev/st10
[2:0:0:12] tape QUANTUM DLT7000 0100 /dev/st11
[2:0:0:13] tape QUANTUM DLT7000 0100 /dev/st12
[2:0:0:14] tape QUANTUM DLT7000 0100 /dev/st13
[2:0:0:15] tape QUANTUM DLT7000 0100 /dev/st14
[2:0:0:16] tape QUANTUM DLT7000 0100 /dev/st15
[2:0:0:17] tape QUANTUM DLT7000 0100 /dev/st16
[2:0:0:18] tape QUANTUM DLT7000 0100 /dev/st17
[2:0:0:19] tape QUANTUM DLT7000 0100 /dev/st18
[2:0:0:20] tape QUANTUM DLT7000 0100 /dev/st19
[2:0:0:21] tape QUANTUM DLT7000 0100 /dev/st20
[2:0:0:22] tape QUANTUM DLT7000 0100 /dev/st21
[2:0:0:23] tape QUANTUM DLT7000 0100 /dev/st22
[2:0:0:24] tape QUANTUM DLT7000 0100 /dev/st23
[2:0:0:25] tape QUANTUM DLT7000 0100 /dev/st24
[2:0:0:26] tape QUANTUM DLT7000 0100 /dev/st25
[2:0:0:27] tape QUANTUM DLT7000 0100 /dev/st26
[2:0:0:28] tape QUANTUM DLT7000 0100 /dev/st27
[2:0:0:29] tape QUANTUM DLT7000 0100 /dev/st28
[2:0:0:30] tape QUANTUM DLT7000 0100 /dev/st29
[2:0:0:31] tape QUANTUM DLT7000 0100 /dev/st30
[2:0:0:32] tape QUANTUM DLT7000 0100 /dev/st31
[2:0:0:33] tape QUANTUM DLT7000 0100 /dev/st32
[2:0:0:34] tape QUANTUM DLT7000 0100 /dev/st33
[2:0:0:35] tape QUANTUM DLT7000 0100 /dev/st34
[2:0:0:36] tape QUANTUM DLT7000 0100 /dev/st35
[2:0:0:37] tape QUANTUM DLT7000 0100 /dev/st36
[2:0:0:38] tape QUANTUM DLT7000 0100 /dev/st37
[2:0:0:39] tape QUANTUM DLT7000 0100 /dev/st38
[2:0:0:40] tape QUANTUM DLT7000 0100 /dev/st39
[2:0:0:41] tape QUANTUM DLT7000 0100 /dev/st40
[2:0:0:42] tape QUANTUM DLT7000 0100 /dev/st41
[2:0:0:43] tape QUANTUM DLT7000 0100 /dev/st42
[2:0:0:44] tape QUANTUM DLT7000 0100 /dev/st43
[2:0:0:45] tape QUANTUM DLT7000 0100 /dev/st44
[2:0:0:46] tape QUANTUM DLT7000 0100 /dev/st45
[2:0:0:47] tape QUANTUM DLT7000 0100 /dev/st46
[2:0:0:48] tape QUANTUM DLT7000 0100 /dev/st47
[2:0:0:49] tape QUANTUM DLT7000 0100 /dev/st48
[2:0:0:50] tape QUANTUM DLT7000 0100 /dev/st49
[2:0:0:51] tape QUANTUM DLT7000 0100 /dev/st50
[2:0:0:52] tape QUANTUM DLT7000 0100 /dev/st51
[2:0:0:53] tape QUANTUM DLT7000 0100 /dev/st52
[2:0:0:54] tape QUANTUM DLT7000 0100 /dev/st53
[2:0:0:55] tape QUANTUM DLT7000 0100 /dev/st54
[2:0:0:56] tape QUANTUM DLT7000 0100 /dev/st55
[2:0:0:57] tape QUANTUM DLT7000 0100 /dev/st56
[2:0:0:58] tape QUANTUM DLT7000 0100 /dev/st57
[2:0:0:59] tape QUANTUM DLT7000 0100 /dev/st58
[2:0:0:60] tape QUANTUM DLT7000 0100 /dev/st59
[2:0:0:61] tape QUANTUM DLT7000 0100 /dev/st60
[2:0:0:62] tape QUANTUM DLT7000 0100 /dev/st61
[2:0:0:63] tape QUANTUM DLT7000 0100 /dev/st62
[2:0:0:64] tape QUANTUM DLT7000 0100 /dev/st63
[2:0:1:0] tape HP Ultrium 2-SCSI K4B0 /dev/st64
[2:0:2:0] tape HP Ultrium 2-SCSI K710 /dev/st65
[2:0:3:0] tape HP Ultrium 2-SCSI K4B0 /dev/st66
[2:0:4:0] tape HP Ultrium 2-SCSI K710 /dev/st67
[3:0:0:0] tape QUANTUM DLT7000 0100 /dev/st68
[3:0:0:1] tape QUANTUM DLT7000 0100 /dev/st69
[3:0:0:2] tape QUANTUM DLT7000 0100 /dev/st70
[3:0:0:3] tape QUANTUM DLT7000 0100 /dev/st71
[3:0:0:4] tape QUANTUM DLT7000 0100 /dev/st72
[3:0:0:5] tape QUANTUM DLT7000 0100 /dev/st73
[3:0:0:6] tape QUANTUM DLT7000 0100 /dev/st74
[3:0:0:7] tape QUANTUM DLT7000 0100 /dev/st75
[3:0:0:8] tape QUANTUM DLT7000 0100 /dev/st76
[3:0:0:9] tape QUANTUM DLT7000 0100 /dev/st77
[3:0:0:10] tape QUANTUM DLT7000 0100 /dev/st78
[3:0:0:11] tape QUANTUM DLT7000 0100 /dev/st79
[3:0:0:12] tape QUANTUM DLT7000 0100 /dev/st80
[3:0:0:13] tape QUANTUM DLT7000 0100 /dev/st81
[3:0:0:14] tape QUANTUM DLT7000 0100 /dev/st82
[3:0:0:15] tape QUANTUM DLT7000 0100 /dev/st83
[3:0:0:16] tape QUANTUM DLT7000 0100 /dev/st84
[3:0:0:17] tape QUANTUM DLT7000 0100 /dev/st85
[3:0:0:18] tape QUANTUM DLT7000 0100 /dev/st86
[3:0:0:19] tape QUANTUM DLT7000 0100 /dev/st87
[3:0:0:20] tape QUANTUM DLT7000 0100 /dev/st88
[3:0:0:21] tape QUANTUM DLT7000 0100 /dev/st89
[3:0:0:22] tape QUANTUM DLT7000 0100 /dev/st90
[3:0:0:23] tape QUANTUM DLT7000 0100 /dev/st91
[3:0:0:24] tape QUANTUM DLT7000 0100 /dev/st92
[3:0:0:25] tape QUANTUM DLT7000 0100 /dev/st93
[3:0:0:26] tape QUANTUM DLT7000 0100 /dev/st94
[3:0:0:27] tape QUANTUM DLT7000 0100 /dev/st95
[3:0:0:28] tape QUANTUM DLT7000 0100 /dev/st96
[3:0:0:29] tape QUANTUM DLT7000 0100 /dev/st97
[3:0:0:30] mediumx ATL P3000 0100 -
[3:0:0:31] tape QUANTUM DLT7000 0100 /dev/st98
[3:0:0:32] tape QUANTUM DLT7000 0100 /dev/st99
[3:0:0:33] tape QUANTUM DLT7000 0100 /dev/st100
[3:0:0:34] tape QUANTUM DLT7000 0100 /dev/st101
[3:0:0:35] tape QUANTUM DLT7000 0100 /dev/st102
[3:0:0:36] tape QUANTUM DLT7000 0100 /dev/st103
[3:0:0:37] tape QUANTUM DLT7000 0100 /dev/st104
[3:0:0:38] tape QUANTUM DLT7000 0100 /dev/st105
[3:0:0:39] tape QUANTUM DLT7000 0100 /dev/st106
[3:0:0:40] tape QUANTUM DLT7000 0100 /dev/st107
[3:0:0:41] tape QUANTUM DLT7000 0100 /dev/st108
[3:0:0:42] tape QUANTUM DLT7000 0100 /dev/st109
[3:0:0:43] tape QUANTUM DLT7000 0100 /dev/st110
[3:0:0:44] tape QUANTUM DLT7000 0100 /dev/st111
[3:0:0:45] tape QUANTUM DLT7000 0100 /dev/st112
[3:0:0:46] tape QUANTUM DLT7000 0100 /dev/st113
[3:0:0:47] tape QUANTUM DLT7000 0100 /dev/st114
[3:0:0:48] tape QUANTUM DLT7000 0100 /dev/st115
[3:0:0:49] tape QUANTUM DLT7000 0100 /dev/st116
[3:0:0:50] tape QUANTUM DLT7000 0100 /dev/st117
[3:0:0:51] tape QUANTUM DLT7000 0100 /dev/st118
[3:0:0:52] tape QUANTUM DLT7000 0100 /dev/st119
[3:0:0:53] tape QUANTUM DLT7000 0100 /dev/st120
[3:0:0:54] tape QUANTUM DLT7000 0100 /dev/st121
[3:0:0:55] tape QUANTUM DLT7000 0100 /dev/st122
[3:0:0:56] tape QUANTUM DLT7000 0100 /dev/st123
[3:0:0:57] tape QUANTUM DLT7000 0100 /dev/st124
[3:0:0:58] tape QUANTUM DLT7000 0100 /dev/st125
[3:0:0:59] tape QUANTUM DLT7000 0100 /dev/st126
[3:0:0:60] tape QUANTUM DLT7000 0100 /dev/st127
[3:0:0:61] tape QUANTUM DLT7000 0100 -
[3:0:0:62] tape QUANTUM DLT7000 0100 -
[3:0:0:63] tape QUANTUM DLT7000 0100 -
[3:0:0:64] tape QUANTUM DLT7000 0100 -
[3:0:1:0] tape HP Ultrium 2-SCSI K342 -
[3:0:2:0] tape HP Ultrium 2-SCSI K4B0 -
[3:0:3:0] tape HP Ultrium 2-SCSI K4B0 -
[3:0:4:0] tape HP Ultrium 2-SCSI K4B0 -

It seems like there`s some sort of limit some place for the 'st' devices and no more than 128 devices are created...

any ideas how to increase this? so i will get /dev/st devices for the rest of the tapes...?

I do have another tape library there with the LTO2 tapes which i need to have st devices created for too.

i tried to use this in the modprobe.conf as the provider of the VTL sugested:

options scsi_mod dev_flags=ATL:P3000:0x200,QUANTUM:DLT7000:0x200 max_luns=256

and then i ran an mkinitrd and reboot... didnt help much...

i would appreciate any help!
3 REPLIES
Ivan Ferreira
Honored Contributor

Re: Problem with scsi tape device files

The tape driver currently supports 128 drives by default. This number can be increased by editing st.h and recompiling the driver if necessary.


http://www.mjmwired.net/kernel/Documentation/scsi/st.txt
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Assaf Feuerstein_1
Regular Advisor

Re: Problem with scsi tape device files

can you give me a walkthrough on how its done?
Assaf Feuerstein_1
Regular Advisor

Re: Problem with scsi tape device files

bla