Skip to contentSkip to conversation

xfs_repair failing.

DISCUSSION Emmanuel Florac 2 participants 4 messages Jul 16, 2012 – Jul 17, 2012

lore
Share & tools
lore
#0 lore raw

Hi list,
I have a serious problem with a 60 TB XFS filesystem which looks seriously hosed. It was repaired once earlier last week, but crashed again after a repair friday and now xfs_repair fails with this message:

bad magic # 0x1 in btcnt block 61/27137 bad magic # 0xfffe68ff in btcnt block 61/201728942

(xfs_repair 2.9.8)

The filesystem can only be mounted read-only at this point.

I suspect a RAID corruption (Adaptec 52445 with firmware 18252, Hitachi HUA 3TB drives, RAID 6). The RAID controller have been replaced, but it doesn't help. Any ideas?

Signature · 11 lines
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<[email protected]>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#1 lore raw
Quoted 9 lines · Emmanuel Florac

Hi list,
I have a serious problem with a 60 TB XFS filesystem which looks seriously hosed. It was repaired once earlier last week, but crashed again after a repair friday and now xfs_repair fails with this message:

bad magic # 0x1 in btcnt block 61/27137 bad magic # 0xfffe68ff in btcnt block 61/201728942

Quoted 8 lines

(xfs_repair 2.9.8)

The filesystem can only be mounted read-only at this point.

I suspect a RAID corruption (Adaptec 52445 with firmware 18252, Hitachi HUA 3TB drives, RAID 6). The RAID controller have been replaced, but it doesn't help. Any ideas?

Can you update the xfs tools to the current (3.1.8 I think)? Also, which kernel is being used?

Signature · 14 lines
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics Inc.
email: [email protected]
web  : http://scalableinformatics.com
       http://scalableinformatics.com/sicluster
phone: +1 734 786 8423 x121
fax  : +1 866 888 3112
cell : +1 734 612 4615

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#2 lore raw

Le Mon, 16 Jul 2012 17:56:59 -0400 vous écriviez:

Quoted 3 lines

Can you update the xfs tools to the current (3.1.8 I think)? Also, which kernel is being used?

We'll try running a recent enough version of xfs_repair tomorrow. The kernel is 3.2.21 at the moment. The xfs filesystem looks like this:

xfs_info /dev/dm-0

meta-data=/dev/mapper/vg0-raid   isize=256    agcount=71,
agsize=268435440 blks =                       sectsz=512   attr=2
data     =                       bsize=4096   blocks=19013298176,
imaxpct=1 =                       sunit=16     swidth=32 blks
naming   =version 2              bsize=4096  
log      =internal               bsize=4096   blocks=32768, version=2
         =                       sectsz=512   sunit=16 blks,

lazy-count=1 realtime =none extsz=131072 blocks=0,
rtextents=0

Signature · 11 lines
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<[email protected]>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#3 lore raw
In reply to Joe Landman

Le Mon, 16 Jul 2012 17:56:59 -0400 vous écriviez:

Quoted 3 lines

Can you update the xfs tools to the current (3.1.8 I think)? Also, which kernel is being used?

I hadn't the latest version at hand, but we tried with a 3.1.4 version and it failed in exactly the same manner. I tend to suspect an incomptibility between the 3 TB drives and the RAID controller, but I can't be sure. Did anyone heard of any such problem?

Apparently only the XFS filesystem fails; another (reiserfs) filesystem on another partition on the same RAID array didn't suffer from any problem.

Signature · 11 lines
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<[email protected]>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs