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.

4 corrupted disks?

Featured Replies

I have a 7 disk array + 1 parity. Unraid 7.1.2.

I have been in the process of troubleshooting and recovering a corrupted zfs cache pool on the system. I backed up what I could outside of unraid and formatted the cache drives on unraid safemode. Cache drives are working as far as I can tell (2 drives striped).

When I went into backup/restore appdata plugin to restore my dockers It told me directory could not be found. I checked my shares over SMB and windows errors out. I check on webUI and I'm told invalid path. I check on ls /mnt/disk3 and I'm told Input/output error.

There have absolutely been unsafe shutdowns as the corrupted zfs pool would lock up unraid preventing a safe shutdown.

Let me know how best to proceed. It's unfortunate that it's 4 disks instead of just 1.

waffle-diagnostics-20260410-2000.zip

Solved by JorgeB

  • Community Expert

They have disconnected and are now unassigned. They are all on the same controller. Cooling?

  • Author
41 minutes ago, trurl said:

They have disconnected and are now unassigned. They are all on the same controller. Cooling?

Linux still shows them connected under sdb to sdm. 8 drives show up under lsblk. Or am I seeing ghosts?

  • Community Expert
  • Solution

A SATA controller is being passed through to the Windows 11 VM, as if it were a GPU; likely the IDs changed:

<hostdev mode="subsystem" type="pci" managed="yes">

<driver name="vfio"/>

<source>

<address domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>

</source>

<rom file="/mnt/user/isos/GPU ROM/NVIDIA.TeslaP40.24576.161020.rom"/>

<address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>

</hostdev>

<hostdev mode="subsystem" type="usb" managed="no">

So when the VM was started, Unraid lost access to all disks connected to this controler:

09:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)

Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901]

Kernel driver in use: ahci

Kernel modules: ahci

Correct the VM XML, reboot, and then post new diags after array start, disk6 will be disabled.

  • Author
16 hours ago, JorgeB said:

A SATA controller is being passed through to the Windows 11 VM, as if it were a GPU; likely the IDs changed:

<hostdev mode="subsystem" type="pci" managed="yes">

<driver name="vfio"/>

<source>

<address domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>

</source>

<rom file="/mnt/user/isos/GPU ROM/NVIDIA.TeslaP40.24576.161020.rom"/>

<address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>

</hostdev>

<hostdev mode="subsystem" type="usb" managed="no">

So when the VM was started, Unraid lost access to all disks connected to this controler:

09:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)

Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901]

Kernel driver in use: ahci

Kernel modules: ahci

Correct the VM XML, reboot, and then post new diags after array start, disk6 will be disabled.

VM wrestling control away from the array was the issue.

Started array, screenshotted VM settings, disabled VMs, deleted libvirt.img, stopped array, restarted array.
That is where I am at now. I have disk 6 currently being emulated. Disks 3, 4 and 5 appear to be OK now. What I had done in restoring the cache drive was paste in my old libvirt.img. What you said with IDs changing makes sense now.

image.png

Need to fix disk 6, then I manually set VMs back up.

waffle-diagnostics-20260411-1700.zip

  • Community Expert

Since the emulated disk6 is mounting and assuming the contents look correct, you can rebuild on top.

  • Author
12 hours ago, JorgeB said:

Since the emulated disk6 is mounting and assuming the contents look correct, you can rebuild on top.

Thanks a bunch. I've got disk6 rebuilding. Nightmare soon to be over.

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.