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.

simple reboot, invalid configuration too many wrong and/or missing disks!

Featured Replies

I'm running brand new install UnRaid pro Version 6.12.6 2023-12-01.

This is a completely new install, I'm not concerned about data loss, but i am concerned why this happened. I was about 75% completed with parity sync, but wanted to reboot, not sure If I really needed to, but stopped the sync process then rebooted. Pretty simple right? When it came back up, low and behold the array was not running and I had the wrong disk issues as shown in the attached.  Even stranger the selected disk and the "wrong label" match exactly!

Everything looks fine. For those that will point to it being the usb flash I doubt there's anything wrong with it, It's a new Samsung 32 gig flash and the system shows no errors anywhere. But who knows?

So again, just trying to figure out how, a new install could ever have this happen after a simple reboot.

Thanks

-TD

WrongDrive.png

DashStatus.png

Solved by JorgeB

  • Author

Nothing at all, again brand new install. I left it run over night letting the parity drive sync. This morning it was about 75% complete. The only thing I did was install the RTL8152 Drivers, which I needed because my Realtek 2.5 USB  Nic was connecting at half duplex. It was working though and still is. Because it required a reboot to take effect, I did so. As I said I even took the step of pausing the parity sync. Doubt that should have mattered though. After the reboot, it was in the state shown.

My concern is how that happened, and what it even means? Why was it saying wrong drive but showing the right drive. In the end I just went to new config, I did say Preserve current assignments but that didn't help and even had to reformat them. I'm letting it run parity-sync once more take another day ...

I also rebooted right after and nothing broke, as a noob, it just makes me concerned that nothing really made sense here, its like it was complaining that the config was wrong when as far as I can tell it wasnt. Super strange that nothing shows up via the diag either.

 

  • Solution

Disks are "wrong" because the capacity changed, I suspect this is happening sometimes when the disks were already partitioned with a different starting sector, in this case 2048, since it's the only other starting sector Unraid accepts, and then when Unraid re-formats the disks for some reason they still use the old partition layout, possibly because it was still in RAM, and only after a reboot it starts using the new partition.

 

What we would need would be the diags pre-reboot, unfortunately the users only see the issue after a reboot, so unlikely they will have those diags.

 

 

            [id] => WDC_WD60EFRX-68L0BN1_WD-WXQ1H26VAJDZ
            [size] => 5860522532
            [status] => DISK_WRONG
            [sizeSb] => 5860521540

 

This is for disk1, size is the current size, sizeSb is the old one, what Unraid was expecting, note that:

 

2048 (old starting sector) -64 (current starting sector) =1984 / 2 (since each sector is 512B) = 992 + 5860521540 (old size) = 5860522532 (new size)

 

So this should not happen anymore after the first reboot, you'd just need to do a new config and re-format the disks.

 

Now, you mention you don't need the data, but if you can please try this, since it happened before to users who needed the data, and I have no way of reproducing this issue, try re-creating the old partitions with:

 

sgdisk -o -a 8 -n 1:1M:0 /dev/sdX

 

Replace X with correct disks 1 and 2 identifiers, then reboot again to make sure the new layout is used, or just try refreshing the main page, since a reboot should not be needed, the disks should no longer show "wrong", start the array and lease let me know is they still mount.

 

 

  • Author

> So this should not happen anymore after the first reboot, you'd just need to do a new config and re-format the disks.

Not sure if you saw that I did this already and as of this morning everything is up and running. I've rebooted twice once with the array started and not. All is working now.

Fortunately for me, all of this was brand new, no data yet,  so I had no data concerns, because looks like I would have lost data!

 

>Now, you mention you don't need the data, but if you can please try this, since it happened before to users who needed the data, and I have no way of reproducing this issue, try >re-creating the old partitions with: ...

>sgdisk -o -a 8 -n 1:1M:0 /dev/sdX

Would this ruin the good state i'm in now?

 

In recap me thinks this should be considered a bug? I mean considering while possibly an edge case, this should never happen, what can be done to make sure it doesn't?

Also, something should be done to show better what is wrong, in this case size, i.e: most are using TB+ drives and as shown, it looked the same(6Tb) and further say exactly what was wrong? Wrong size, Wrong UUID etc ...

 

For completeness, I'm attaching new diag as of this morning after successful parity-sync ...

 

More than happy to provide more info if helpful , but I think it may be too it late?

Thanks for at least providing a decent explanation of what happened, hopefully, something can be done in the future to prevent something like that. Maybe as a safety measure and before sync, and online of drives:  require a reboot first?

I will say that I'm impressed with this community support and responsiveness!

Thanks again, and let me know if I can give any more help on this.

-TD

 

 

 

 

 

AfterFullParitySync.png

tower-diagnostics-anon-20231226-0530.zip

1 hour ago, TDD_INDY said:

Would this ruin the good state i'm in now?

Most likely, and no point in doing it now.

 

1 hour ago, TDD_INDY said:

In recap me thinks this should be considered a bug? I mean considering while possibly an edge case, this should never happen, what can be done to make sure it doesn't?

Possibly, the problem is that it's very uncommon, and the 3 or 4 times I know of when it happened, the user doesn't have pre-reboot diags, so impossible for now to see what's actually going on.

 

Can you just confirm if the disks were used before, and if yes with what OS?

 

  • Author

one for sure was proxmox->debian / ext4, probably both.

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.