[opensuse] openSuSE 13.1 xfs issue
Hi Folks, I think I've got an interesting issue here that I thought I'd run by you before reporting it as a bug. On a 13.1 x86-64 box that's up-to-date with zypper dup I can't mount a XFS filesystem that was created with a recent openSuSE version, either 13.1 or 13.2. fdisk creates the label just fine, mkfs.xfs works as expected, but the mount fails saying: mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so. Then, /var/log/messages says in part: Version 5 superblock detected. This kernel has EXPERIMENTAL support enabled! and a bunch of diagnostics that I'll include below. The 13.1 box has xfsprogs-3.2.4-49.1.x86_64. I think that this version of mkfs.xfs is creating a filesystem that kernel 3.11.10-29-desktop can't handle. I can understand 13.1 possibly not mounting a 13.2 filesystem, but it certainly should be able to mount a filesystem it makes itself! Has anyone else noticed this? Regards, Lew Here are the lines in /var/log/messages. "rogue" is the hostname. 2015-08-20T15:46:09.391547-07:00 rogue kernel: [15848.983315] XFS (sdb1): Version 5 superblock detected. This kernel has EXPERIMENTAL support enabled! 2015-08-20T15:46:09.391562-07:00 rogue kernel: [15848.983315] Use of these features in this kernel is at your own risk! 2015-08-20T15:46:09.391563-07:00 rogue kernel: [15848.983321] XFS (sdb1): Superblock has unknown read-only compatible features (0x1) enabled. 2015-08-20T15:46:09.391564-07:00 rogue kernel: [15848.983323] XFS (sdb1): Attempted to mount read-only compatible filesystem read-write. 2015-08-20T15:46:09.391565-07:00 rogue kernel: [15848.983323] Filesystem can only be safely mounted read only. 2015-08-20T15:46:09.391566-07:00 rogue kernel: [15848.983327] ffff88060e5b2000: 58 46 53 42 00 00 10 00 00 00 00 00 01 bf 28 76 XFSB..........(v 2015-08-20T15:46:09.391567-07:00 rogue kernel: [15848.983329] ffff88060e5b2010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 2015-08-20T15:46:09.391568-07:00 rogue kernel: [15848.983332] ffff88060e5b2020: 40 a6 e8 a2 70 1b 49 8c a8 5a 2a 41 21 d3 3d c1 @...p.I..Z*A!.=. 2015-08-20T15:46:09.391569-07:00 rogue kernel: [15848.983334] ffff88060e5b2030: 00 00 00 00 01 00 00 05 00 00 00 00 00 00 00 60 ...............` 2015-08-20T15:46:09.391570-07:00 rogue kernel: [15848.983337] XFS (sdb1): Internal error xfs_sb_read_verify at line 780 of file /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/xfs/xfs_mount.c. Caller 0xffffffffa12917c5 2015-08-20T15:46:09.391571-07:00 rogue kernel: [15848.983337] 2015-08-20T15:46:09.391572-07:00 rogue kernel: [15848.983342] CPU: 0 PID: 253 Comm: kworker/0:1H Tainted: P O 3.11.10-29-desktop #1 2015-08-20T15:46:09.391573-07:00 rogue kernel: [15848.983344] Hardware name: Hewlett-Packard HPE-390t/2A86, BIOS 6.08 05/20/2010 2015-08-20T15:46:09.391574-07:00 rogue kernel: [15848.983365] Workqueue: xfslogd xfs_buf_iodone_work [xfs] 2015-08-20T15:46:09.391574-07:00 rogue kernel: [15848.983367] 0000000000000001 ffffffff815a1ac2 ffff8805a8b28000 ffffffffa12944b6 2015-08-20T15:46:09.391575-07:00 rogue kernel: [15848.983372] 0000030c00000000 ffffffffa12917c5 ffff8805a8b24e00 0000000000000016 2015-08-20T15:46:09.391576-07:00 rogue kernel: [15848.983376] ffff8805a8b28000 0000000000000200 ffffffffa12e869d ffffffffa12917c5 2015-08-20T15:46:09.391577-07:00 rogue kernel: [15848.983380] Call Trace: 2015-08-20T15:46:09.391578-07:00 rogue kernel: [15848.983394] [<ffffffff81004ae8>] dump_trace+0x88/0x310 2015-08-20T15:46:09.391579-07:00 rogue kernel: [15848.983402] [<ffffffff81004e40>] show_stack_log_lvl+0xd0/0x1d0 2015-08-20T15:46:09.391580-07:00 rogue kernel: [15848.983405] [<ffffffff8100627c>] show_stack+0x1c/0x50 2015-08-20T15:46:09.391580-07:00 rogue kernel: [15848.983409] [<ffffffff815a1ac2>] dump_stack+0x50/0x89 2015-08-20T15:46:09.391581-07:00 rogue kernel: [15848.983419] [<ffffffffa12944b6>] xfs_corruption_error+0x56/0x80 [xfs] 2015-08-20T15:46:09.391582-07:00 rogue kernel: [15848.983458] [<ffffffffa12e869d>] xfs_sb_read_verify+0xfd/0x120 [xfs] 2015-08-20T15:46:09.391583-07:00 rogue kernel: [15848.983526] [<ffffffffa12917c5>] xfs_buf_iodone_work+0x75/0x110 [xfs] 2015-08-20T15:46:09.391584-07:00 rogue kernel: [15848.983542] [<ffffffff8106bc58>] process_one_work+0x168/0x490 2015-08-20T15:46:09.391585-07:00 rogue kernel: [15848.983545] [<ffffffff8106c8f4>] worker_thread+0x114/0x3a0 2015-08-20T15:46:09.391585-07:00 rogue kernel: [15848.983549] [<ffffffff81072c1f>] kthread+0xaf/0xc0 2015-08-20T15:46:09.391586-07:00 rogue kernel: [15848.983552] [<ffffffff815af6bc>] ret_from_fork+0x7c/0xb0 2015-08-20T15:46:09.391587-07:00 rogue kernel: [15848.983555] XFS (sdb1): Corruption detected. Unmount and run xfs_repair 2015-08-20T15:46:09.391588-07:00 rogue kernel: [15848.983623] XFS (sdb1): SB validate failed with error 22. 2015-08-20T15:56:47.810570-07:00 rogue kernel: [16487.454979] XFS (sdb1): Version 5 superblock detected. This kernel has EXPERIMENTAL support enabled! 2015-08-20T15:56:47.810585-07:00 rogue kernel: [16487.454979] Use of these features in this kernel is at your own risk! 2015-08-20T15:56:47.810587-07:00 rogue kernel: [16487.454983] XFS (sdb1): Superblock has unknown read-only compatible features (0x1) enabled. 2015-08-20T15:56:47.810587-07:00 rogue kernel: [16487.454984] XFS (sdb1): Attempted to mount read-only compatible filesystem read-write. 2015-08-20T15:56:47.810588-07:00 rogue kernel: [16487.454984] Filesystem can only be safely mounted read only. 2015-08-20T15:56:47.810589-07:00 rogue kernel: [16487.454987] ffff8805a89a4000: 58 46 53 42 00 00 10 00 00 00 00 00 01 bf 28 76 XFSB..........(v 2015-08-20T15:56:47.810589-07:00 rogue kernel: [16487.454989] ffff8805a89a4010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 2015-08-20T15:56:47.810590-07:00 rogue kernel: [16487.454990] ffff8805a89a4020: 79 d2 20 81 0c 4d 42 3b 81 7c 33 11 a2 ed c3 5c y. ..MB;.|3....\ 2015-08-20T15:56:47.810590-07:00 rogue kernel: [16487.454991] ffff8805a89a4030: 00 00 00 00 01 00 00 05 00 00 00 00 00 00 00 60 ...............` 2015-08-20T15:56:47.810591-07:00 rogue kernel: [16487.454993] XFS (sdb1): Internal error xfs_sb_read_verify at line 780 of file /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/xfs/xfs_mount.c. Caller 0xffffffffa12917c5 2015-08-20T15:56:47.810592-07:00 rogue kernel: [16487.454993] 2015-08-20T15:56:47.810592-07:00 rogue kernel: [16487.454996] CPU: 0 PID: 253 Comm: kworker/0:1H Tainted: P O 3.11.10-29-desktop #1 2015-08-20T15:56:47.810593-07:00 rogue kernel: [16487.454998] Hardware name: Hewlett-Packard HPE-390t/2A86, BIOS 6.08 05/20/2010 2015-08-20T15:56:47.810593-07:00 rogue kernel: [16487.455014] Workqueue: xfslogd xfs_buf_iodone_work [xfs] 2015-08-20T15:56:47.810594-07:00 rogue kernel: [16487.455016] 0000000000000001 ffffffff815a1ac2 ffff88060aa62800 ffffffffa12944b6 2015-08-20T15:56:47.810594-07:00 rogue kernel: [16487.455019] 0000030c00000000 ffffffffa12917c5 ffff880609e9ee40 0000000000000016 2015-08-20T15:56:47.810595-07:00 rogue kernel: [16487.455021] ffff88060aa62800 0000000000000200 ffffffffa12e869d ffffffffa12917c5 2015-08-20T15:56:47.810595-07:00 rogue kernel: [16487.455024] Call Trace: 2015-08-20T15:56:47.810596-07:00 rogue kernel: [16487.455034] [<ffffffff81004ae8>] dump_trace+0x88/0x310 2015-08-20T15:56:47.810596-07:00 rogue kernel: [16487.455037] [<ffffffff81004e40>] show_stack_log_lvl+0xd0/0x1d0 2015-08-20T15:56:47.810597-07:00 rogue kernel: [16487.455040] [<ffffffff8100627c>] show_stack+0x1c/0x50 2015-08-20T15:56:47.810597-07:00 rogue kernel: [16487.455045] [<ffffffff815a1ac2>] dump_stack+0x50/0x89 2015-08-20T15:56:47.810598-07:00 rogue kernel: [16487.455056] [<ffffffffa12944b6>] xfs_corruption_error+0x56/0x80 [xfs] 2015-08-20T15:56:47.810598-07:00 rogue kernel: [16487.455096] [<ffffffffa12e869d>] xfs_sb_read_verify+0xfd/0x120 [xfs] 2015-08-20T15:56:47.810599-07:00 rogue kernel: [16487.455169] [<ffffffffa12917c5>] xfs_buf_iodone_work+0x75/0x110 [xfs] 2015-08-20T15:56:47.810599-07:00 rogue kernel: [16487.455187] [<ffffffff8106bc58>] process_one_work+0x168/0x490 2015-08-20T15:56:47.810600-07:00 rogue kernel: [16487.455190] [<ffffffff8106c8f4>] worker_thread+0x114/0x3a0 2015-08-20T15:56:47.810600-07:00 rogue kernel: [16487.455194] [<ffffffff81072c1f>] kthread+0xaf/0xc0 2015-08-20T15:56:47.810601-07:00 rogue kernel: [16487.455198] [<ffffffff815af6bc>] ret_from_fork+0x7c/0xb0 2015-08-20T15:56:47.810601-07:00 rogue kernel: [16487.455201] XFS (sdb1): Corruption detected. Unmount and run xfs_repair 2015-08-20T15:56:47.810602-07:00 rogue kernel: [16487.455261] XFS (sdb1): SB validate failed with error 22. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2015-08-21 01:19, Lew Wolfgang wrote:
Hi Folks,
I think I've got an interesting issue here that I thought I'd run by you before reporting it as a bug.
On a 13.1 x86-64 box that's up-to-date with zypper dup I
dup? That's not very safe in a stable release. It can cause damage.
The 13.1 box has xfsprogs-3.2.4-49.1.x86_64. I think that this version of mkfs.xfs is creating a filesystem that kernel 3.11.10-29-desktop can't handle.
Quite possible... You need a matching kernel for those tools, that are not part of the "official" 13.1.
I can understand 13.1 possibly not mounting a 13.2 filesystem, but it certainly should be able to mount a filesystem it makes itself!
But it was not itself...
Has anyone else noticed this?
No. I have xfsprogs-3.2.2-45 Did you intentionally install xfsprogs-3.2.4? -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
participants (2)
-
Carlos E. R.
-
Lew Wolfgang