[Top] [All Lists]

xfsdump SGI_FS_BULKSTAT errno = 22, how could this IRIX bug get into Ubu

To: linux-xfs@xxxxxxxxxxx
Subject: xfsdump SGI_FS_BULKSTAT errno = 22, how could this IRIX bug get into Ubuntu 10.04 Lucid between kernels 2.6.32-27 and 2.6.32-26?
From: Michael Lueck <mlueck@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 02 Feb 2011 08:30:56 -0500
Organization: Lueck Data Systems
Reply-to: mlueck@xxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux i686; rv:2.0b7pre) Gecko/20101008 Firefox/4.0b7pre SeaMonkey/2.1b1

Somehow a reported IRIX bug with XFS got into Ubuntu 10.04 (Lucid) starting 
with kernel 2.6.32-27.

I am cross posting to this list in order to receive details as to what bug got 
in Ubuntu which has been solved in IRIX, hoping with more details Ubuntu might 
make the same fix.

Ubuntu has since updated their kernel to 2.6.32-28 and someone already verified 
at the bug report that the problem persists with that kernel version.

"Regression between 2.6.32-27 and 2.6.32-26 xfsdump SGI_FS_BULKSTAT errno = 22"

On our Ubuntu 10.04 LTS server running x86 code, this evening a kernel
update was ready for installation. I updated the kernel, rebooted
(IPL'ed), and proceeded with the backup which utilized xfsdump as we use
the xfs filesystem. Four of the xfsdump received a never before seen
error: SGI_FS_BULKSTAT errno = 22

Output as follows:
using file dump (drive_simple) strategy
version 3.0.4 (dump format 3.0) - Running single-threaded
level 0 dump of ldslnx01:/srv
dump date: Mon Dec 20 21:59:33 2010
session id: f98f8cc0-963f-41a6-9a19-a89192502bf0
session label: "data"
ino map phase 1: constructing initial dump list
ino map phase 2: skipping (no pruning necessary)
ino map phase 3: skipping (only one dump stream)
ino map construction complete
estimated dump size: 100739707392 bytes
WARNING: no media label specified
creating dump session media file 0 (media 0, file 0)
dumping ino map
dumping directories
SGI_FS_BULKSTAT failed: Invalid argument (22)
dump size (non-dir files) : 0 bytes
NOTE: dump interrupted: 79 seconds elapsed: may resume later using -R option
Dump Status: INTERRUPT

This backup file did have some size to it. The other three, backing up
smaller amounts of data, were all zero (0) length dump files.

I rebooted to the prior kernel: $ uname -a
Linux ldslnx01 2.6.32-26-generic-pae #48-Ubuntu SMP Wed Nov 24 10:31:20 UTC 
2010 i686 GNU/Linux

And the same backup gets to 100% success.

Reboot to the new kernel, same failure.

I think that fairly well illustrates that the problem exists only with
the kernel update installed this evening.


I did come across a reference to this problem on the SGI website:

  1.6.17  Bugs fixed in IRIX 6.5.13
    + 816457:  xfsdump SGI_FS_BULKSTAT errno = 22       cxfs

So evidently it is something that has been seen and corrected in IRIX.

Michael Lueck
Lueck Data Systems

<Prev in Thread] Current Thread [Next in Thread>