Re: Error while compacting: inflate failed

Subject: Re: Error while compacting: inflate failed

Date: Wed, 19 Jul 2023 07:26:02 -0300

To: Peter P.

Cc: notmuch@notmuchmail.org

From: David Bremner


"Peter P." <peterparker@fastmail.com> writes:
>
> Thanks David,
> 	$ notmuch dump --output=/tmp/dump
> runs without errors, albeit the dumped file is only 6.9MB while the
> xapian folder has 851MB. Is this correct?

Yes, that sounds about right. The dump only includes the tags (it should
more or less make sense if you inspect the first few lines) rather then
the index structures needed for fast lookup, and in particular the dump
does not include the original text of the messages, while the database
effectively does.

> I can easily rebuild the database even without the dump as I am not
> using tags at all by simply deleting the xapian folder, right?

Yes, that should work.

You may also want to check the usual OS facilities for hardware
monitoring (e.g. SMART) in case your disk is unwell (rather than some
fluke filesystem corruption).


_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: