Jump to content
LAST CALL on the Unraid Summer Sale! 😎 ⌛ ×

Array has 2 failed devices after unclean shutdown


Go to solution Solved by JorgeB,

Recommended Posts

Hi, I need some help please

I shut down unraid as usual, made some changes boot config for fan control and started again.

After startup I got a "unclean shutdown detected" message and two drives of the array failed.

So I followed the "Troubleshooting" hint that at the end guided me to dead page linked as "checking and reparing"!?

https://docs.unraid.net/unraid-os/manual/troubleshooting/storage-management.md/#checking-a-file-system

 

After mounting the two failed disks again and reboot, one of it shows now the option to format.

The xfs array is four disks with two parity disks. One of the parity and one of the data disks failed.

But I guess it is not a good idea just to replace this two disk by new ones?

 

So I hope someone can support me, thanks in advance

 

3unetnas-diagnostics-20240402-1331.zip 3unetnas-syslog-20240402-1137.zip

Link to comment

Hello JorgeB,

new config and re-sync was fine, many thanks so far 😉

 

But enabling VMs in VM Manager went into a disaster again.  

After two times reboot still none of the array disks were available => first diagnosis files

After removing both graphics cards and rebooting, both data disks were ok, but both parity disks disabled. => second diagnosis files

 

Now I have done new config and re-sync parity running again, but I guess this will again not solve my problem!?

 

I was running the first graphics card for months now and added the second one three weeks ago without any problems.

Also rebooting several times and autostart VMs was no problem so far.

Is there a chance to correct the VM settings? 

 

3unetnas-diagnostics-20240404-1158.zip 3unetnas-syslog-20240404-1005.zip 3unetnas-diagnostics-20240404-1214.zip 3unetnas-syslog-20240404-1015.zip

Link to comment
13 minutes ago, Ulrich_W said:

But enabling VMs in VM Manager went into a disaster again

Well that was expect, if the passed-through controller was not corrected, @SimonFplease remind what is the current easiest way to prevent a VM from auto-starting, so he can edit the config.

 

Link to comment
23 minutes ago, JorgeB said:

Well that was expect, if the passed-through controller was not corrected, @SimonFplease remind what is the current easiest way to prevent a VM from auto-starting, so he can edit the config.

 


I wonder if there is a good case for changing things so docker containers and/or VMs are not auto-started if you select Safe Boot.   I would think the fact you have chosen Safe Boot means you are troubleshooting so it seems a good idea to me but there may be a downside I have not thought of.

Link to comment
1 hour ago, itimpi said:

I wonder if there is a good case for changing things so docker containers and/or VMs are not auto-started if you select Safe Boot.

I think that's a good idea if possible, don't remember if you already discussed this option.

Link to comment

Ok, I could stop now VMs in safe mode and reboot without issues, so thanks for the hints.

 

But I have no graphics card in now and no PCI passthrough binding selected!

 

What to do next? Putting in my first graphics card again and rebuild a new VM?

Or do I have to fix anything else first?

 

 

Link to comment

The GPU likely changed IDs, this can happen if you add or remove any card, just re-select the correct GPU, instead of:

 

-device '{"driver":"vfio-pci","host":"0000:0b:00.0","id":"hostdev0","bus":"pci.4","addr":"0x0","romfile":"/mnt/user/isos/vbios/GT730_vbios.rom"}' \
-device '{"driver":"vfio-pci","host":"0000:0b:00.1","id":"hostdev1","bus":"pci.5","addr":"0x0"}' \

 

you need to pass-through these devices:

 

0a:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208B [GeForce GT 730] [10de:1287] (rev a1)
    Subsystem: ASUSTeK Computer Inc. GK208B [GeForce GT 730] [1043:884a]
    Kernel driver in use: vfio-pci
    Kernel modules: nvidia_drm, nvidia
0a:00.1 Audio device [0403]: NVIDIA Corporation GK208 HDMI/DP Audio Controller [10de:0e0f] (rev a1)
    Subsystem: ASUSTeK Computer Inc. GK208 HDMI/DP Audio Controller [1043:884a]
    Kernel driver in use: vfio-pci

 

so replace 0b:00.0/1 with 0a:00.0/1.

Link to comment

Ok, up and running again as before only parity-sync need to finish, thank you very much again 😉👍

 

Is there a way to prevent such disaster?

Do I need to change something in the shutdown timing?

 

Maybe unckecking the VM Autostart before changing something in boot config or the system at all is always a good idea!

Link to comment

Hello again

I don't know if it has something to do with my previous problem and I should open a new topic?

But something now disables autostart of the array? It does not show any notification why.

 

I finished sync, updated to 6.12.10, fixed all issues with "fix common problems" and still not working?

But I cannot figure out what else could be wrong, can anyone help please?

3unetnas-diagnostics-20240405-0850.zip 3unetnas-syslog-20240405-0650.zip

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...