Hi everyone,
I'm currently (and for a few weeks) having a problem with a 2T usb drive connected to a raspberry Pi model B,
running Arch, up to date (last update hours ago).
Here's what happens.
The filesystem is declared "corrupted".
(please run xfs repair, see log below)
I umount, run xfs_repair, mount : problem persists.
There is for instance a directory I can not access : I see the name, can cd in it, but a "ls" will produce an error message.
$this->bbcode_second_pass_code('', '
ls: reading directory /mnt/dlna/Photos/2012_08: Structure needs cleaning
')
Worst : I umount, plug the disk to a 86_64 laptop, I mount : no corruption detected, directory available !
So : I did cp -rp from the given directory, *delete* the original directory,
unmount, mount back to the ARM.
And guess what : the faulty directory appears again ! (and "coruption" message also)
(and once again : xfs_repair does'nt solve anything)
I have absolutely no clue as hat I should do, aside from changing filesystem
Any help will be welcome !
Here comes the log :
$this->bbcode_second_pass_code('', '[Wed Sep 4 16:12:15 2013] c8de9000: 58 46 53 42 00 00 10 00 00 00 00 00 1d 1b f0 00 XFSB............
[Wed Sep 4 16:12:15 2013] XFS (sda1): Internal error xfs_da_do_buf(2) at line 2192 of file fs/xfs/xfs_da_btree.c. Caller 0xc0298e8c
[Wed Sep 4 16:12:15 2013] [<c0013b84>] (unwind_backtrace+0x0/0xf0) from [<c025ede8>] (xfs_corruption_error+0x58/0x74)
[Wed Sep 4 16:12:15 2013] [<c025ede8>] (xfs_corruption_error+0x58/0x74) from [<c0293878>] (xfs_da_read_buf+0x168/0x20c)
[Wed Sep 4 16:12:15 2013] [<c0293878>] (xfs_da_read_buf+0x168/0x20c) from [<c0298e8c>] (xfs_dir2_leaf_readbuf+0x228/0x62c)
[Wed Sep 4 16:12:15 2013] [<c0298e8c>] (xfs_dir2_leaf_readbuf+0x228/0x62c) from [<c0299740>] (xfs_dir2_leaf_getdents+0x12c/0x3ac)
[Wed Sep 4 16:12:15 2013] [<c0299740>] (xfs_dir2_leaf_getdents+0x12c/0x3ac) from [<c0295e00>] (xfs_readdir+0xe8/0x154)
[Wed Sep 4 16:12:15 2013] [<c0295e00>] (xfs_readdir+0xe8/0x154) from [<c025ffc8>] (xfs_file_readdir+0x44/0x54)
[Wed Sep 4 16:12:15 2013] [<c025ffc8>] (xfs_file_readdir+0x44/0x54) from [<c00ffc44>] (vfs_readdir+0x94/0xb8)
[Wed Sep 4 16:12:15 2013] [<c00ffc44>] (vfs_readdir+0x94/0xb8) from [<c00ffe08>] (sys_getdents64+0x60/0xd0)
[Wed Sep 4 16:12:15 2013] [<c00ffe08>] (sys_getdents64+0x60/0xd0) from [<c000db20>] (ret_fast_syscall+0x0/0x30)
[Wed Sep 4 16:12:15 2013] XFS (sda1): Corruption detected. Unmount and run xfs_repair
')
And here's what I'm running :
$this->bbcode_second_pass_code('', '
Linux youpi 3.6.11-17-ARCH+ #1 PREEMPT Sun Aug 25 08:45:40 CDT 2013 armv6l GNU/Linux
core/xfsprogs 3.1.11-1
')
Thanks a lot !