Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need to run xfs_repair? Metadata CRC error detected

Featured Replies

Hi, I could use some help with the below syslog errors. It doesn't seem to affecting operation of my Unraid server, but I feel like I better fix it. I am in the process of running SMART extended tests on both of my array disks.

I understand that I need to Start my array in Maintenance Mode then through the webgui, do a filesystem check. image.thumb.png.154afff51edfdfce2f937a7232aad5c6.png

Is this equivalent to running xfs_repair?

The error references "dm-1", how do I identify which disk has the issue? I ran the below commands to identify the "dm-1" KNAME.

 

 SYSLOG ERRORS

Jun  9 10:58:48 Tower kernel: XFS (dm-1): Metadata CRC error detected at xfs_dir3_block_read_verify+0x7c/0xf1 [xfs], xfs_dir3_block block 0x182ba4640 
Jun  9 10:58:48 Tower kernel: XFS (dm-1): Unmount and run xfs_repair
Jun  9 10:58:48 Tower kernel: XFS (dm-1): First 128 bytes of corrupted metadata buffer:
Jun  9 10:58:48 Tower kernel: 00000000: 39 73 00 a0 57 58 2e 37 bc 03 a3 8d 69 e2 d7 c3  9s..WX.7....i...
Jun  9 10:58:48 Tower kernel: 00000010: 7b a5 40 fa d6 72 05 af 72 7e 97 87 88 60 28 10  {[email protected]~...`(.
Jun  9 10:58:48 Tower kernel: 00000020: ec 40 a5 a7 6a 38 a5 8b 7a 80 31 fd e4 60 b9 03  [email protected]..`..
Jun  9 10:58:48 Tower kernel: 00000030: 77 e0 6a 20 2a c6 cf 7d 4d 56 9f 9d f6 fa a3 46  w.j *..}MV.....F
Jun  9 10:58:48 Tower kernel: 00000040: 30 93 45 ef 67 1b 65 95 36 81 25 ba 93 21 ed 5c  0.E.g.e.6.%..!.\
Jun  9 10:58:48 Tower kernel: 00000050: 6d 33 ab dd 30 72 42 80 74 67 12 10 16 56 ae 33  m3..0rB.tg...V.3
Jun  9 10:58:48 Tower kernel: 00000060: 64 15 29 7c e9 55 e4 13 0d ba 0c c0 66 d7 6d 3d  d.)|.U......f.m=
Jun  9 10:58:48 Tower kernel: 00000070: 2d b5 0d 0f af d4 45 42 d0 3e ed 53 06 73 d0 ea  -.....EB.>.S.s..
Jun  9 10:58:48 Tower kernel: XFS (dm-1): metadata I/O error in "xfs_da_read_buf+0x9a/0xff [xfs]" at daddr 0x182ba4640 len 8 error 74
Jun  9 10:58:58 Tower kernel: XFS (dm-1): Metadata corruption detected at xfs_dir3_data_reada_verify+0x53/0x64 [xfs], xfs_dir3_data_reada block 0x182ba4640 
Jun  9 10:58:58 Tower kernel: XFS (dm-1): Unmount and run xfs_repair
Jun  9 10:58:58 Tower kernel: XFS (dm-1): First 128 bytes of corrupted metadata buffer:
Jun  9 10:58:58 Tower kernel: 00000000: 39 73 00 a0 57 58 2e 37 bc 03 a3 8d 69 e2 d7 c3  9s..WX.7....i...
Jun  9 10:58:58 Tower kernel: 00000010: 7b a5 40 fa d6 72 05 af 72 7e 97 87 88 60 28 10  {[email protected]~...`(.
Jun  9 10:58:58 Tower kernel: 00000020: ec 40 a5 a7 6a 38 a5 8b 7a 80 31 fd e4 60 b9 03  [email protected]..`..
Jun  9 10:58:58 Tower kernel: 00000030: 77 e0 6a 20 2a c6 cf 7d 4d 56 9f 9d f6 fa a3 46  w.j *..}MV.....F
Jun  9 10:58:58 Tower kernel: 00000040: 30 93 45 ef 67 1b 65 95 36 81 25 ba 93 21 ed 5c  0.E.g.e.6.%..!.\
Jun  9 10:58:58 Tower kernel: 00000050: 6d 33 ab dd 30 72 42 80 74 67 12 10 16 56 ae 33  m3..0rB.tg...V.3
Jun  9 10:58:58 Tower kernel: 00000060: 64 15 29 7c e9 55 e4 13 0d ba 0c c0 66 d7 6d 3d  d.)|.U......f.m=
Jun  9 10:58:58 Tower kernel: 00000070: 2d b5 0d 0f af d4 45 42 d0 3e ed 53 06 73 d0 ea  -.....EB.>.S.s..
Jun  9 10:58:58 Tower kernel: XFS (dm-1): Metadata CRC error detected at xfs_dir3_block_read_verify+0x7c/0xf1 [xfs], xfs_dir3_block block 0x182ba4640 
Jun  9 10:58:58 Tower kernel: XFS (dm-1): Unmount and run xfs_repair
Jun  9 10:58:58 Tower kernel: XFS (dm-1): First 128 bytes of corrupted metadata buffer:
Jun  9 10:58:58 Tower kernel: 00000000: 39 73 00 a0 57 58 2e 37 bc 03 a3 8d 69 e2 d7 c3  9s..WX.7....i...
Jun  9 10:58:58 Tower kernel: 00000010: 7b a5 40 fa d6 72 05 af 72 7e 97 87 88 60 28 10  {[email protected]~...`(.
Jun  9 10:58:58 Tower kernel: 00000020: ec 40 a5 a7 6a 38 a5 8b 7a 80 31 fd e4 60 b9 03  [email protected]..`..
Jun  9 10:58:58 Tower kernel: 00000030: 77 e0 6a 20 2a c6 cf 7d 4d 56 9f 9d f6 fa a3 46  w.j *..}MV.....F
Jun  9 10:58:58 Tower kernel: 00000040: 30 93 45 ef 67 1b 65 95 36 81 25 ba 93 21 ed 5c  0.E.g.e.6.%..!.\
Jun  9 10:58:58 Tower kernel: 00000050: 6d 33 ab dd 30 72 42 80 74 67 12 10 16 56 ae 33  m3..0rB.tg...V.3
Jun  9 10:58:58 Tower kernel: 00000060: 64 15 29 7c e9 55 e4 13 0d ba 0c c0 66 d7 6d 3d  d.)|.U......f.m=
Jun  9 10:58:58 Tower kernel: 00000070: 2d b5 0d 0f af d4 45 42 d0 3e ed 53 06 73 d0 ea  -.....EB.>.S.s..
Jun  9 10:58:58 Tower kernel: XFS (dm-1): metadata I/O error in "xfs_da_read_buf+0x9a/0xff [xfs]" at daddr 0x182ba4640 len 8 error 74

 

root@Tower:~# lsblk --output NAME,KNAME,TYPE,SIZE,MOUNTPOINT
NAME   KNAME TYPE    SIZE MOUNTPOINT
loop0  loop0 loop  116.8M /lib/firmware
loop1  loop1 loop   19.4M /lib/modules
sda    sda   disk   14.3G 
└─sda1 sda1  part   14.3G /boot
sdb    sdb   disk  232.9G 
└─sdb1 sdb1  part  232.9G 
sdc    sdc   disk    5.5T 
└─sdc1 sdc1  part    5.5T 
sdd    sdd   disk    3.6T 
└─sdd1 sdd1  part    3.6T 
sde    sde   disk    3.6T 
└─sde1 sde1  part    3.6T 
sdf    sdf   disk    3.6T 
└─sdf1 sdf1  part    3.6T 
md1    md1   md      3.6T 
└─md1  dm-0  crypt   3.6T 
md2    md2   md      3.6T 
└─md2  dm-1  crypt   3.6T 


 

PS: I  found this related forum post for guidance and also the Unraid Wiki: https://docs.unraid.net/legacy/FAQ/check-disk-filesystems/

Edited by lessismore

Solved by JorgeB

  • Community Expert
5 hours ago, lessismore said:

how do I identify which disk has the issue?

Please post the diagnostics.

  • Community Expert

The log rotated so cannot see the boot process, reboot (take the opportunity to update to v6.11.5 first since that release has a serious known issue formatting disks) and post new diags after array start.

  • Community Expert
23 hours ago, JorgeB said:

and post new diags after array start.

 

  • Community Expert
  • Solution

Run it again without -n or nothing will be done, if it asks for it use -L

  • Community Expert

Should be fixed, check lost+found folder.

  • Author

Thanks, I started the array and am not seeing the error anymore. Not sure what you meant by check the lost+found, but attached is a list of the files.

 

lost+found directory.txt

Edited by lessismore

  • Community Expert

Those could be previous data files that were not complete or lost the name, though it's not very easy to check them.

  • Author

Alright @JorgeB, seems things are back on track. Appreciate all the help!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.