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.

Xfs file system corruption questions?

Featured Replies

First of thanks for looking. 

 

Now, I have a multi-disk system which is reporting during boot 'Metadata I/O error in "xks_trans_read_buf_map" at daddr 0xb780a130" and then notes FS /dev/md3 

 

This happened after I had two old disk fail on me at once and I replaced them with 3tb (same capacity) white label drives which I precleared before hand. The array rebuilt but reported literally millions of reads and errors on a drive. I formatted the disk it reported, pre-cleared it again and it came back clear. Not a single SMART error which leads me to believe this is file system corruption and not a failed disk. But if you believe otherwise I'll be happy to listen. 

 

So I've booted up the system in maintenance mode and brought the array online without mounting it (Maintenance mode) and ran a 'xfs_repair -v /dev/md3' since that is were it reports the error. Problem is it gets all the way to phase 7 and then does this.. 

 

Phase 7 - verify and correct link counts...
resetting inode 99 nlinks from 5 to 4
resetting inode 117 nlinks from 27 to 8
resetting inode 16197945 nlinks from 3 to 2
resetting inode 16197967 nlinks from 2 to 71

---- <and it freezes here, goes no further even after 10 hours. 

 

I am fine loosing data there is nothing I can't replace on this box but how can I get this array back to a healthy state? I'd like to save my docker images if possible. 

 

Any help would be welcome, I am new to Unraid so I've attached my diagnostic file as I see people do here. Thanks you all. 

tower-diagnostics-20181118-2120.zip

  • Community Expert

A successful rebuild relies in their being zero read errors on any other drive other than the one(s) being rebuilt and zero write errors on the rebuilt drives.   Every read error (or write error) is likely to result in a corrupt sector on the rebuilt drive.    Also, file system corruption cannot cause read errors as rebuild works at the physical sector level) and not the file system level - it is the other way around in that read errors (or write errors) will cause file system corruption.

 

Exactly which were the drives you were replacing, and which was the one with read errors during the rebuild.

  • Author

Hey there. 

 

I got the errors on 1CH166_W1F4TC3V, Disk 5 in the array. When I took down the array I replaced two older Seagate drives with the two Hitachi drives now in the array. I checked the cable on 1CH166_W1F4TC3V, made sure everything was okay as far as I could see and then turned the system back on and it reported no errors on a SMART test. I did pre-clear both of the Hitachi drives. 

 

So is my file system pretty well beyond repair now? Should I just nuke it and restart? I feel like I am close to that point here. 

  • Community Expert

With millions of errors the rebuilt disk will be mostly garbage, and likely not worth trying to repair the filesystem, and probably not even possible

 

 

  • Author

Which is what I was afraid off. I'll try and get some of my files off it.. but I guess it's a total tear down. 

 

<Cracks knuckles> .. rebuild time. 

Archived

This topic is now archived and is closed to further replies.

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.