On Tue, May 11, 2010 at 03:25:21PM -0700, Rob Moser wrote: > # uname -srvo > Linux 2.6.18-194.el5xen #1 SMP Tue Mar 16 22:01:26 EDT 2010 GNU/Linux > > # cat /etc/redhat-release > Red Hat Enterprise Linux Server release 5.5 (Tikanga) > > # smbd --version > Version 3.3.8-0.51.el5 > > I'm trying to run a backup samba server using some custom in-house > scripts which I inherited and am stuck with. Essentially the primary > server periodically rsyncs a bunch of files over to the backup, > including a collection of the tdb files. When I try to connect to the > backup server, I get the following smbd panics in the logs: > > ----- > [2010/05/11 14:34:32, 0] lib/util_tdb.c:tdb_log(682) > tdb(/var/lib/samba/ntforms.tdb): tdb_reopen: file dev/inode has changed! > [2010/05/11 14:34:32, 0] lib/util.c:reinit_after_fork(1054) > tdb_reopen_all failed.
If you are rsync'ing files to a different server, the inode on the target *does* change. Samba can not cope with that, you should never just overwrite tdb files in-flight. Please restart Samba on the backup host after the rsync. Volker
signature.asc
Description: Digital signature
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
