[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question...xfsdump error message?



> > >/usr/sbin/xfsdump: WARNING: failed to get valid bulkstat information for
> > >inode 16849570

Here's my patch for Amanda 2.4.2p2 against it:
--- amanda-2.4.2p2-20011020.orig/client-src/sendbackup-dump.c	Sat Oct 20 15:59:20 2001
+++ amanda-2.4.2p2-20011020/client-src/sendbackup-dump.c	Sun Jan 27 11:56:18 2002
@@ -97,6 +97,10 @@
   { DMP_SIZE, "xfsdump: media file size [0-9][0-9]* bytes",                 1},
 		/* Irix 6.2 xfs dump */
 
+  /* warnings to be ignored */
+  { DMP_WARNING, "^xfsdump: WARNING: failed to get valid bulkstat information for inode" }, /* Linux xfsdump */
+  { DMP_WARNING, "^xfsdump: WARNING: failed to get bulkstat information for inode" }, /* Linux xfsdump */
+
   /* strange dump lines */
   { DMP_STRANGE, "should not happen" },
   { DMP_STRANGE, "Cannot open" },
--- amanda-2.4.2p2-20011020.orig/client-src/sendbackup.c	Sat Oct 20 15:59:20 2001
+++ amanda-2.4.2p2-20011020/client-src/sendbackup.c	Sun Jan 27 11:51:50 2002
@@ -755,6 +755,7 @@
     switch(typ) {
     case DMP_NORMAL:
     case DMP_SIZE:
+    case DMP_WARNING:
 	startchr = '|';
 	break;
     default:
--- amanda-2.4.2p2-20011020.orig/client-src/sendbackup.h	Sat May 27 23:20:32 2000
+++ amanda-2.4.2p2-20011020/client-src/sendbackup.h	Sun Jan 27 11:51:50 2002
@@ -53,7 +53,7 @@
  */
 
 typedef enum { 
-    DMP_NORMAL, DMP_STRANGE, DMP_SIZE, DMP_ERROR
+    DMP_NORMAL, DMP_WARNING, DMP_STRANGE, DMP_SIZE, DMP_ERROR
 } dmpline_t;
 
 typedef struct regex_s {