Regression between 2.6.32-27 and 2.6.32-26 xfsdump SGI_FS_BULKSTAT errno = 22
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Dapper |
Won't Fix
|
Medium
|
Stefan Bader | ||
Hardy |
Fix Released
|
Medium
|
Stefan Bader | ||
Karmic |
Fix Released
|
Medium
|
Stefan Bader | ||
Lucid |
Fix Released
|
Medium
|
Stefan Bader | ||
linux-ec2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Dapper |
Won't Fix
|
Undecided
|
Unassigned | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned | ||
Karmic |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
SRU Justification:
Impact: The patches backported to fix CVE-2010-2943 caused a regression for xfsdump.
Fix: Backporting one more patch from upstream is fixing the issue.
Testcase:
1. create an xfs filesystem with data (>~100MB). There is a compressed archive provided in comment #14.
2. run "xfsdump -p10 -Ltest -Mdump -f outfile <mount>"
Note: Hardy and earlier seem to require the path to the device, while later releases can handle the mount point.
The xfsdump command aborts with 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-
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-
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:
http://
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.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-
Regression: Yes
Reproducible: Yes
ProcVersionSign
Uname: Linux 2.6.32-
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices: Error: [Errno 2] No such file or directory
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info: Error: [Errno 2] No such file or directory
Card0.Amixer.
CurrentDmesg: [ 22.416013] eth0: no IPv6 routers present
Date: Mon Dec 20 23:00:58 2010
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
Lsusb:
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
RelatedPackageV
RfKill:
SourcePackage: linux
dmi.bios.date: 07/29/2009
dmi.bios.vendor: Intel Corp.
dmi.bios.version: LF94510J.
dmi.board.
dmi.board.name: D945GCLF
dmi.board.vendor: Intel Corporation
dmi.board.version: AAE27042-400
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCor
description: | updated |
tags: | added: verification-needed-karmic |
tags: | added: verification-needed-lucid |
Problem still exists under 2.6.32-28 on x86_64:
+ sudo xfsdump -p 10 -L NITWO Ubuntu Home Filesystem -M Written 2011-01-26 -f /media/ tvms/Backups/ nitwo-ubuntu/ home/2011- 01-26.xfsdump /home 16fd-40e5- b21e-199238c008 bc
xfsdump: using file dump (drive_simple) strategy
xfsdump: version 3.0.4 (dump format 3.0) - Running single-threaded
xfsdump: level 0 dump of nitwo-ubuntu:/home
xfsdump: dump date: Wed Jan 26 17:37:29 2011
xfsdump: session id: a4df6f81-
xfsdump: session label: "NITWO Ubuntu Home Filesystem"
xfsdump: ino map phase 1: constructing initial dump list
xfsdump: syssgi( SGI_FS_BULKSTAT ) on fsroot failed: Invalid argument
xfsdump: Dump Status: ERROR
nitwo-ubuntu:~$ uname -a
Linux nitwo-ubuntu 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 23:42:43 UTC 2011 x86_64 GNU/Linux