Torsten Harenberg wrote:
Dear list,
I've installed an amanda server and client on an alpha machine running
NetBSD in these versions:
# pkg_info -a | grep amanda
amanda-common-2.4.4p4nb2 Common libraries and binaries for Amanda
amanda-server-2.4.4p4nb2 Server part of Amanda, a network backup system
amanda-client-2.4.4p4nb1 Client part of Amanda, a network backup system
This alpha servers as our department's backup server (which works fine).
But one disk (/wwwhome) should also be backed up from this server
itself, which should be no problem.
However, this machine has also arla installed (as we're using AFS for
home directories)
# pkg_info -a | grep arla
arla-0.38nb2 Free AFS implementation from KTH
I'm not familiar with AFS...
The DLE contains the following:
wpdu2.physik.uni-wuppertal.de /wwwhome {
comp-user-tar
exclude "./production"
} 1
This is the ONLY DLE for wpdu2!
Now something strange happens:
if /afs is mounted, the sendsize debug information contains:
sendsize[21534]: argument list: /usr/pkg/bin/gtar --create --file
/dev/null --directory /afs --one-file-system --listed-incremental
/var/amanda/gnutar-lists/wpdu2.physik.uni-wuppertal.de_wwwhome_alicenext_0.new
--sparse --ignore-failed-read --totals --exclude-from
/tmp/amanda/sendsize._wwwhome_alicenext.20060126155535.exclude .
sendsize[21534]: time 14.927: /usr/pkg/bin/gtar: ./openafs.org: Warning:
Cannot stat: Connection timed out
[...]
So, /afs is used instead of /wwwhome, which of course fails after some
hours of network transfer.. *g*
Amanda uses /etc/(v)fstab to map devices to directories and vice versa.
Is there some mapping there that results in /wwwwhome being mapped to /afs?
If I only umount /afs (nothing else changed), amanda is happy:
sendsize[25443]: argument list: /usr/pkg/bin/gtar --create --file
/dev/null --directory /wwwhome --one-file-system --listed-incremental
/var/amanda/gnutar-lists/wpdu2.physik.uni-wuppertal.de_wwwhome_0.new
--sparse --ignore-failed-read --totals --exclude-from
/tmp/amanda/sendsize._wwwhome.20060127095317.exclude .
Maybe a stupid workaround is using an entry like (untested):
wpdu2.physik.uni-wuppertal.de /wwwhome /wwwhome/. {
comp-user-tar
exclude "./production"
} 1
The trick is here to change the "devicename" so that amanda does not map
that using the fstab entries anymore.
If that was the problem, of course.
|