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.

UnRAID completely broken after running docker safe new permissions.[SOLVED]

Featured Replies

  • Community Expert

To jump ahead a bit to the disposition of the failing and unmountable disk1. I think we were planning to use a new 10TB for parity and reuse the current 8TB parity as data. Could that 8TB be the target for ddrescue? If so, would it be better to have the 8TB already in the array or out? Or some other plan?

  • Replies 100
  • Views 10.1k
  • Created
  • Last Reply
  • Community Expert

If using ddrescue the destination disk should be outside the array, source disk can be in if the clone is done with the array stopped.

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

If using ddrescue the destination disk should be outside the array, source disk can be in if the clone is done with the array stopped.

OK. Well I don't see any point in having disk1 (the source) in the array since the array isn't protected currently and we shouldn't rebuild parity with the bad disk1 in the array. So might as well have both source and destination out of the array. After fixing the filesystem on the clone, will we be able to use it in the array with its data intact? If so I assume that would be a New Config and parity resync.

  • Community Expert
Just now, trurl said:

After fixing the filesystem on the clone, will we be able to use it in the array with its data intact? If so I assume that would be a New Config and parity resync.

Yes, as long as xfs_repair can repair the filesystem.

  • Community Expert

After he gets disk2 copied off we could New Config without disks 1,2,3, but with the new 10TB parity and the still OK disks 4,5 in whatever slots.

 

Or we could just wait until after the cloning and repair of disk1 filesystem before getting parity synced again, but that would mean leaving the other disks unprotected while working on the disk1 problem. Certainly not as big a risk as he has been operating at.

  • Community Expert
31 minutes ago, trurl said:

Or we could just wait until after the cloning and repair of disk1 filesystem before getting parity synced again

This would be simplest and fastest, and shouldn't be any risk at all if the array isn't written to or even started.

  • Author

Copying disk2 has been a pain so far. Getting a lot more errors than I was with disk3, ironically. It's slow going. I'll update when it's done.

  • Author
On 11/29/2018 at 8:59 AM, trurl said:

we could just wait until after the cloning and repair of disk1 filesystem before getting parity synced again

Which disk should I clone disk1 to?

  • Community Expert
1 hour ago, Pyro said:

Which disk should I clone disk1 to?

Any unused new disk, outside the array, same or larger capacity.

  • Author

The only new disk I have outside of the array right now is the 10tb that I'm planning to make into the new parity disk. Will that cause issues later since it's bigger than the 8tb parity currently?

 

Are there any negative side effects to trying xfs_repair and failing?

 

I'm a little nervous about this part.

  • Community Expert

You should use the 8TB parity for the clone. Your parity isn't very useful right now, and you will be resetting your disk assignments and building parity from scratch on the 10TB.

  • Community Expert

One thing I forgot to mention, while there's no problem using a larger disk as destination for ddrescue, that disk won't mount in the array, because the partition won't be using the full disk, but you can mount it with for example UD and copy the data to the array.

  • Community Expert
4 hours ago, johnnie.black said:

One thing I forgot to mention, while there's no problem using a larger disk as destination for ddrescue, that disk won't mount in the array, because the partition won't be using the full disk, but you can mount it with for example UD and copy the data to the array.

In that case maybe he should clone to the 10, use the 8 in the array to copy the cloned data and copy back the data already copied to his PC from disks 2,3, then New Config with the 10 as parity.

  • Community Expert
1 minute ago, trurl said:

In that case maybe he should clone to the 10, use the 8 in the array to copy the cloned data and the backed up disks 2,3, then New Config with the 10 as parity.

Yes, probably the best and easiest way.

  • Author

I cloned disk 1 to the 8tb overnight. After I run xfs_repair, can I use UD to copy to my desktop? I think I might have enough room for that.

  • Community Expert

Yes, xfs_repair needs to be run on /dev/sdX1 note the 1 in the end.

  • Author

image.thumb.png.1cc285ac96473372425650296e9a204b.png

 

If I'm understanding the unraid xfs_repair wiki correctly, I should start the array in maintinance mode (screenshot) and type this into the terminal:

xfs_repair -v /dev/dse1

Is this correct?

I do apologize for the pile of questions, I'm a novice at best and don't want to screw anything up even more.

11 minutes ago, Pyro said:

Is this correct?

No. There is no such thing as /dev/dse1 - you have mistyped. Also /dev/sde is your parity disk so that isn't right either. Look under the Unassigned Devices section that you cut off in your screen grab to find the correct device. It's probably /dev/sdb1 but I can't see it so I can't be sure.

 

Edited by John_M

  • Community Expert
17 minutes ago, Pyro said:

I should start the array in maintinance mode

No need since the disk is unassigned, it just can't be mounted in UD, and like John_M mentioned check there for the correct identifier.

  • Author

Ok, so sde is my (currently useless) parity, but it's also the disk I cloned sdf to. I should have the array stopped, and run:

xfs_repair -v /dev/sde1

Am I getting closer?

sdb is the 10tb that will become my new parity, but it's unformatted.

Edited by Pyro
derp

1 hour ago, Pyro said:

Ok, so sde is my (currently useless) parity, but it's also the disk I cloned sdf to.

You didn't unassign it from the parity slot before cloning onto it?

 

On 12/1/2018 at 12:06 AM, johnnie.black said:

Any unused new disk, outside the array, same or larger capacity.

The concern I have is that your screenshot shows 7 writes to it, which will have added to the corruption. Stop the array and unassign it.

 

Otherwise, you have the xfs_repair command correct. You might want to consider re-doing the clone, but you might as well run xfs_repair first and see if it allows you to mount the disk in Unassigned Devices.

  • Author

Alright, I guess I'll go ahead and clone disk 1 again to sdb 10tb since sde is likely to fail anyways.

Yes, do that but leave sde untouched for now in case the old disk 1 fails completely during the cloning process. You might be able to get something off of it if all else fails.

  • Author

Uh... It happened instantly? This seems off. What did I screw up?

IMG_20181202_131129.jpg

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.