[nsd-users] error: unable to load the diff file: /var/lib/nsd3/ixfr.db
wouter at nlnetlabs.nl
Tue Jun 3 11:06:20 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
On 06/03/2014 12:58 PM, John wrote:
> Hello Nsd,
> We ran in to the error in the subject recently. The error was
> caused by a partial write. However i wanted to ask a couple of
> questions. We fixed the problem by removing the ixfr.db file and
> restarting nsd. Is this the correct way to fix things or is there
> a more elegant solution.
Yes this is the correct fix.
More elegant is nsdc patch ; which also deletes ixfr.db (but it must
not have been partially written), and updates the main nsd.db with its
contents. You could run nsdc patch from cron, for example.
> Secondly is there anyway to check the state of this file.
The cron job is the best way to keep the filesize down. If your
filesystem simply cannot handle the size of the files then I do not
know a nice solution with NSD3.
With NSD4 there is a feature that saves disk space, the NSD4 version
in development (in code repository), has a feature where you can set
database: "" and then it does not use the nsd.db file on disk and this
may save you a lot of disk space. NSD4 would also not make ixfr.db,
but store similar contents in /tmp/nsd.<pid>/ , but also delete those
files when it has done working with them (which may save only a little
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the nsd-users