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.

HELP - Drive failure

Featured Replies

  • Author

Ok, so rebuild finished, 0 errors. Does this mean I got away with it?!

Screen Shot 2018-03-16 at 8.12.19 am.png

  • Community Expert

DId you do the filesystem check?

 

11 hours ago, johnnie.black said:

run xfs_repair -v when it finishes rebuilding.

 

  • Author

root@wishie:~# xfs_repair -v /dev/sdd1
Phase 1 - find and verify superblock...
        - block cache size set to 326328 entries
Phase 2 - using internal log
        - zero log...
zero_log: head block 68262 tail block 68262
        - scan filesystem freespace and inode maps...
        - found root inode chunk
Phase 3 - for each AG...
        - scan and clear agi unlinked lists...
        - process known inodes and perform inode discovery...
        - agno = 0
        - agno = 1
        - agno = 2
        - agno = 3
        - process newly discovered inodes...
Phase 4 - check for duplicate blocks...
        - setting up duplicate extent list...
        - check for inodes claiming duplicate blocks...
        - agno = 0
        - agno = 1
        - agno = 2
        - agno = 3
Phase 5 - rebuild AG headers and trees...
        - agno = 0
        - agno = 1
        - agno = 2
        - agno = 3
        - reset superblock...
Phase 6 - check inode connectivity...
        - resetting contents of realtime bitmap and summary inodes
        - traversing filesystem ...
        - agno = 0
        - agno = 1
        - agno = 2
        - agno = 3
        - traversal finished ...
        - moving disconnected inodes to lost+found ...
Phase 7 - verify and correct link counts...

        XFS_REPAIR Summary    Fri Mar 16 11:39:12 2018

Phase        Start        End        Duration
Phase 1:    03/16 11:39:09    03/16 11:39:09
Phase 2:    03/16 11:39:09    03/16 11:39:10    1 second
Phase 3:    03/16 11:39:10    03/16 11:39:11    1 second
Phase 4:    03/16 11:39:11    03/16 11:39:11
Phase 5:    03/16 11:39:11    03/16 11:39:11
Phase 6:    03/16 11:39:11    03/16 11:39:11
Phase 7:    03/16 11:39:11    03/16 11:39:11

Total run time: 2 seconds
done

  • Community Expert

So did anything wind up in the lost+found folder on that disk?

 

You should have run that on the md device instead of the sd device. Writing changes to md device maintains parity. Writing changes to sd device does not. I think you will have to parity sync again.

 

Or maybe just a correcting parity check would be good enough if there weren't many changes.

 

  • Author

I tried it on the md device first. It said it was 'mountable' and 'mountable & writable' but then exited with an error:

 

xfs_repair -v /dev/md5
xfs_repair: /dev/md5 contains a mounted filesystem
xfs_repair: /dev/md5 contains a mounted and writable filesystem

fatal error -- couldn't initialize XFS library


So I stopped the array, and ran it on the actual device. Nothing ended up in lost+found (there is no lost+found on that disk)

 

  • Community Expert

Sorry we should have explained better. You would have to start in maintenance mode, then you could have just told it in the webUI to do the check. I think you should do a correcting parity check. It would be a good test that everything is working well anyway.

  • Author

So simply going to the "Main" page, "Array Operation" tab and clicking "Check" ?

 

  • Community Expert
4 hours ago, wishie said:

So simply going to the "Main" page, "Array Operation" tab and clicking "Check" ?

 

yes

  • Author

Running now.. will check back in when its finished. Thanks

  • Author

Just over 2hrs in, and there have been 31 corrections.. is it fairly safe to assume these were caused by my xfs_repair on the disk itself?

  • Community Expert
7 minutes ago, wishie said:

is it fairly safe to assume these were caused by my xfs_repair on the disk itself?

Yep

  • Author

Well, it looks like I did almost everything wrong, and you all helped me sort it out, again.

Thank you very much.

  • Author

51 errors in total. Not too bad.

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.