xfs
[Top] [All Lists]

Re: need help how to debug xfs crash issue xfs_iunlink_remove: xfs_inoto

To: çææ <yongtaofu@xxxxxxxxx>
Subject: Re: need help how to debug xfs crash issue xfs_iunlink_remove: xfs_inotobp() returned error 22
From: "Michael L. Semon" <mlsemon35@xxxxxxxxx>
Date: Tue, 9 Apr 2013 18:16:30 -0400
Cc: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=qftoizJR5BxMxazN1V3CFu0jDJF6YVSzIY6EJMbjlL0=; b=t0S0KPpSRQB3ZfsGaCA0bKb8ZV5uyfjfnouIo+7fuV45XS2VrZIQ/SIlu41NkInhOi 01Q6oyt+2gnwUppYIHe3u3mX+Ld1DQhvTs8In2FppA0pHrS+GzWLmk5vfyszYACExjHk anWJidPTbotcyevGQC1IptdMVvqq9g4wKAHT5/BRgAJxD32HfP2Jq3leTS7caGY/E/94 H4HPifOnKWjENrOVshBx93GsL6mcuQm+8HZHXvHJCBSj1I7jV468mmm7HZWuKiSpyDEe yjhntOh7Q+DgXD9Vv1zs5zO5BMN8m/ZEz7j7Xm5xY9tkHfC/Eiyn6Xq8Hg+E/UTariu3 BJYw==
In-reply-to: <CADFMGu+=MM2yc=_peboV7JTNJ8F05TJfexmEErzcf0D8mAWFRg@xxxxxxxxxxxxxx>
References: <CADFMGuJm5bPPwbbUtYwrCVDL23KExJTw_-VRX2UEEdZjo+i5oA@xxxxxxxxxxxxxx> <CADFMGu+=MM2yc=_peboV7JTNJ8F05TJfexmEErzcf0D8mAWFRg@xxxxxxxxxxxxxx>
A meager non-expert user question with full ignorance of glusterfs:Â Why are you having I/O errors once every two weeks?

This looks like XFS behavior I've seen under 2 conditions: 1) when I test XFS on the device-mapper flakey object, using XFS without an external journal, and 2) when I try to press my hard-drive connectors against the motherboard while the PC is still running. Your error message looks more like the result of (2) than of (1).

XFS behavior on flakey is not the best, and I wish it would recover in such situations. In Case (2), I'm fairly sure that the PC is confused on a hardware level because the drive light does not go out. Then again, seeing the behavior of other file systems that fight through the errors, maybe it's for the best. If you're fighting I/O errors, there is no winner, and it's best to get rid of the I/O error.

OK, I'm off the soapbox and will quietly wait for a RAID expert like Dave or Stan to jump in and make me feel like a complete amateur...

MIchael

On Tue, Apr 9, 2013 at 9:03 AM, çææ <yongtaofu@xxxxxxxxx> wrote:
BTW
xfs_info /dev/sdb
meta-data="" Â Â Â Â Â Â Â isize=256 Â Âagcount=28, agsize=268435440 blks
    Â=            sectsz=512  attr=2
data   =            bsize=4096  blocks=7324303360, imaxpct=5
    Â=            sunit=16   swidth=160 blks
naming  =version 2       Âbsize=4096  ascii-ci=0
log   Â=internal        bsize=4096  blocks=521728, version=2
    Â=            sectsz=512  sunit=16 blks, lazy-count=1
realtime =none          extsz=4096  blocks=0, rtextents=0

2013/4/9, çææ <yongtaofu@xxxxxxxxx>:
> Dear xfs experts,
> I really need your help sincerely!!! In our production enviroment we
> run glusterfs over top of xfs on Dell x720D(Raid 6). And the xfs file
> system crash on some of the server frequently about every two weeks.
> Can you help to give me a direction about how to debug this issue and
> how to avoid it? Thank you very very much!
>
> uname -a
> Linux cqdx.miaoyan.cluster1.node11.qiyi.domain 2.6.32-279.el6.x86_64
> #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
>
> Every time the crash log is same, as following
>
> 038 Apr Â9 09:41:36 cqdx kernel: XFS (sdb): xfs_iunlink_remove:
> xfs_inotobp() returned error 22.
> 1039 Apr Â9 09:41:36 cqdx kernel: XFS (sdb): xfs_inactive: xfs_ifree
> returned error 22
> 1040 Apr Â9 09:41:36 cqdx kernel: XFS (sdb):
> xfs_do_force_shutdown(0x1) called from line 1184 of file
> fs/xfs/xfs_vnodeops.c. ÂReturn address = 0xffffffffa02ee20a
> 1041 Apr Â9 09:41:36 cqdx kernel: XFS (sdb): I/O Error Detected.
> Shutting down filesystem
> 1042 Apr Â9 09:41:36 cqdx kernel: XFS (sdb): Please umount the
> filesystem and rectify the problem(s)
> 1043 Apr Â9 09:41:53 cqdx kernel: XFS (sdb): xfs_log_force: error 5
> returned.
> 1044 Apr Â9 09:42:23 cqdx kernel: XFS (sdb): xfs_log_force: error 5
> returned.
> 1045 Apr Â9 09:42:53 cqdx kernel: XFS (sdb): xfs_log_force: error 5
> returned.
> 1046 Apr Â9 09:43:23 cqdx kernel: XFS (sdb): xfs_log_force: error 5
> returned.
>
> --
> çææ
>


--
çææ

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

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