xfs
[Top] [All Lists]

Using Amanda with Linux/XFS: "failed to get (valid) bulkstat informatio

To: "amanda-users@xxxxxxxxxx" <amanda-users@xxxxxxxxxx>, Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx>
Subject: Using Amanda with Linux/XFS: "failed to get (valid) bulkstat information"
From: "Bernhard R. Erdmann" <be@xxxxxxxxxxx>
Date: Sun, 27 Jan 2002 17:26:14 +0100
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi,

here's a patch for Amanda 2.4.2p2 to ignore xfsdump's occasionally
output on busy filesystems "WARNING: failed to get bulkstat information
for inode ..." and "WARNING: failed to get valid bulkstat information
for inode ...".
--- 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 {
<Prev in Thread] Current Thread [Next in Thread>