PROBLEM: XFS on ARM corruption 'Structure needs cleaning'

Török Edwin edwin at skylable.com
Thu Jun 11 12:13:43 CDT 2015


On 06/11/2015 08:10 PM, Eric Sandeen wrote:
> On 6/11/15 11:32 AM, Török Edwin wrote:
>> # cp /tmp/xfs2.test /tmp/xfs2.test.orig
>> # umount /export/dfs
>> # mount -o loop -t xfs /tmp/xfs2.test /export/dfs
>> # mkdir /export/dfs/a
>> # sxadm node --new --batch /export/dfs/a/b
>> # ls /export/dfs/a/b
>> ls: reading directory /export/dfs/a/b: Structure needs cleaning
>> # umount /export/dfs
>> # cp /tmp/xfs2.test /tmp/xfs2.test.corrupted
>> # dmesg >/tmp/dmesg
>> # exit
> 
> Thanks.  Out of curiosity, if you now do:
> 
> # mount -o loop -t xfs /tmp/xfs2.test /export/dfs
> # ls /export/dfs/a/b

I get 'Structure needs cleaning' again.

> 
> do you still get the failure?  i.e. is it persistent on disk, still there after a remount,

It is persistent. I tried remounting, or unmount + xfs_repair + remount, or rm -rf /export/dfs/a, but once its corrupted it stays like that.

Best regards,
--Edwin



More information about the xfs mailing list