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.

Added new drives, assigned data drive as parity

Featured Replies

  • Author
7 minutes ago, trurl said:

I was talking about using one of these

 

 

same disks.   I pulled 3*8tbs from my old server to replace the 1tb's.   the 8tb's were my old raid 5 array which i copied the data from in the first place.

 

  • Community Expert

Hold on I am looking for a better example

  • Author
1 hour ago, trurl said:

Here is another

 

https://forums.unraid.net/topic/84039-one-drive-failed-while-rebuilding-with-a-new-drive-a-second-drive-failed/?do=findComment&comment=778735

 

but none of these are exactly where you are now. I recommend patience and see what @johnnie.black recommends.

 

 

ok thanks.

will read all and see where i end up.   hopefully johnnie isnt too far away!

 

Edited by isaw

  • Community Expert

So, I think you have now re-assigned all disks as they were before this (parity should still be valid) and you want to rebuild disk2, also you started the array in maintenance mode and luckily for you since a few releases Unraid doesn't automatically start a sync/rebuild in maintenance mode, so no harm done.

 

I didn't re-read the entire thread so if I'm missing something please advise, assuming the above is correct:

 

 

-Tools -> New Config -> Retain current configuration: All -> Apply
-Check all assignments and assign any missing disk(s) if needed
-Important - After checking the assignments leave the browser on that page, the "Main" page.

-Open an SSH session/use the console and type (don't copy/paste directly from the forum, as sometimes it can insert extra characters):

mdcmd set invalidslot 2 29

-Back on the GUI and without refreshing the page, just start the array, do not check the "parity is already valid" box (GUI will still show that data on parity disk(s) will be overwritten, this is normal as it doesn't account for the invalid slot command, but they won't be as long as the procedure was correctly done), disk2 will start rebuilding, disk should mount immediately (probably not in this case) but if it's unmountable don't format, wait for the rebuild to finish and then run a filesystem check

 

 

  • Author

started this off now.

@johnnie.black

you mention a file system check, can you specify the commands for that please?

 

  • Community Expert

If the emulated disk2 is unmountable post current diags, or just the syslog.

 

The command to run after the rebuild finishes (and starting in maintenance mode) is:

 

xfs_repair -v /dev/md2

 

Also, if it asks for -L use it.

  • Author

xfs repair has finished,   there are a number of files (read basically everything) in the lost+found folder, but the folder structure is all gone.

I think its going to be easier to try and run up my old raid5 array and copy off it....

  • Community Expert

That's a shame, and it suggests parity wasn't 100% valid, though we already new it wouldn't be 100% because of the disks being mounted read/write outside parity, still xfs_repair can usually mostly recover form that.

  • Community Expert
1 hour ago, johnnie.black said:

suggests parity wasn't 100% valid

Possibly there were some details about what happened that weren't fully explained or understood.

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.