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.

Half of the shares missing after data rebuild

Featured Replies

  1. I had Disk1 fail and after before I could replace it Disk2 failed (I had some power loss).
  2. I knew that those two disks were good so I swapped them, did data rebuild and all the files were there.
  3. But the next day, after parity check had completed there were ton of errors and half of the shares are missing now (they were on that first failed disk) and Disk1 was marked failed again.
  4. I replaced Disk1 with a new one, did a data rebuild and half the shared folders were not there.

 

Doing restart is not bringing the shares back and I have not run a full parity check yet..

 

My unRaid tries to do a parity check again, but I stoped it (2 minutes produced already 6 errors).

The unRaid seems to hang after some time (CPU usage is high).

 

I'd be very thankful if some expert can tell me how should I get my shares back..

nassu-diagnostics-20240908-0850.zip

Solved by JorgeB

  • Community Expert
5 hours ago, vanarebane said:

I knew that those two disks were good so I swapped them

Does this mean you didn't replace and rebuild the disks? The diags are after a reboot, so we can't see what happened, except that parity is not in sync.

At any point did the drives come up as uncountable and you formatted them?

  • Author
20 hours ago, JorgeB said:

Does this mean you didn't replace and rebuild the disks? The diags are after a reboot, so we can't see what happened, except that parity is not in sync.

The unRaid was hanging on diagnostic export before restart, so could not get diagnostic on before. I did rebuild disks and I believe the disks failed after parity check (does parity check fail disks also?). 

 

The one thing I have not done since the shares have gone missing is parity check. Perhaps it needs to check parity and rebuild some errors for the shares to reappear? Also trying to run Array in any normal way will run CPU in max and any action like stopping array takes forever.

 

The missing shares were stored on only Disk1 also (and I have the previous disk, so worst-case I can maybe try recovering that disk in some other machine).

 

14 hours ago, Squid said:

At any point did the drives come up as uncountable and you formatted them?

I have not formatted any disks unbeknownst. I have done rebuilds few times in the past successfully so I'm somewhat familiar with the procedure. 

 

--

I managed to boot unRaid to safe mode (without hanging on some mounting process) and I'm running parity check ATM.

Edited by vanarebane

  • Community Expert

It's difficult to guess without the diags, but possibly there were errors during the rebuild resulting in corrupt rebuild(s), do you still have the old disks?

  • 5 months later...
  • Author

I managed to get new drives now to start to fix this problem, but I don't seem to get Disk 2 to mount.

image.thumb.png.615d327f5d3457d85458b0cdf98afda6.png

 

Things I have tried:

  1. I tried already replacing the disk - rebuilding in maintenance mode and when done, the error came back when trying to mount.
  2. Replacing the SATA cable - I have the disk on a backplane, changing the SATA cable and the problem is same.
  3. Swapping the Disk2 in the backplane with Disk4 - there is still the same problem with Disk2. If the backplane was bad, the problem should have had to move to Disk4.
  4. When removing the Disk2 and trying to start the Array - still the Disk2 mounting issue.

 

I'm also adding the diagnostics. I was now able to download the diagnostics with unRaid 7.0. 

nassu-diagnostics-20250226-1259.zip

Edited by vanarebane

  • Community Expert

With the array stopped, post the output from:

 

zpool import

 

  • Author

Here is the output:

 

   pool: disk2
     id: 3587262688972901823
  state: ONLINE
status: Some supported features are not enabled on the pool.
        (Note that they may be intentionally disabled if the
        'compatibility' property is set.)
 action: The pool can be imported using its name or numeric identifier, though
        some features will not be available without an explicit 'zpool upgrade'.
 config:

        disk2       ONLINE
          sdg1      ONLINE

   pool: disk4
     id: 8692533118460009384
  state: ONLINE
status: Some supported features are not enabled on the pool.
        (Note that they may be intentionally disabled if the
        'compatibility' property is set.)
 action: The pool can be imported using its name or numeric identifier, though
        some features will not be available without an explicit 'zpool upgrade'.
 config:

        disk4       ONLINE
          sdh1      ONLINE

   pool: disk3
     id: 7081443555122238920
  state: ONLINE
status: Some supported features are not enabled on the pool.
        (Note that they may be intentionally disabled if the
        'compatibility' property is set.)
 action: The pool can be imported using its name or numeric identifier, though
        some features will not be available without an explicit 'zpool upgrade'.
 config:

        disk3       ONLINE
          sde1      ONLINE
  • Community Expert

Now try 

zpool import disk2

 

  • Author

I have currently a rebuild pending. Would this affect it somehow?

root@Nassu:~# zpool import disk2
cannot import 'disk2': insufficient replicas
        Destroy and re-create the pool from
        a backup source.

 

  • Community Expert

Is the array stopped? And did you try rebuilding on top of the old disk, or is this a new disk?

  • Author

Yes, the array is stopped. I have previously rebuilt on top of old disk and the problems started then. Now I'm going to try to rebuild on a one-new disk. Should I build the array in maintenance mode before zpool import disk2?

  • Community Expert

Rebuilding to a new disk will be the same, if you don't have the old disk, disk2 may be lost.

 

Start the array in maintenance mode and try:

 

zpool import -o readonly=on disk2

 

  • Author

Thanks so far for the help!

 

in safe-mode

As I ran it first, it cave no response. Trying to start the array, the issue was the same.

I tried running the command couple times and I finally got this:

root@Nassu:~# zpool import -o readonly=on disk2
root@Nassu:~# zpool import -o readonly=on disk2
cannot import 'disk2': a pool with that name already exists
use the form 'zpool import <pool | id> <newpool>' to give it a new name
root@Nassu:~# 

 

When I reboot normally then unRaid still can't mount disk2

  • Community Expert
  • Solution

It worked the first time, hence the error when you tried the 2nd one, the data should be under /mnt/disk2, but it will need to be copied to another disk/pool, since it only works in read only mode.

  • Author

Sorry for late reply, Right! it took me some time to understand what you meant.

Yes, I can see the mnt/disk2 in the console and there are my files. I'll try to find some way to copy the files off this disk to something external. As there is no FTP in safe-mode, I'm going to try attaching a USB drive and mounting it.

 

Thanks for all the help so far. I'll write if I manage to rescue the files.

 

BTW, is there a way to fix my array instead of rebuilding it?

Edited by vanarebane

  • Author

@JorgeB Many thanks! I managed to get somehow the existing array to mount. Unfortunately I lost some files as I don't know where those got lost.

 

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.