April 11Apr 11 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
April 11Apr 11 Community Expert They have disconnected and are now unassigned. They are all on the same controller. Cooling?
April 11Apr 11 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?
April 11Apr 11 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: ahciCorrect the VM XML, reboot, and then post new diags after array start, disk6 will be disabled.
April 11Apr 11 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: ahciKernel modules: ahciCorrect 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. Need to fix disk 6, then I manually set VMs back up. waffle-diagnostics-20260411-1700.zip
April 12Apr 12 Community Expert Since the emulated disk6 is mounting and assuming the contents look correct, you can rebuild on top.
April 12Apr 12 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.