Unexpected field value in snapshot file: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
(reformat, use header template)
(man links)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Troubleshooting Header}}
{{Troubleshooting Header}}
=Problem=
=Problem=

{{man|8|amdump}} fails with e.g.,
amdump fails with e.g.,
  planner: disk HOSTNAME:/path, estimate of level NNN failed: -1.
  planner: disk HOSTNAME:/path, estimate of level NNN failed: -1.
and an examination of the relevant sendsize log reveals
and an examination of the relevant sendsize log reveals
Line 10: Line 9:
There are two possible causes for this problem.
There are two possible causes for this problem.


If you are using a version of Amanda prior to 2.5.0p2 with GNU tar 1.15.91 or later, then this is due to a format change in tar that is not recognized by Amanda.  Either upgrade Amanda to 2.5.0p2 or later, or downgrade tar.
If you are using a version of Amanda prior to 2.5.0p2 with GNU tar 1.15.91 or later, then this is due to a format change in tar that is not recognized by Amanda.  Either upgrade Amanda to a newer version, or downgrade tar.


This error may also be caused by corrupt tar incremental snapshot files; in this case, removing the suspect file (without the <tt>.new</tt> suffix) will correct the error.
This error may also be caused by corrupt tar incremental snapshot files; in this case, removing the suspect file (without the <tt>.new</tt> suffix) will correct the error.

Latest revision as of 23:29, 30 June 2008

This article is a part of the Troubleshooting collection.

Problem

amdump(8) fails with e.g.,

planner: disk HOSTNAME:/path, estimate of level NNN failed: -1.

and an examination of the relevant sendsize log reveals

tar: Unexpected field value in snapshot file

yet the estimate of the level 0 succeeded.

Solution

There are two possible causes for this problem.

If you are using a version of Amanda prior to 2.5.0p2 with GNU tar 1.15.91 or later, then this is due to a format change in tar that is not recognized by Amanda. Either upgrade Amanda to a newer version, or downgrade tar.

This error may also be caused by corrupt tar incremental snapshot files; in this case, removing the suspect file (without the .new suffix) will correct the error.

Links