|
Dear xfs experts, Now I'm deploying Brian's system script in out cluster. But from last night till now 5 servers in our 24 servers xfs shutdown with the same error. I run xfs_repair command and found all the lost inodes are glusterfs dht link files. This explains why the xfs shutdown tend to happen during glusterfs rebalance. During glusterfs rebalance procedure a lot of dhk link files may be unlinked. For example the following inodes are found in lost+found in one of the servers:[root@* lost+found]# pwd /mnt/xfsd/lost+found [root@* lost+found]# ls -l total 740 ---------T 1 root root 0 Apr 8 21:06 100119 ---------T 1 root root 0 Apr 8 21:11 101123 ---------T 1 root root 0 Apr 8 21:19 102659 ---------T 1 root root 0 Apr 12 14:46 1040919 ---------T 1 root root 0 Apr 12 14:58 1041943 ---------T 1 root root 0 Apr 8 21:32 105219 ---------T 1 root root 0 Apr 8 21:37 105731 ---------T 1 root root 0 Apr 12 17:48 1068055 ---------T 1 root root 0 Apr 12 18:38 1073943 ---------T 1 root root 0 Apr 8 21:54 108035 ---------T 1 root root 0 Apr 12 21:49 1091095 ---------T 1 root root 0 Apr 13 00:17 1111063 ---------T 1 root root 0 Apr 13 03:51 1121815 ---------T 1 root root 0 Apr 8 22:25 112387 ---------T 1 root root 0 Apr 13 06:39 1136151 ... [root@* lost+found]# getfattr -m . -d -e hex * # file: 96007 trusted.afr.mams-cq-mt-video-client-3=0x000000000000000000000000 trusted.afr.mams-cq-mt-video-client-4=0x000000000000000000000000 trusted.afr.mams-cq-mt-video-client-5=0x000000000000000000000000 trusted.gfid=0xa0370d8a9f104dafbebbd0e6dd7ce1f7 trusted.glusterfs.dht.linkto=0x6d616d732d63712d6d742d766964656f2d7265706c69636174652d3600 trusted.glusterfs.quota.ca34e1ce-f046-4ed4-bbd1-261b21bfe0b8.contri=0x0000000049dff000 # file: 97027 trusted.afr.mams-cq-mt-video-client-3=0x000000000000000000000000 trusted.afr.mams-cq-mt-video-client-4=0x000000000000000000000000 trusted.afr.mams-cq-mt-video-client-5=0x000000000000000000000000 trusted.gfid=0xc1c1fe2ec7034442a623385f43b04c25 trusted.glusterfs.dht.linkto=0x6d616d732d63712d6d742d766964656f2d7265706c69636174652d3600 trusted.glusterfs.quota.ca34e1ce-f046-4ed4-bbd1-261b21bfe0b8.contri=0x000000006ac78000 # file: 97559 trusted.afr.mams-cq-mt-video-client-3=0x000000000000000000000000 trusted.afr.mams-cq-mt-video-client-4=0x000000000000000000000000 trusted.afr.mams-cq-mt-video-client-5=0x000000000000000000000000 trusted.gfid=0xcf7c17013c914511bda4d1c743fae118 trusted.glusterfs.dht.linkto=0x6d616d732d63712d6d742d766964656f2d7265706c69636174652d3500 trusted.glusterfs.quota.ca34e1ce-f046-4ed4-bbd1-261b21bfe0b8.contri=0x00000000519fb000 # file: 98055 trusted.afr.mams-cq-mt-video-client-3=0x000000000000000000000000 trusted.afr.mams-cq-mt-video-client-4=0x000000000000000000000000 trusted.afr.mams-cq-mt-video-client-5=0x000000000000000000000000 trusted.gfid=0xe86abc6e2c4b44c28d415fbbe34f2102 trusted.glusterfs.dht.linkto=0x6d616d732d63712d6d742d766964656f2d7265706c69636174652d3600 trusted.glusterfs.quota.ca34e1ce-f046-4ed4-bbd1-261b21bfe0b8.contri=0x000000004c098000 # file: 98567 trusted.afr.mams-cq-mt-video-client-3=0x000000000000000000000000 trusted.afr.mams-cq-mt-video-client-4=0x000000000000000000000000 trusted.afr.mams-cq-mt-video-client-5=0x000000000000000000000000 trusted.gfid=0x12543a2efbdf4b9fa61c6d89ca396f80 trusted.glusterfs.dht.linkto=0x6d616d732d63712d6d742d766964656f2d7265706c69636174652d3500 trusted.glusterfs.quota.ca34e1ce-f046-4ed4-bbd1-261b21bfe0b8.contri=0x000000006bc98000 # file: 98583 trusted.afr.mams-cq-mt-video-client-3=0x000000000000000000000000 trusted.afr.mams-cq-mt-video-client-4=0x000000000000000000000000 trusted.afr.mams-cq-mt-video-client-5=0x000000000000000000000000 trusted.gfid=0x760d16d3b7974cfb9c0a665a0982c470 trusted.glusterfs.dht.linkto=0x6d616d732d63712d6d742d766964656f2d7265706c69636174652d3500 trusted.glusterfs.quota.ca34e1ce-f046-4ed4-bbd1-261b21bfe0b8.contri=0x000000006cde9000 # file: 99607 trusted.afr.mams-cq-mt-video-client-3=0x000000000000000000000000 trusted.afr.mams-cq-mt-video-client-4=0x000000000000000000000000 trusted.afr.mams-cq-mt-video-client-5=0x000000000000000000000000 trusted.gfid=0x0849a732ea204bc3b8bae830b46881da trusted.glusterfs.dht.linkto=0x6d616d732d63712d6d742d766964656f2d7265706c69636174652d3500 trusted.glusterfs.quota.ca34e1ce-f046-4ed4-bbd1-261b21bfe0b8.contri=0x00000000513f1000 ... 2013/4/12 符永涛 <yongtaofu@xxxxxxxxx>
-- 符永涛 |
| Previous by Date: | Re: xfstests: kludge patch for per-dir test number sorting by ./check, Dave Chinner |
|---|---|
| Next by Date: | Re: xfstests: kludge patch for per-dir test number sorting by ./check, Michael L. Semon |
| Previous by Thread: | Re: need help how to debug xfs crash issue xfs_iunlink_remove: xfs_inotobp() returned error 22, 符永涛 |
| Next by Thread: | Re: need help how to debug xfs crash issue xfs_iunlink_remove: xfs_inotobp() returned error 22, 符永涛 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |