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.

Parity Drive Recovery, I messed up

Featured Replies

So I messed up and didn't read. 

 

I had to replace my USB drive so I had to rebuild my array. Not paying attention or reading I didn't think it would be an issue which drive I selected as my parity drive and mixed up 2 drive. (2 3TB data drive 1 3TB parity). 

 

Is there a way to recover the data using the old parity drive? It is currently not mounted since there's no file system. 

  • Community Expert

Not entirely clear but it doesn't sound good.

 

Go to Tools - Diagnostics and attach the complete Diagnostics ZIP file to your NEXT post in this thread.

When I first used unraid I accidentally chose the wrong disk for parity and I was unable to recover the 6tb data

Sent from my SM-A305F using Tapatalk

  • Community Expert

Disk1 is unmountable. Presumably this was the "old parity drive"? And I assume you built new parity on the "old disk1". Is that correct?

 

 

  • Author
7 minutes ago, trurl said:

Disk1 is unmountable. Presumably this was the "old parity drive"? And I assume you built new parity on the "old disk1". Is that correct?

 

 

That is correct 

  • Community Expert

Have you allowed anything to be written to your server since then?

  • Author
19 minutes ago, trurl said:

Have you allowed anything to be written to your server since then?

 

No I ended up pausing the rebuild and never wrote anything new.

  • Community Expert

But you have docker enabled, and appdata and system shares have some files on disk2, so maybe something got written to disk2 even if you didn't write anything yourself.

 

Which dockers do you have running?

 

  • Community Expert
7 minutes ago, mman360 said:

ended up pausing the rebuild

You let parity rebuild run for 50 minutes before that.

 

There is really only one thing to try and won't know how well it works until trying it. Follow these exactly and ask if you have questions.

  1. Tools - New Config
  2. Assign disks as they should have been
  3. Check the box saying parity is valid
  4. Check the box for Maintenance Mode
  5. Start the array
  6. Stop the array
  7. Unassign disk1 (no device)
  8. Start the array with Maintenance Mode box UNCHECKED and disk1 unassigned

After all that, disk1 will be disabled and emulated by the old parity and disk2, and we can see if it is mountable or can be repaired.

 

 

Post new diagnostics when done with all that and we will see what we have.

 

 

  • Community Expert

@mman360

 

Before doing any of that see my next post.

  • Community Expert

Are you absolutely sure you made the mistake you think? Or did you just assume you had made that mistake because disk1 was unmountable?

  • Author
6 hours ago, trurl said:

Are you absolutely sure you made the mistake you think? Or did you just assume you had made that mistake because disk1 was unmountable?

 

Thanks for your help with this. I haven't moved forward yet. I assumed I made this mistake because it was showing unmountable due to no file system. 

  • Community Expert
3 minutes ago, mman360 said:

I assumed I made this mistake because it was showing unmountable due to no file system. 

OK

 

Lets see if filesystem check can find anything.

 

 

I assume the filesystem should be XFS, but diagnostics doesn't know what it was so it just says auto. You will have to set it to XFS to run the check.

 

Here is the wiki about filesystem check:

 

https://wiki.unraid.net/Manual/Storage_Management#Running_the_Test_using_the_webGui

 

 

and another post where somebody else was trying to check a filesystem that said auto:

 

https://forums.unraid.net/topic/105215-solved-unmountable-no-file-system-after-unclean-shutdown/

 

Study those.

 

Getting late so I may have to pick this up tomorrow or maybe someone else will.

 

 

 

  • Community Expert

@JorgeB @itimpi @JonathanM

 

I may not get back to this thread until after some sleep and other things so thought I would summarize in case anybody else wants to take it up.

 

The user may have mixed up parity and disk1 when reassigning disks. My plan was to try to get those disks reassigned correctly, then get disk1 disabled and try to rebuild it from parity.

 

But it may be that the disks were assigned correctly, and the real problem is just unmountable disk1, so checking the filesystem might work instead.

 

 

Can't this be fixed by removing the array settings?

Sent from my SM-A305F using Tapatalk

  • Community Expert

Click on disk1, set filesystem to xfs, then start array and post new diags.

  • Community Expert
5 hours ago, sheldz8 said:

Can't this be fixed by removing the array settings?

Depends on what you mean by "fixed". Do you not care about the data?

11 hours ago, trurl said:

Depends on what you mean by "fixed". Do you not care about the data?

Doesn't it just remove the array config instead of formatting? Everytime I reset my array config my data stays intact in the Cache and Array (I don't have parity drives)

  • Community Expert
1 hour ago, sheldz8 said:

Doesn't it just remove the array config instead of formatting? Everytime I reset my array config my data stays intact in the Cache and Array (I don't have parity drives)

Sorry, I didn't even notice that you weren't the OP when I replied before.

 

The OP does have parity and may have accidentally put a data disk in the parity slot and overwrote his data with parity for 50 minutes before noticing. How is resetting the array config going to fix that?

 

I guess I left that detail out of my summary.

 

6 hours ago, trurl said:

Sorry, I didn't even notice that you weren't the OP when I replied before.

 

The OP does have parity and may have accidentally put a data disk in the parity slot and overwrote his data with parity for 50 minutes before noticing. How is resetting the array config going to fix that?

 

I guess I left that detail out of my summary.

 

Yes, from your summary i read that it was unmountable and you wanted to get it reassigned correctly so when the array can't find the disk and a file system was assigned I usually just reset the array and reassign the disks correctly.

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.