Parity drive disabled


Recommended Posts

Cloning disks with poor health is better handled by ddrescue instead of dd, it's purpose built to get every last bit of good data transferred to a new drive.

 

Problem is, this is going to be a lengthy process to get to a point where we even know IF we can get anything usable with parity emulation.

 

Earlier in the thread there was a sense of urgency about getting the server up and running regardless of data loss on some of the drives. Where are we on the balance of time vs value of all array drive data? Is there another PC available other than the server available to work on data rescue? Maybe pull all the current parity array drives out, add the 14TB as disk1, put the cache pool back, and work from there?

Link to comment

The 14TB has a lot of other backups on, some of which have been transferred to the array and some haven't, so I'd rather keep that aside for now. It was my intention to eventually use it for parity, so that I can put whichever size disks I like in the array.

 

I have a 3TB WD Red arriving tomorrow, so it's kind of sounding like maybe ddrescue from a manually mounted disk4 -> new disk, then replace that in the array and try to start it? 

Link to comment
6 minutes ago, banterer said:

Can I use the 'old' disk4?

We are going to disable it immediately anyway, so you could do that and we can see if the rest of the array can emulate disk3. If we can get disk3 emulated and mountable, we could even copy its data.

 

Instead of doing all the instructions at once, let's take this a little at a time and check how things are progressing along the way.

 

Tools - New Config, Retain All, Apply.

 

Assign clone as disk4, assign former disk4 as disk3. Don't do anything else until further instructions.

 

Then post a screenshot of Main - Array Devices.

Link to comment
15 hours ago, trurl said:

...

Tools - New Config, Retain All, Apply.

 

Assign clone as disk4, assign former disk4 as disk3. Don't do anything else until further instructions.

 

Then post a screenshot of Main - Array Devices.

 

Argh, just realised it didn't complete, I think. I'm guessing my Mac went to sleep and it dropped the terminal connection. I guess that this would stop the process? And that the only way forward will be to do it again and disable all sleep / screensavers etc etc...

1432800122_Screenshot2023-02-18at11_54_23.thumb.png.11ad5ef125e1ac44bc7228c278724d58.png

Link to comment

Ok, finished. So the results of ddrescue look good to me?! 

ddrescue -f /dev/sdh /dev/sdg /boot/ddrescue.log
GNU ddrescue 1.26
Press Ctrl-C to interrupt
Initial status (read from mapfile)
rescued: 2544 GB, tried: 356352 B, bad-sector: 0 B, bad areas: 0

Current status
     ipos:    3000 GB, non-trimmed:   356352 B,  current rate:  95813 kB/s
     opos:    3000 GB, non-scraped:        0 B,  average rate:  41779 kB/s
non-tried:  300154 kB,  bad-sector:        0 B,    error rate:       0 B/s
  rescued:    3000 GB,   bad areas:        0,        run time:  3h  1m 48s
pct rescued:   99.98%, read errors:        0,  remaining time:          4s
                              time since last successful read:          0s
Copying non-tried blocks... Pass 1 (forwards)
     ipos:    1342 GB, non-trimmed:   667648 B,  current rate:     455 B/s
     opos:    1342 GB, non-scraped:        0 B,  average rate:  40229 kB/s
non-tried:   65732 kB,  bad-sector:        0 B,    error rate:    6826 B/s
  rescued:    3000 GB,   bad areas:        0,        run time:  3h  8m 56s
pct rescued:   99.99%, read errors:        6,  remaining time:         41s
                              time since last successful read:          0s
Copying non-tried blocks... Pass 2 (backwards)
     ipos:    1342 GB, non-trimmed:   823296 B,  current rate:    3218 B/s
     opos:    1342 GB, non-scraped:        0 B,  average rate:  39713 kB/s
non-tried:   46333 kB,  bad-sector:        0 B,    error rate:    1462 B/s
  rescued:    3000 GB,   bad areas:        0,        run time:  3h 11m 24s
pct rescued:   99.99%, read errors:       10,  remaining time:          3m
                              time since last successful read:          0s
Copying non-tried blocks... Pass 4 (backwards)
     ipos:    2108 GB, non-trimmed:    1998 kB,  current rate:   1048 kB/s
     opos:    2108 GB, non-scraped:        0 B,  average rate:  38653 kB/s
non-tried:        0 B,  bad-sector:        0 B,    error rate:       0 B/s
  rescued:    3000 GB,   bad areas:        0,        run time:  3h 16m 40s
pct rescued:   99.99%, read errors:       35,  remaining time:          5s
                              time since last successful read:          0s
Copying non-tried blocks... Pass 5 (forwards)
     ipos:    2109 GB, non-trimmed:        0 B,  current rate:   19114 B/s
     opos:    2109 GB, non-scraped:   785408 B,  average rate:  37667 kB/s
non-tried:        0 B,  bad-sector:    34304 B,    error rate:     170 B/s
  rescued:    3000 GB,   bad areas:       67,        run time:  3h 21m 49s
pct rescued:   99.99%, read errors:      102,  remaining time:      2m 11s
                              time since last successful read:          0s
Trimming failed blocks... (forwards)
     ipos:    2109 GB, non-trimmed:        0 B,  current rate:       0 B/s
     opos:    2109 GB, non-scraped:        0 B,  average rate:  29828 kB/s
non-tried:        0 B,  bad-sector:   466944 B,    error rate:       0 B/s
  rescued:    3000 GB,   bad areas:      100,        run time:  4h 14m 50s
pct rescued:   99.99%, read errors:      947,  remaining time:          0s
                              time since last successful read:         15s
Scraping failed blocks... (forwards)
Finished

 

And here's my 'main' tab. with the old disk4 (sdh) in slot 3, and the new cloned disk4 (sdg) in slot 4

 

Screenshot 2023-02-18 at 18.37.38.png

Link to comment

I don't seem to have any diagnostics with that clone in it, but all other assignments look like what we want so I assume that one is OK too.

 

Going forward, I will refer to these disks according to their new assignments.

 

In Main - Array Operation, check BOTH parity valid and maintenance mode boxes, then start the array. This will accept all the disks as assigned into a new array without actually trying to access or change any of the disk contents.

 

Then, stop the array, unassign disk3, start the array with disk3 unassigned. This will disable disk3 and emulate it from the rest of the array.

 

Then, post a screenshot of Main - Array Devices and new diagnostics.

Link to comment
5 minutes ago, trurl said:

You really should disable Docker and VM Manager in Settings until you get your array stable again.

 

Your bad parity disk is causing problems of its own, and it needs to cooperate in order to make any progress with disk3.

 

Maybe time to ddrescue that one too.

Ugh, really the best option? If so I'll have to order another one. The irony being I got unraid so I could make use of all the different size disks I have, but I keep running out of 3TB ones ;)

 

 

So two questions I guess:

1. Is there any way to use a different size disk than 3TB to ddrescue parity onto?

2. I've disabled docker and VMs, can we get any idea whether it's worth buying another drive (ie the pros and cons of sticking with parity as is, or not)?

 

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.