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.

[SOLVED] Drive failed during rebuild for a drive I upgraded

Featured Replies

Solved by JorgeB

Click FIX, and it it asks to zero the log also click that, then restart the array and post new diags.

  • Replies 57
  • Views 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

Posted Images

Array started in normal mode, please, or we cannot see if the disks are mounting.

Emulated disk2 is mounted now, and repair didn't create any lost+found, so that's a good sign.

Disk3 isn't mounting as before, I'm not sure what @JorgeB had in mind for that

22 hours ago, JorgeB said:

disk3 is also not mounting due to a different problem, but let's ignore that for now

I notice disk1 has very little data, mostly just appdata and system shares. Is that expected?

  • Author

1 minute ago, trurl said:

I notice disk1 has very little data, mostly just appdata and system shares. Is that expected?

Yes that is expected.

Disk3 appears to have a smaller partition than it should; we can try to fix that in the end, but first I would recommend rebuilding disk2 to a new disk, assuming the contents of the emulated disk looks OK, don't recommend using the 1.5TB you were trying to use before, as that disk is failing SMART.

  • Author
21 minutes ago, JorgeB said:

don't recommend using the 1.5TB you were trying to use before, as that disk is failing SMART.

That means it might take another few days until I get a replacement drive. I'll update you guys again when I rebuild disk2 to another disk.

Ok, now for disk3, which xfs is expecting a partition larger than the current one, possibly larger than the actual disk, and if it's the latter, it would require rebuilding to a larger disk, but first, with the array stopped, post the output from

fdisk -l /dev/sdc

  • Author

image.png

  • Author

I just looked at the screenshot again - it seems like the disk is 232.89GB and the partition is 232.9? If I have to rebuild into another disk, I'm ready with a replacement drive (it's an SSD and I know that's not perfect but im working with what I have)

The partition size is correct, but XFS is expecting a partition for a 1.5TB disk, not sure how that happened, but it's likely something you did before.

I see two main options

  • Rebuild the disk to a new 1.5TB or larger disk, it should then mount

  • use a file recovery app like UFS Explorer; it should be able to recover the data, then reformat the disk.

  • Author
2 hours ago, JorgeB said:

The partition size is correct, but XFS is expecting a partition for a 1.5TB disk, not sure how that happened, but it's likely something you did before.

I can absolutely see how it happened - I interrupted the rebuild to the larger 1.5TB disk and that probably left xfs in a confused state. I'll use UFS Explorer to transfer the data to another disk and reformat the 250GB one.

Yeah, but when you did the new config with the old disk, it should have kept the original size, so something is missing.

  • Author

UFS Explorer has trouble exploring the drive to recover the files, the only thing left is file recovery which I did and there were... 0 files from the ones on the server. Is it possible this drive was just empty with folders? I certainly don't believe it was

1 hour ago, peterpeter said:

Is it possible this drive was just empty with folders? I certainly don't believe it was

Certainly possible, since the drive was minimal and the default Unraid allocation method (high-water) would only use it if the other ones would be basically full.

  • Author

I just noticed the "Immich" folder isn't there. I have backups for the things in the other folders which I can transfer back to the server. Should I start the array, explore the drives and immich to see if any files are missing?

  • Author
1 minute ago, JorgeB said:

Certainly possible, since the drive was minimal and the default Unraid allocation method (high-water) would only use it if the other ones would be basically full.

I remember transferring things to the drive when I had to shrink the array once, it is very possible it is some small files that I can probably find somewhere else.

You can always rebuild it to a larger drive, and that should fix the mounting issue, but if UFS explore didn't find anything, I'm not sure there's actual data there.

  • Author
Just now, peterpeter said:

I remember transferring things to the drive when I had to shrink the array once, it is very possible it is some small files that I can probably find somewhere else.

but now when I think about it - all of my files were ~500GB in space. I used high-water in Unbalanced where I split my data between a 1TB Drive (the failed one) and this 250GB one. From that I can assume that most (if not all) files are still there and I can find them somewhere else.

Using "scan for lost data" doesn't find anything meaningful in those files which must mean that whatever this drive had - it was not on the server.

  • Author
1 minute ago, JorgeB said:

You can always rebuild it to a larger drive

Sadly I don't have any disposable 1.5TB or bigger drives around here

  • Author

Do I just format the drive at this point? I found a backup for the things on the drive.

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.