]> git.sur5r.net Git - bacula/docs/blob - docs/manuals/en/main/supporteddrives.tex
Commit two patches from Philippe to cleanup the manuals
[bacula/docs] / docs / manuals / en / main / supporteddrives.tex
1 %%
2 %%
3
4 \chapter{Supported Tape Drives}
5 \label{SupportedDrives}
6 \index[general]{Drives!Supported Tape }
7 \index[general]{Supported Tape Drives }
8
9 Bacula uses standard operating system calls (read, write, ioctl) to 
10 interface to tape drives.  As a consequence, it relies on having a
11 correctly written OS tape driver. Bacula is known to work perfectly well
12 with SCSI tape drivers on FreeBSD, Linux, Solaris, and Windows machines,
13 and it may work on other *nix machines.
14
15 Recently there are many new drives that use IDE, ATAPI, or
16 SATA interfaces rather than SCSI. On Linux the OnStream drive, which uses
17 the OSST driver is one such
18 example, and it is known to work with Bacula. In addition a number of such
19 tape drives (i.e. OS drivers) seem to work on Windows systems.  However,
20 non-SCSI tape drives (other than the OnStream) that use ide-scis, ide-tape, 
21 or other non-scsi drivers do not function correctly with Bacula (or any
22 other demanding tape application) as of today (April 2007).  If you
23 have purchased a non-SCSI tape drive for use with Bacula on Linux, there
24 is a good chance that it will not work. We are working with the kernel
25 developers to rectify this situation, but it will not be resolved in the 
26 near future.
27
28 Generally any modern tape drive (i.e. after 2010) will work out
29 of the box with Bacula using the standard Bacula Device specification
30 in the bacula-sd.conf file.
31
32 Even if your drive is on the list below, please check the 
33 \ilink{Tape Testing Chapter}{btape1} of this manual for
34 procedures that you can use to verify if your tape drive will work with
35 Bacula. If your drive is in fixed block mode, it may appear to work with
36 Bacula until you attempt to do a restore and Bacula wants to position the
37 tape. You can be sure only by following the procedures suggested above and
38 testing. 
39
40 It is very difficult to supply a list of supported tape drives, or drives that
41 are known to work with Bacula because of limited feedback (so if you use
42 Bacula on a different drive, please let us know). Based on user feedback, the
43 following drives are known to work with Bacula. A dash in a column means
44 unknown: 
45
46 \addcontentsline{lot}{table}{Supported Tape Drives}
47 \LTXtable{\linewidth}{table_tapedrives}
48
49 There is a list of \ilink{supported autochangers}{Models} in the Supported
50 Autochangers chapter of this document, where you will find other tape drives
51 that work with Bacula. 
52
53 \section{Unsupported Tape Drives}
54 \label{UnSupportedDrives}
55 \index[general]{Unsupported Tape Drives }
56 \index[general]{Drives!Unsupported Tape }
57
58 Previously OnStream IDE-SCSI tape drives did not work with Bacula. As of
59 Bacula version 1.33 and the osst kernel driver version 0.9.14 or later, they
60 now work. Please see the testing chapter as you must set a fixed block size. 
61
62 QIC tapes are known to have a number of particularities (fixed block size, and
63 one EOF rather than two to terminate the tape). As a consequence, you will
64 need to take a lot of care in configuring them to make them work correctly
65 with Bacula. 
66
67 \section{FreeBSD Users Be Aware!!!}
68 \index[general]{FreeBSD Users Be Aware }
69 \index[general]{Aware!FreeBSD Users Be }
70
71 Unless you have patched the pthreads library on FreeBSD 4.11 systems, you will
72 lose data when Bacula spans tapes. This is because the unpatched pthreads
73 library fails to return a warning status to Bacula that the end of the tape is
74 near. This problem is fixed in FreeBSD systems released after 4.11. Please see the 
75 \borgxrlink{Tape testing}{FreeBSDTapes}{problems}{section} of \problemsman{}
76 for {\bf important} information on how to configure your tape drive for
77 compatibility with \mbacula{}.
78
79 \section{Supported Autochangers}
80 \index[general]{Autochangers!Supported }
81 \index[general]{Supported Autochangers }
82
83 For information on supported autochangers, please see the 
84 \ilink{Autochangers Known to Work with Bacula}{Models}
85 section of the Supported Autochangers chapter of this manual. 
86
87 \section{Tape Specifications}
88 \index[general]{Specifications!Tape}
89 \index[general]{Tape Specifications}
90 If you want to know what tape drive to buy that will work with Bacula,
91 we really cannot tell you.  However, we can say that if you are going
92 to buy a drive, you should try to avoid DDS drives. The technology is
93 rather old and DDS tape drives need frequent cleaning.  DLT drives are 
94 generally much better (newer technology) and do not need frequent 
95 cleaning.
96
97 Below, you will find a table of DLT and LTO tape specifications that will
98 give you some idea of the capacity and speed of modern tapes. The 
99 capacities that are listed are the native tape capacity without compression.
100 All modern drives have hardware compression, and manufacturers often list
101 compressed capacity using a compression ration of 2:1. The actual compression 
102 ratio will depend mostly on the data you have to backup, but I find that
103 1.5:1 is a much more reasonable number (i.e. multiply the value shown in 
104 the table by 1.5 to get a rough average of what you will probably see).
105 The transfer rates are rounded to the nearest GB/hr.  All values are provided
106 by various manufacturers.
107
108 The Media Type is what is designated by the manufacturers and you are not
109 required to use (but you may) the same name in your Bacula conf resources.
110
111
112 \LTXtable{\linewidth}{table_ltodltspec}