Debian Codegraph @

stinit.def.examples

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