-
Notifications
You must be signed in to change notification settings - Fork 12
/
stinit.def.examples
249 lines (232 loc) · 7.1 KB
/
stinit.def.examples
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
# This file contains example definitions for different kinds of tape
# devices. If the user agrees with the definitions, they can be used
# in the definition file stinit.def by changing the manufacturer and
# model fields to correspond the real tape device being defined.
# The common definitions that can usually be used
{buffer-writes read-ahead async-writes scsi2logical=1}
# A non-compressing DAT (DDS-1)
# The manufacturer, model, and revision strings can be obtained,
# from the file /proc/scsi/scsi (cat /proc/scsi/scsi).
manufacturer=XYZ model = "UVW1" {
scsi2logical=1 can-bsr can-partitions auto-lock
mode1 blocksize=0
mode2 blocksize=1024 }
# A compressing DAT (DDS-1-DC or DDS-[234])
manufacturer=XYZ model = "UVW2" {
can-bsr can-partitions auto-lock
mode1 blocksize=0 compression=1
mode2 blocksize=1024 compression=1
mode3 blocksize=0 compression=0
mode4 blocksize = 1024 compression=0 }
# A QIC-150 drive
manufacturer=XYZ model="UVW3" {
scsi2logical=0
mode1 # blocksize=512 defined by drive
}
# A QIC-320/525 drive
manufacturer=XYZ model="UVW4" {
defs-for-writes
mode1 blocksize=0 density=0x11 # QIC-320
mode2 blocksize=1024 density=0x11 # QIC-320
mode3 blocksize=512 density=0x10 # QIC-150
}
# Exabyte 8505 and other similar 8 mm helical scan driver
manufacturer=XYZ model = "UVW5" {
can-bsr auto-lock
cleaning=0x080821
mode1 blocksize=0 density=0x8c # 8500 density, compressing
mode2 blocksize=0 density=0x15 # 8500 density, no compression
mode3 blocksize=0 density=0x90 # 8200 density, compressing
mode4 blocksize=0 density=0x14 # 8200 density, no compression
}
# A reel-to-reel tape with 6250/1600/800 bpi densities
manufacturer=XYZ model = "UVW6" {
can-bsr two-fms
scsi2logical=0
mode1 blocksize=0 density=3 # 6250 bpi
mode2 blocksize=0 density=11 # 1600 bpi
mode3 blocksize=0 density=1 # 800 bpi
}
# DLT2000 / 2000XT
manufacturer="QUANTUM" model = "DLT2000" {
scsi2logical=1
can-bsr
auto-lock=0
two-fms=0
drive-buffering=1
buffer-writes
read-ahead=1
async-writes=1
can-partitions=0
fast-mteom=1
#
# If your stinit supports the timeouts:
timeout=3600 # 1 hour
long-timeout=14400 # 4 hours
#
mode1 blocksize=0 density=0x81 # 10GB + compression on DLTtape III, 15+ with DLTtape IIIXT in 2000XT
mode2 blocksize=0 density=0x80 # 10GB, no compression on DLTtape III, 15 with DLTtape IIIXT in 2000XT
mode3 blocksize=0 density=0x18 # 6GB, compression not available, on DLTtape III
mode4 blocksize=0 density=0x17 #2.6GB, compression not available, on DLTtape III
}
# DLT4000
manufacturer="QUANTUM" model = "DLT4000" {
scsi2logical=1
can-bsr
auto-lock=0
two-fms=0
drive-buffering=1
buffer-writes
read-ahead=1
async-writes=1
can-partitions=0
fast-mteom=1
#
# If your stinit supports the timeouts:
timeout=3600 # 1 hour
long-timeout=14400 # 4 hours
#
# Drive is backwards compatible, use older modes (e.g. from above) as required
mode1 blocksize=0 density=0x83 # 20GB + compression
mode2 blocksize=0 density=0x82 # 20GB, no compression
mode3 blocksize=0 density=0x81 # 10GB + compression (DLT2000 mode) with DLTtape III, 15+ with DLTtape IIIXT in 2000XT
mode4 blocksize=0 density=0x80 # 10GB, no compression (DLT2000 mode) with DLTtape III, 15 with DLTtape IIIXT in 2000XT
}
# DLT7000
manufacturer="QUANTUM" model = "DLT7000" {
scsi2logical=1
can-bsr
auto-lock=0
two-fms=0
drive-buffering=1
buffer-writes
read-ahead=1
async-writes=1
can-partitions=0
fast-mteom=1
#
# If your stinit supports the timeouts:
timeout=3600 # 1 hour
long-timeout=14400 # 4 hours
#
# Drive is backwards compatible, use older modes (e.g. from above) as required.
mode1 blocksize=0 density=0x85 # 35GB + compression
mode2 blocksize=0 density=0x84 # 35GB, no compression
mode3 blocksize=0 density=0x83 # 20GB + compression (DLT4000 mode)
mode4 blocksize=0 density=0x82 # 20GB, no compression (DLT4000 mode)
}
# DLT8000
manufacturer="QUANTUM" model = "DLT8000" {
scsi2logical=1
can-bsr=1
auto-lock=0
two-fms=0
drive-buffering=1
buffer-writes
read-ahead=1
async-writes=1
can-partitions=0
fast-mteom=1
#
# If your stinit supports the timeouts:
timeout=3600 # 1 hour
long-timeout=14400 # 4 hours
#
# Drive is backwards compatible to DLT7000, use older modes (e.g. from above) as required. Modes <10GB (<0x19) not supported!
mode1 blocksize=0 density=0x89 # 40GB + compression
mode2 blocksize=0 density=0x88 # 40GB, no compression
mode3 blocksize=0 density=0x85 # 35GB + compression (DLT7000 mode)
mode4 blocksize=0 density=0x84 # 35GB, no compression (DLT7000 mode)
}
# SDLT220
manufacturer="QUANTUM" model = "SuperDLT1" {
scsi2logical=1
can-bsr=1
auto-lock=0
two-fms=0
drive-buffering=1
buffer-writes
read-ahead=1
async-writes=1
can-partitions=0
fast-mteom=1
#
# If your stinit supports the timeouts:
timeout=3600 # 1 hour
long-timeout=14400 # 4 hours
#
# Drive is backwards read compatible to DLT4000/7000/8000. Mode settings are only required for writing, so no need to define any other modes here.
mode1 blocksize=0 density=0x48 compression=1 # 110 GB + compression
mode2 blocksize=0 density=0x48 compression=0 # 110 GB, no compression
}
# SDLT320
manufacturer="QUANTUM" model = "SDLT320" {
scsi2logical=1
can-bsr=1
auto-lock=0
two-fms=0
drive-buffering=1
buffer-writes
read-ahead=1
async-writes=1
can-partitions=0
fast-mteom=1
#
# If your stinit supports the timeouts:
timeout=3600 # 1 hour
long-timeout=14400 # 4 hours
#
# Drive is backwards write compatible to SDLT220 and read compatible to DLT4000/7000/8000. Mode settings are only required for writing, so we need only the SDL220/320 modes here
mode1 blocksize=0 density=0x49 compression=1 # 160 GB + compression
mode2 blocksize=0 density=0x49 compression=0 # 160 GB, no compression
mode3 blocksize=0 density=0x48 compression=1 # 110 GB + compression
mode4 blocksize=0 density=0x48 compression=0 # 110 GB, no compression
}
# SDLT600
manufacturer="QUANTUM" model = "SDLT600" {
scsi2logical=1
can-bsr=1
auto-lock=0
two-fms=0
drive-buffering=1
buffer-writes
read-ahead=1
async-writes=1
can-partitions=0
fast-mteom=1
#
# If your stinit supports the timeouts:
timeout=3600 # 1 hour
long-timeout=14400 # 4 hours
#
# Drive is backwards read compatible to SDLT220/320 and VS160. Mode settings are only required for writing, so we need only the native SDLT600 mode here.
mode1 blocksize=0 density=0x4a compression=1 # 300 GB + compression
mode2 blocksize=0 density=0x4a compression=0 # 300 GB, no compression
mode3 blocksize=0 density=0x4a compression=1 # 300 GB + compression
mode4 blocksize=0 density=0x4a compression=0 # 300 GB, no compression
}
# HP StorageWorks Ultrium 960/920 SAS LTO-3
manufacturer="HP" model = "Ultrium 3-SCSI" {
scsi2logical=1
can-bsr=1
auto-lock=0
two-fms=0
drive-buffering=1
buffer-writes
read-ahead=1
async-writes=1
can-partitions=0
fast-eom=1
blocksize=0
sili=1
#
# If your stinit supports the timeouts:
timeout=900 # 15 min
long-timeout=14400 # 4 hours
#
# Drive is backwards write compatible to LTO-2 media and read compatible to LTO-1 media. Mode settings are only required for writing, so we need only the LTO-3/LTO-2 modes here.
mode1 density=0x44 compression=0 # LTO3 400 GB
mode2 density=0x44 compression=1 # LTO3 400 GB + compression
mode3 density=0x42 compression=0 # LTO2 220 GB
mode4 density=0x42 compression=1 # LTO2 220 GB + compression
}