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.

One disk failed → two array disks suddenly in unassigned devices → now two disks failed (one spare available, dual-parity)

Featured Replies

Hi,

I have a twelve disk array with dual parity (14 disks in total), plus two caches (2 TB and 525 GB). The two parity drives are 8 TB each, disks in the array are a mix of sizes up to that capacity.

I had one relatively old 1 TB disk fail a few days ago, ordered an 8 TB replacement which arrived today.

I then did the following steps:

  • removed the failed 1 TB disk (disk2) from the server

  • removed another failed 4 TB disk from the server (this one failed months ago and had been replaced by a disk in another bay, I just forgot to remove it originally)

  • ran "Force Smart + DB" in the Disk Location plugin, added locations for three new disks I had added/replaced a few months ago but forgot to update in Disk Location

  • added the new 8 TB drive into the original slot of the failed 1 TB disk

  • ran "Force Smart + DB" in the Disk Location plugin again, as I was prompted

Was about to start to pre-clear the new disk, when I noticed a total of three unassigned devices on the dashboard - the new 8TB Seagate disk I was about to pre-clear and two disks that are also part of the array. Those still showed up in the array, but were also shown here, using different device designators (disk9 as sdj and disk 12 as sdn in the array, but as sdk and sdt in unassigned devices).

I stopped the array, set disk2 to empty (I planned on replacing disk2 with the new 8 TB drive after pre-clearing and rebuilding the contents there) and noticed that disk12 now also was disabled. I left the failed disk in the disk12 slot for now and restarted the array. The array right now is running but obviously is fully depending on the two parity disks it seems. Maybe this was just some sort of controller snafu that re-initialized the disks?

Besides not understanding what happened with the disks getting new device designations I am somewhat nervous about the state of my array right now. It is working for now and all data seems to be there.

I plan on preclearing the new disk and replacing the original failed disk with it, then getting another new drive ASAP and replacing the reportedly failed other disk (I believe this is one of the newer ones I got a few months ago, so I should be able to RMA it). Can I easily copy the contents off the emulated disks, or should I leave anything as is? The Unbalanced plugin shows disks 2 and 12 as empty right now, but I guess it bypasses the array layer?

Addition info:

  • Case/backplanes: Inter-Tech IPC 4U-4724

  • Controller: Broadcom SAS 9305-24i

  • Cables: SilverStone CPS06, Slimline miniSAS HD SFF-8643 to miniSAS SFF-8087

View of the array with the three unassigned devices:

001.png

View of the array now:

002.png

diagnostics-20251104-1138.zip

Edited by Darkguy

  • Darkguy changed the title to One disk failed → two array disks suddenly in unassigned devices → now two disks failed (one spare available, dual-parity)
  • Community Expert

Disks dropped offline; it was right after spin up, so if it happens again to those disks, it may be worth disabling it, or trying a different controller.

For now, reboot the server and post new diags after array start.

  • Author

I put the array in maintenance mode, ran the XFS Check on disk12 with this output:

Phase 1 - find and verify superblock...

bad primary superblock - bad CRC in superblock !!!

attempting to find secondary superblock...

.found candidate secondary superblock...

verified secondary superblock...

writing modified primary superblock

sb root inode value 18446744073709551615 (NULLFSINO) inconsistent with calculated value 128

resetting superblock root inode pointer to 128

sb realtime bitmap inode value 18446744073709551615 (NULLFSINO) inconsistent with calculated value 129

resetting superblock realtime bitmap inode pointer to 129

sb realtime summary inode value 18446744073709551615 (NULLFSINO) inconsistent with calculated value 130

resetting superblock realtime summary inode pointer to 130

Phase 2 - using internal log

- zero log...

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 the filesystem is a snapshot of a mounted

filesystem, you may need to give mount the nouuid option. 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.

XFS check on disk2 with this output:

Phase 1 - find and verify superblock...

bad primary superblock - bad CRC in superblock !!!

attempting to find secondary superblock...

.found candidate secondary superblock...

verified secondary superblock...

writing modified primary superblock

sb realtime bitmap inode value 18446744073709551615 (NULLFSINO) inconsistent with calculated value 97

resetting superblock realtime bitmap inode pointer to 97

sb realtime summary inode value 18446744073709551615 (NULLFSINO) inconsistent with calculated value 98

resetting superblock realtime summary inode pointer to 98

Phase 2 - using internal log

- zero log...

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 the filesystem is a snapshot of a mounted

filesystem, you may need to give mount the nouuid option. 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.

Should I stop the array and start it in regular mode or press the "Zero Log" button next?

Edited by Darkguy

  • Community Expert

Disks don't mount, so you need to zero log.

  • Author

So press the "Zero Log" button and do not attempt to mount the disks first? I always like to understand what is happening - so what exactly happens when pressing the Zero Log button and how does this correspond to "Mount the filesystem to replay the log, and unmount it before re-running xfs_repair"?

  • Community Expert

Since the disks cannot be mounted, there's no other option other than zeroing the log. This is typically safe, though it will always depend on the amount of filesystem corruption that exists.

  • Author

Thanks for your help so far.

I hit "Zero Log" on both devices, let it finish, then stopped the maintenance-mode-array and restarted it properly. Both disks/emulated disks mount fine now.

I can browse the emulated disk2 and see its contents. disk 12 shows up as 153GB used and 7.85TB free; however, when I browse disk 12 (in the Unraid GUI or via mc in the terminal), there it shows up as completely empty. Unfortunately I can not quickly determine if anything is missing - the disk has been in use for about 8 months, so I would guess something should have been on there.

Should I stop the array, remove it and try to restore anything on it with Linux tools on another machine?

Also, Disk12 still shows up as disabled/content emulated. Can I reactivate it or is it safer to RMA it and swap it out for a new one?

  • Community Expert

If disk12 had any actual data that xfs_repair could not correctly recover, it typically would move it to a lost+found folder, so most likely it was already emptied, but you should be able to confirm by mounting the actual old disk. For that, stop the array, unassign disk12, and then mount it with the UD plugin and check its contents.

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.