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.

Need help diagnosing issue with array, XFS_repair?

Featured Replies

Earlier today I had a 10TB drive fail out with multiple i/o write errors.  I had a larger 14TB drive on standby, parity drives are both 14TB, so I stopped the array, replaced the failed disk and started the array.  After doing this, I noticed that the new drive reported as unmountable, but not until after I had started the array in attempt to rebuild the failed disk.

 

So, I stopped the array, which may have been a mistake.  I attempted a few different things including starting the array again without a disk present and now it reads the failed disk, whose contents are supposedly emulated as unmountable.  I'm afraid to do anything further, because even with some googling I honestly don't know what I should do to troubleshoot this issue.  Also a bit frustrated because this same disk failed before, but with a different drive in its place.

 

I also clicked on the checkmark in unassigned devices next to the drive I tried to use as a replacement, and it started a file system check on that? so I guess it's going to do that for the next 20ish hours or so.  Anyways, any help would be appreciated.

syslog 5.14.25

Solved by trurl

  • Author

Done.  I currently have the array in maintenance mode with the new 14TB drive in the failed disks place, but I haven't restarted the sync/rebuild process on it.

tower-diagnostics-20250514-2006.zip

  • Author
6 minutes ago, trurl said:

Check filesystem on emulated disk13 from the webUI and post the output.

I went to Disk 13's settings per the instructions and clicked "Check" under Check Filesystem Status, however, Unraid seems hung up.  Is it normally supposed to take a while for anything to happen after clicking that button?

  • Community Expert

Did you get any output at all?

  • Author
3 minutes ago, trurl said:

Did you get any output at all?

No, it's still showing the loading icon.

  • Author

Alright, I refreshed the page after waiting a while and this is what's displayed:

Screenshot 2025-05-14 224556 check file system.png

 

This is checking the file system on the emulated disk and not the new drive I put in the failed disks place correct?

Edited by chris206

  • Author
9 hours ago, chris206 said:

Alright, I refreshed the page after waiting a while and this is what's displayed:

Screenshot 2025-05-14 224556 check file system.png

 

This is checking the file system on the emulated disk and not the new drive I put in the failed disks place correct?

Sadly this is still running on the disk, should I cancel the process?  It's been roughly 11 hours without any apparent progress.

  • Community Expert

If it hasn't found a backup superblock by now, it won't, upgrade to 7.1.2, and try again, since it has newer xfs progs, if the same, the best bet is to restore from the old disk, or a backup, or use a file recovery app like UFS explorer.

  • Author
2 hours ago, JorgeB said:

If it hasn't found a backup superblock by now, it won't, upgrade to 7.1.2, and try again, since it has newer xfs progs, if the same, the best bet is to restore from the old disk, or a backup, or use a file recovery app like UFS explorer.

Alright, I cancelled the check, but that seemed to hang on something.  So, I went and stopped the array and got two errors regarding the drive being busy.  It won't even let me take the drive out of the array.  How can I see what process is accessing the drive and stop it?  The server had been in maintenance mode.

 

Edit:  It also says the array is started and it seemingly won't let me do anything...

Edited by chris206

  • Community Expert

Type reboot in the CLI, if it doesn't reboot in 5 minutes, you will need to force, but since the array was in maintenance mode, there shouldn't be any issues.

  • Author

Rebooting from the CLI worked.  However, this brought in a whole new host of issues...

 

Server booted seemingly normally, found the disks and then it started freaking out over a drive that failed previously, but was only in unassigned devices.  Now, it seems every drive has been dropped out of the array and there are issues with my HBA card?  :'(

 

Edit: no drives are detected and LED lights on the card are off...

 

Screenshot 2025-05-15 120052 raid card dead.png

tower-syslog-20250515-1659.zip

Edited by chris206

  • Community Expert
16 hours ago, trurl said:

Attach Diagnostics ZIP to your NEXT post in this thread. 

 

  • Author

