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.

Trying to resore array after accidentally unassinging all mu drives!

Featured Replies

  • Community Expert

You need to remove -n or nothing will be done, and if asked use -L.

  • Author

so just do -v
sorry just like to clarify to prevent further data loss.

  • Author

Disk1

Quote

Phase 1 - find and verify superblock... - block cache size set to 1496680 entries Phase 2 - using internal log - zero log... zero_log: head block 3466131 tail block 3425645 ERROR: The filesystem has valuable metadata changes in a log which needs to be replayed. Mount the filesystem to replay the log, and unmount it before re-running xfs_repair. If you are unable to mount the filesystem, then use the -L option to destroy the log and attempt a repair. Note that destroying the log may cause corruption -- please attempt a mount of the filesystem before doing this.

Disk3

Quote

Phase 1 - find and verify superblock... - block cache size set to 1504136 entries Phase 2 - using internal log - zero log... zero_log: head block 1594967 tail block 1594963 ERROR: The filesystem has valuable metadata changes in a log which needs to be replayed. Mount the filesystem to replay the log, and unmount it before re-running xfs_repair. If you are unable to mount the filesystem, then use the -L option to destroy the log and attempt a repair. Note that destroying the log may cause corruption -- please attempt a mount of the filesystem before doing this.

 

So both disks are still showing Unmountable: No file system 

so I do run the -L now correct?

  • Community Expert
11 hours ago, Acps said:

so I do run the -L now correct?

Yes

  • Author

Ok so that was a success, Disks 1 and 3 are now mounted with their data recovered. The array is without disk 2 which failed and needs to be replaced, that data is definitely gone, or should i just remove the disk and install my replacement drive? Or should i do a parity check first?

  • Community Expert

You can still try ddrescue on old disk2, but don't connect it to the SASLP or there's a high probability the driver will crash.

  • Author

Ok i have room on my motherboard controller for a slot. Do i do a parity check or just replace disk2 with new drive and assign to slot 2 and rebuild?

  • Community Expert

You can't currently rebuild disk2 since there's no disk assigned, you can add a new disk to that slot and it will be cleared first before it can be used, but since parity is invalid because disk2 wasn't assigned you'll need to sync it, and because many errors are expected it would be faster just to do a new parity sync, so might as well add disk2 at the same time, the procedure would be like this:

 

-stop the array

-unassign both parity disks

-start array

-stop array

-assign new disk2

-start array, if disk2 is new it will be unmountable, format it (make sure it's the only unmountable disk)

-stop array

-re-assign both parity disks

-start array to begin parity sync

 

Any doubts ask first.

  • 4 weeks later...
  • Author

so iv found out that a 5tb isnt very common and much more expensive. I can get 8tb dribes for the same price. Now i know the parity has to be the largest disk, but my question is will i need 2 8tb for dual parity, then i could use the 2 5tb drives as data drives till i update them at a later time for 8tb?

  • Community Expert

Unraid requires that each parity drive has to be as-large-as or larger than the largest data drive.  So if your largest data drive is 5TB, both parity drives would have be at least 5TB drives.  (Either one or both drives could be larger.) 

 

This would mean that if 5TB drive was your largest data drive, you could have an 8TB drive and 5TB drive as parity drives and Unraid would be happy.

  • Community Expert

Not sure how I missed all this excitement. I'm curious though about the outcome. Why was there nearly a month after johnnie's last instruction and OPs next post? Did you get your array going again? I assume disk2 data was lost. User error is the most common cause of data loss.

  • Author

Yea  i was able to recover everything but disk 2 with jonnys help. It was definately my fault, i was clicking stuff i didnt understand. Its been a few weeks, cause after i got rest of the array back up i turned off my server for the holidays and was out of town. I was about to order just another 5tb but 8th are the same price right now at 150$ so was gonna upgrade. My case setup can olny ohld 2 parity and 6 data disks, so if i want to add room now i need bigger disks without making a bunch of other changes.

 

I do need to replace my raid controller card tho, ive been told it has alot of issues with unraid so i might do that to avoid future issues too.

  • Community Expert

On the subject of backups. My server has 28TB capacity. I have 4 x 2TB disks formatted NTFS so I can easily read them on Windows. After my monthly parity check, and my monthly desktop image, I mount the "oldest" disk in the rotation with Unassigned Devices to backup those things I consider important and/or irreplaceable. It all fits onto a single 2TB disk. I store the 2 most recent offsite.

 

The rest of my server contents I don't worry about, it isn't important enough and can be probably be replaced if I care to.

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.