Re: Spurious "strange" results from xfsdump
Jean-Louis Martineau <[email protected]>
| Newsgroups | gmane.comp.archivers.amanda.devel |
|---|---|
| Message-ID | <[email protected]> |
You must modify the code,
Add an AM_NORMAL_RE in client-src/sendbackup-dump.c
Add it before the AM_STRANGE_RE("[Ff]ail")
Jean-Louis
On 06/02/17 02:21 PM, Jason L Tibbitts III wrote:
> I back up a number of XFS filesystems running on RHEL7 machines. The
> amanda client there is 3.3.7p1, though it's easy enough to update it if
> necessary.
>
> Occasionally one of the dumps will marked as "strange" which of course
> makes the main report have an alarming "STRANGE" result. But what's
> being marked as strange is really more of an annoying thing spit out by
> xfsdump, and I'd like to ignore it.
>
> A complete set of client output is below, but the problematic line is:
>
> Mon Feb 6 00:08:08 2017: thd-0x7f283deaa200: sendbackup: 87: strange(?): xfsdump: WARNING: failed to get bulkstat information for inode 67154413
>
> As far as I can gather, this is just something that xfsdump will spit
> out from time to time and doesn't indicate a problem.
>
> Does it suffice to just add this before the AM_STRANGE_RE lines? (I can
> of course just do this but it's not easy to reproduce so I figured I'd
> just ask up front.)
>
> AM_NORMAL_RE("^xfsdump: WARNING: failed to get bulkstat information"),
>
> Would this be something that would be considered acceptable to upstream?
>
> Below is the sendbackup log in case you want to see the whole thing.
>
> - J<
>
> Mon Feb 6 00:08:00 2017: thd-0x7f283deaa200: sendbackup: Started backup
> Mon Feb 6 00:08:00 2017: thd-0x7f283deaa200: sendbackup: Started index creator: "/sbin/xfsrestore -t -v silent - 2>/dev/null | sed -e 's/^/\//'"
> Mon Feb 6 00:08:00 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: using file dump (drive_simple) strategy
> Mon Feb 6 00:08:00 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: version 3.1.4 (dump format 3.0)
> Mon Feb 6 00:08:00 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: saving user quota information for: /export/grad-00
> Mon Feb 6 00:08:00 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: WARNING: overwriting: /export/grad-00/xfsdump_quotas
> Mon Feb 6 00:08:00 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: level 0 dump of nas01.math.uh.edu:/export/grad-00
> Mon Feb 6 00:08:00 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: dump date: Mon Feb 6 00:08:00 2017
> Mon Feb 6 00:08:00 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: session id: 0bc3ba1e-2898-4bc8-8990-06010a87c1dc
> Mon Feb 6 00:08:00 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: session label: ""
> Mon Feb 6 00:08:01 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: ino map phase 1: constructing initial dump list
> Mon Feb 6 00:08:01 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: ino map phase 2: skipping (no pruning necessary)
> Mon Feb 6 00:08:01 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: ino map phase 3: skipping (only one dump stream)
> Mon Feb 6 00:08:01 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: ino map construction complete
> Mon Feb 6 00:08:01 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: estimated dump size: 9264401024 bytes
> Mon Feb 6 00:08:01 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: creating dump session media file 0 (media 0, file 0)
> Mon Feb 6 00:08:01 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: dumping ino map
> Mon Feb 6 00:08:01 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: dumping directories
> Mon Feb 6 00:08:01 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: dumping non-directory files
> Mon Feb 6 00:08:08 2017: thd-0x7f283deaa200: sendbackup: 87: strange(?): xfsdump: WARNING: failed to get bulkstat information for inode 67154413
> Mon Feb 6 00:08:08 2017: thd-0x7f283deaa200: sendbackup: 87: strange(?): xfsdump: WARNING: failed to get bulkstat information for inode 67158810
> Mon Feb 6 00:08:08 2017: thd-0x7f283deaa200: sendbackup: 87: strange(?): xfsdump: WARNING: failed to get bulkstat information for inode 67158811
> Mon Feb 6 00:08:08 2017: thd-0x7f283deaa200: sendbackup: 87: strange(?): xfsdump: WARNING: failed to get bulkstat information for inode 67158812
> Mon Feb 6 00:08:08 2017: thd-0x7f283deaa200: sendbackup: 87: strange(?): xfsdump: WARNING: failed to get bulkstat information for inode 67158813
> Mon Feb 6 00:08:08 2017: thd-0x7f283deaa200: sendbackup: 87: strange(?): xfsdump: WARNING: failed to get bulkstat information for inode 67158814
> Mon Feb 6 00:08:08 2017: thd-0x7f283deaa200: sendbackup: 87: strange(?): xfsdump: WARNING: failed to get bulkstat information for inode 67158815
> Mon Feb 6 00:08:08 2017: thd-0x7f283deaa200: sendbackup: 87: strange(?): xfsdump: WARNING: failed to get bulkstat information for inode 67158816
> Mon Feb 6 00:08:08 2017: thd-0x7f283deaa200: sendbackup: 87: strange(?): xfsdump: WARNING: failed to get bulkstat information for inode 67158817
> Mon Feb 6 00:08:08 2017: thd-0x7f283deaa200: sendbackup: 87: strange(?): xfsdump: WARNING: failed to get bulkstat information for inode 67158818
> Mon Feb 6 00:08:08 2017: thd-0x7f283deaa200: sendbackup: 87: strange(?): xfsdump: WARNING: failed to get bulkstat information for inode 67158819
> Mon Feb 6 00:10:30 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: ending media file
> Mon Feb 6 00:10:30 2017: thd-0x7f283deaa200: sendbackup: 79: size(|): xfsdump: media file size 9251903848 bytes
> Mon Feb 6 00:10:30 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: dump size (non-dir files) : 9244255120 bytes
> Mon Feb 6 00:10:30 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: dump complete: 150 seconds elapsed
> Mon Feb 6 00:10:30 2017: thd-0x7f283deaa200: sendbackup: 97: normal(|): xfsdump: Dump Status: SUCCESS
> Mon Feb 6 00:10:30 2017: thd-0x7f283deaa200: sendbackup: Index created successfully
> Mon Feb 6 00:10:30 2017: thd-0x7f283deaa200: sendbackup: Parsed backup messages