I may have screwed myself further.  Rebooted and it's taking a while to come back...

 

Edit: the LEDs on the card are back and are active, but no idea how to read them...

Update: server came back up, recognized the drives and it's attempting to read that disk again.  I have a feeling I need to shutdown and remove it entirely before moving forward.

 

Update 2: It went through the same pattern, so I've shutdown and plan to remove the offending disk and will try to work from there.  I should've removed it over a month ago in hindsight...

tower-diagnostics-20250515-1210.zip

Edited by chris206

  • Author

Alright, offending disk removed, server seems to be stable now, array not started.

 

Here's where I'm at:

 

The original disk that started this all with read errors remains in unassigned devices (sds).

I have the replacement disk that highlighted filesystem errors in Disk 13's place.  This disk seemed to have issues with its format previously?  I'm not entirely sure, that information should be in the original syslog and/or diagnostics.

I have NOT updated to 7.1.2, still on 7.0.1

 

Should I proceed with updating as previously instructed or do other things first?

tower-diagnostics-20250515-1247.zip

  • Community Expert

The old disk13 looks OK, see if it mounts with the UD plugin.

  • Author

Attempted it twice, both times seemed to fail, do I need to remove the replacement drive first? 

 

Edit: attached full diagnostics to this post.

 

tower-diagnostics-20250515-1504.zip

Edited by chris206

  • Community Expert

Disk is 4Kn, try this:

 

mkdir /x
mount -t xfs -o offset=0 /dev/sds1 /x

 

If it works, browse /x to confirm all goods good, then unmount with

 

unmount /x

 

  • Author
10 hours ago, JorgeB said:

Disk is 4Kn, try this:

 

mkdir /x
mount -t xfs -o offset=0 /dev/sds1 /x

 

If it works, browse /x to confirm all goods good, then unmount with

 

unmount /x

 

 

So, I tried this, but I'm a bit uncertain about what I should be looking for?  I used the webterminal to enter the first two commands, but as far as browsing the created directory, assuming it mounted, I type "browse /x" into the same terminal?  Or do I need to have the array started in maintenance mode before doing any of this?

tower-diagnostics-20250516-1147.zip

Edited by chris206

  • Community Expert

I meant browse using your favorite tool, or the CLI, post the output from

 

ls -l /x

 

  • Author
5 minutes ago, JorgeB said:

I meant browse using your favorite tool, or the CLI, post the output from

 

ls -l /x

 

 

Ah sorry, if it's not already obvious, I'm quite inexperienced with using linux at this level.

 

 

Output:

Quote

total 0
drwxrwxrwx 3 nobody users 31 Jun 30  2024 backups/
drwxrwxrwx 5 nobody users 72 Aug  5  2022 media/
drwxrwxrwx 5 nobody users 58 Feb 18  2022 private/

 

Those seem to be the correct folders for the drive.

  • Community Expert

If you want to browse it more, you can use midnight commander for example, mc on the console, then got to /x and you can enter all the folders, but all should be there.

 

Don't forget to unmount when you are done:

 

unmount /x

 

You can then do a new config and use the old disk instead, then resync parity., or since it should be mostly valid, check "parity is already valid" and run a correcting check.

 

Any doubts please ask.

  • Author
1 minute ago, JorgeB said:

If you want to browse it more, you can use midnight commander for example, mc on the console, then got to /x and you can enter all the folders, but all should be there.

 

Don't forget to unmount when you are done:

 

unmount /x

 

You can then do a new config and use the old disk instead, then resync parity., or since it should be mostly valid, check "parity is already valid" and run a correcting check.

 

Any doubts please ask.

 

By new config, you mean placing it back into the array where it was originally?  As for parity checking, I should start the array in maintenance mode and run a check through the CLI?  If I can check parity before doing corrections I would probably prefer that.

 

Also thanks, I greatly appreciate the help I've received.

 

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.