2 Chapter 1. Amanda 2.5.0 - System-Specific Installation Notes
3 Prev Part I. Installation Next
5 -------------------------------------------------------------------------------
7 Chapter 1. Amanda 2.5.0 - System-Specific Installation Notes
17 XML-conversion;Updates
39 Sinix_5.43_(Reliant_Unix)
64 Refer to http://www.amanda.org/docs/systemnotes.html for the current version of
66 Please read the notes that correspond to the architectures you are installing
67 for. If you find additional gotchas, or anything incorrect in these notes,
68 please send your updates to mailto://amanda-hackers@amanda.org after checking
69 that they are not known/fixed problems in the Amanda patches page: http://
70 www.amanda.org/patches/.
74 You may have compilation errors on statfs.c if you're running, on a Solaris 2.6
75 host, a gcc that was not build on a Solaris 2.6 host. This happens because gcc
76 stores fixed copies of some Solaris header files on an internal directory. You
77 must rebuild gcc if you get this kind of trouble. Note, however, that gcc
78 2.7.2.3 does not support Solaris 2.6, you should upgrade to 2.8.0 or higher, or
83 You may get errors running make: Assure that you use the BSD-version of make,
84 usually /usr/ccs/bin/make. Add /usr/ccs/bin to the path before running
89 According to Julian Stevens <julian.stevens@baedsl.co.uk>, the format of inetd
90 on Trusted Solaris 1.2 is a bit different. Just before the user name, you
91 should insert the word `untrusted':
93 amanda dgram udp wait untrusted amuser /usr/local/libexec/amandad amandad
95 The patch-system script is *NOT* aware of this detail; you must fix it
100 A bug in GNU-tar 1.12 causes it to miscalculate (in fact, to misreport) the
101 size of filesystems. A patch for GNU-tar is available in the patches directory.
105 The Ultrix dump program contains an explicit check that it is being run by
106 root. This defeats the usual practice of a non-root "operator" userid for
107 dumps. For this reason, the rundump program (a setuid-root wrapper for dump) is
108 enabled by default. If you find rundump is not necessary for you, just run
110 configure --without-rundump
112 The Ultrix restore program will fail if it is not connected to a tty. Since the
113 restore program is invoked in the clients in order to create index files, and
114 it the client is not connected to a tty, index creation will fail. Using GNU-
115 tar instead of DUMP is an option. Thanks to Edwin Wiles
116 <ewiles@mclean.sterling.com> for the investigation. Another alternative
117 proposed by Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk> is to use a modified
118 restore program: use a binary program editor and replace `/dev/tty' with `/dev/
119 nul', for instance, and link /dev/nul to /dev/null. Note that the chosen file
120 name must be exactly 8 bytes long, otherwise you'll break the restore program.
121 A nice one-liner perl script by Martyn Johnson will do the trick (make sure you
122 preserve a copy of the original restore program, it will be rewritten by
123 running this script!):
125 perl -pi -e 'BEGIN { $/ = "/dev/tty" } s-$/-/dev/nul-' restore
127 The Ultrix C compiler seems to be too broken to compile Amanda. You are likely
132 You may run into an internal /bin/sh limit when running the configure script.
133 The error message is:
135 ./configure: sh internal 2K buffer overflow
137 Using /bin/posix/sh usually works around the problem. Another solution is to
138 install GNU bash and use it instead of /bin/sh.
139 If `configure' complains about not finding `lex', you'll have to get `flex'
140 installed. Look for its URL in Amanda_Installation_Notes.
141 If you use logical volumes, you may refer to mountpoints or full device
142 pathnames instead of device names in the disk list file.
143 According to Stan Brown <stanb@awod.com>, amverify won't work with HP/UX's
144 stock mt. The work-around is to install GNU cpio, that contains an
145 implementation of mt, and edit amverify so that MT points to GNU mt and MTOPT
146 is `-f', or reconfigure and rebuild amanda from scratch, making sure it finds
147 GNU mt before the stock mt in the PATH.
148 If you have vxfs filesystems to back up, Amanda will pick vxdump automatically.
149 GNU-tar 1.12 will incorrectly report the size of backups. There's a patch in
150 the patches directory that fixes this problem.
151 The use of `amhpfixdevs' is deprecated, since you can list mount-points or full
152 device names in the disklist. The script may be removed in future releases of
154 Sometimes you may get the error message `Link severed' from an HP/UX client.
155 This is just a cute name the developers of HP/UX found for `Network error'.
156 Reported by Michael Brehl <mbr@condor.de>
160 Linux hosts intended to back up efs partitions with dump should install the
161 dump package, as it is not installed by default on most Linux distributions. It
162 is possible to find compiled versions of dump on most Linux sites and CD-ROMs.
163 Note, however, that DUMP for Linux has been quite unreliable, sometimes being
164 unable to perform backups, producing weird error messages such as `master/slave
165 protocol botched', and sometimes creating unrestorable dump images, especially
166 of active filesystems. The first problem can sometimes be fixed by cleaning up
167 outdated entries in /etc/dumpdates, but your best bet is probably GNU-tar.
168 Make sure the user that runs configure has permission to run the dump program,
169 otherwise configure may misdetect an ability of dump to accept a -E (for
171 GNU-tar 1.11.8, distributed with some Linux versions, will cause index failures
172 (Index returned -1). Upgrading to GNU-tar 1.12 fixes this problem. This is not
173 a Linux-specific problem, but it is quite common in this platform.
174 Amanda now supports the ftape driver version 3.04d. It adjusts the blocksize
175 automatically to 32k and supports QIC volume tables. More details con be found
176 in the file ZFTAPE in this directory.
177 Some releases of dump for Linux, such as the one distributed with Debian 2.0,
178 have modified dump so that it stores dumpdates in /var/lib. If this is your
179 case, you should create a link to it in /etc. Suggested by David Wolfskill
184 According to Michael Galloway <mgx@spruce.lsd.ornl.gov>, the stock DUX4 dump is
185 broken. There is a patch available at ftp://ftp.service.digital.com/public/
186 dunix/v4.0b/duv40bas00005-19970926.README
187 When both dump and vdump are available, Amanda will use vdump for backing up
188 advfs filesystems only, and dump will be used for the rest. If you'd rather
189 back up all filesystems with vdump, #undef DUMP in config/config.h after
191 Unfortunately, the output of `dump -E' incorrectly matches a line of output
192 from SAMBA, which gets Amanda's estimate process confused. client-src/
193 sendsize.c will refuse to compile if both HAVE_DUMP_ESTIMATE and SAMBA_CLIENT
194 are defined in config/config.h. Amanda will work correctly if you undefine
195 HAVE_DUMP_ESTIMATE in config/config.h; if you prefer to have incorrect
196 estimates for SAMBA backups, follow the instructions in client-src/sendsize.c
197 on removing the compile-time error.
198 According to Oren Laadan <orenl@cs.huji.ac.il>, DEC compiler version "DEC C
199 V5.2-033 on Digital UNIX V4.0 (Rev. 564)" (obtained with "cc -V") does not
200 build Amanda properly, in particular, taper.c. Using gcc is OK.
202 Sinix 5.43 (Reliant Unix)
204 The use of `amsinixfixdevs' is deprecated, since you can list mount-points or
205 full device names in the disklist. The script may be removed in future releases
207 Sinix port originally by Michael Schmitz <mschmitz@iname.com>.
211 When setting the tape device name in either amanda.conf or one of the changer
212 configuration files, make sure you specify the "variable" device name, which
213 has a 'v' on the end. If not, IRIX will write 4KByte blocks instead of the
214 32KByte blocks Amanda tells it to. This apparantly works OK unless you take the
215 tape to a non-IRIX system, where amrestore will complain about a short (4096)
217 If you do end up in this situation, the dd command to use to pipe into your
218 system restore program is:
220 dd if=/dev/whatever bs=4k skip=8 | ...
222 Jean-Francois Malouin <Jean-Francois.Malouin@bic.mni.mcgill.ca> reports that,
223 if you are going to use an IRIX host as the tape server, you *must* patch your
224 system with *all* kernel and scsi rollup patches, otherwise you may end up with
225 useless tapes, due to tape rewinding after short periods of inactivity. See
226 http://www-viz.tamu.edu/~sgi-faq/ for more details.
227 Some unpatched version of xfsdump are reported as not printing estimates. This
228 causes estimates to take much longer than they had to, because backups are
229 always performed twice. According to Mike Acar <mike@kentinfoworks.com>, patch
230 2333 for IRIX 5.3 and 6.1 will fix this problem.
234 Seems like SGI make program is a bit broken, in a way that causes it to rebuild
235 some files if doesn't have to if you happen to run make again. Using GNU make
237 If you have xfs filesystems to back up, Amanda will pick xfsdump automatically.
241 Luc Lalonde <Luc.Lalonde@polymtl.ca> contributed the following notes:
242 If you use a jukebox, you must set the ownership of the robot-changer device to
243 the Amanda operator:group in /etc/ioperms. Here's my configuration:
245 /etc/ioperms: /dev/scsi/sc8d6l0 0600 amanda backup
247 Otherwise the ownership:group is changed to "root:sys" after each reboot. When
248 you do upgrades, check the file /var/sysgen/master.d/scsi to see if it has
249 changed. Otherwise your jukebox could be rendered unuseable. In particular,
250 check if it has been replaced by a new version and renamed to "./scsi.O/.".
251 If you use the Amanda package provided by freeware.sgi.com, you are not
252 affected by the first question since at compile time the Amanda operator is
257 Jens Krause <jens@transcom.de> has reported some problems with GNU-tar 1.12 on
258 SCO Release 5. Although the `sparse' files patch was applied, GNU-tar would
259 consistently crash. GNUtar had to be built linked with malloc-libraries, and
260 the `--sparse' switches had to be removed from client-src/sendbackup-gnutar.c
261 and client-src/sendsize.c.
265 chg-scsi was not updated to support the new camlib.h-dependent chio.h, so chg-
266 scsi will be automatically disabled if camlib.h is found. You may use chg-chio
271 Sep. 28th, 2004: Jason Miller <jwm@interlinc.net> reported problems with
272 setting up the Amanda-client on FreeBSD 4.9. He wrote:
273 Due to the need for read permissions for Amanda-client the default user and
274 group for this on FreeBSD 4.9 is "operator:operator" which I found a write up
275 on that as well. Just a note the port wanted to install it with these user
276 permissions by default and I initially changed them to match my Redhat 9.0
277 install. So just doing a
278 make distclean uninstall install Amanda_SERVER=servername
279 fixed that for me. Then I just followed the below instructions and everything
281 Refer to this link for more details: http://www.freebsd.org/cgi/query-
286 Nicolas Ecarnot <nicolas.ecarnot@accim.com> discovered that for FreeBSD 5.1
287 (maybe earlier, and surely further), you have to set the net.inet.udp.maxdgram
288 TCP/IP variable to 65535. The default is 9216, and this is a problem when
289 trying to backup a large number of clients as indicated by errors in during
290 amcheck or the estimate phase.
291 You can just run the command:
292 sysctl net.inet.udp.maxdgram=63535
293 but this won't last until the next reboot.
294 To make it permanent, just add this line:
296 net.inet.udp.maxdgram=65535
298 in the file /etc/sysctl.conf.
302 sendsize is reported to coredump on AIX 4.3.3, this is a linking problem, try
303 configuring Amanda with the option "--disable-shared".
307 Although Amanda won't run standalone on MS-Windows hosts, it is possible to use
308 it to back up their disks, by using SAMBA. Please read Backup_PC_hosts_using
309 Samba for more information.
310 SAMBA may be unable to back up some files due to file locking restrictions.
311 Particularly, paging and registry files usually present problems. Backing up
312 page files is pointless, but registry files are quite important to back up. It
313 is possible to create regular files that contain registry information by using
314 the Regback utility, from the Windows NT Resource Kit. Unfortunately, it is not
315 part of the Windows NT standard distribution, you have to purchase it
316 separately. Thanks to Ernie Oporto <ernie_oporto@mentorg.com> for the tip.
320 For notes on how to setup Amanda under Apple's OS X, please refer to http://
321 web.brandeis.edu/pages/view/Bio/AmandaMacOSXCompileNotes, written by Steven
322 Karel<karel@brandeis.edu>. Thanks to Jose L.Hales-Garcia <jose@stat.ucla.edu>
324 -------------------------------------------------------------------------------
327 Part I. Installation Home Chapter 2. Amanda Installation Notes