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.

Arbadacarba

Members
  • Joined

  • Last visited

  1. So, having looked I just have to hit save and ... Nope, hadn't noticed the "ACKNOWLEDGE ALL PCI CHANGES" button... Totally obvious if you expected to see that button... The message could say to look for that? Thank you
  2. I've been playing, replacing some components and reconfiguring others... But I've clearly messed something up. I have two VMs that autostart at startup: One that uses the Network card (Upgraded) to run the router, and another to run home assistant. Once I log in I can just start the two VMs and they seem to be working fine. I also have a gaming VM that uses a Dedicated SSD, a USB card, and Video card. But it gets launched as needed (Sure wish I could let the server use that Video card when the Gaming machine isn't in use.) I guess I could completely wipe out the vfio-bind and rebuild, but if there error is coming from the config of a virtual machine that might not fix it. Thanks jupiter-diagnostics-20260609-0825.zip
  3. Maybe leave it off and run a parity check?
  4. Good point, is there a test I can run other than just going about my business for a week?
  5. So I replaced a couple of drives with new 26TB drives, and am encountering a problem I've never seen before... I'm getting the occasional read error... But I'm not seeing anything in SMART reports. I had to move massive quantities of small files around in order to remove the old drives and install the new ones, so now I'm moving files back around to balance the drives out a bit. I'm not even certain these are happening on the new drives, I think I've had a few on each, and have had one on the cache drive which I know is 6 months old or so. I did upgrade to 7.3 but I'm pretty sure the first one happened before the upgrade. Any thoughts? jupiter-diagnostics-20260527-1446.zip
  6. Is it just me? or is anyone else finding that making changes to the docker with Edit does NOT result in a modification to the configuration.py file? I feel like if I had done everything right the first time, it would have worked off the bat. Instead I had to use VI to edit the file inside the docker console until I got it right.
  7. It may also be windows being weird with credentials... (assuming you are using windows on the laptop) Take a look at the credential manager and manually add an entry for the different addresses that you use... I've run into that on a few systems, and found adding a credential for both the numbered address and the dns name helps.
  8. Common Script: gged in. What am I doing wrong that it won't let me put anything in here? I've seen that the black theme might be an issue but I can't seem to make it whatever it wants to see. My goal is to make in run a script from user scripts when a drive is plu
  9. OK, Tried a reboot and got a bigger version of the image above... I wonder? Pulled the USB Drive I had plugged in... and System is back... Dangit... that is an unraid thumb drive that I created for something...
  10. What on earth just happened: I'm playing with the idea of using a AV in a Docker to scan external drives (Thumb Drives) that are of questionable provenance... I have at least one that I suspect may have some kind of virus that transferred from a Windows machine that I pulled some data from. I installed the ClamAV docker and was about to see if I could point it at the unassigned drives folder to scan anything I mount in there... Then I tried mounting a drive and got a failure to mount... OK, lets try another one... Neither of these are suspect, I was really just trying to get the mount location right for the Docker I was configuring... All of a sudden I get this: and my fans spin up as my array goes offline... WTH? Anyone have any thoughts before I reboot my server? jupiter-diagnostics-20260421-1429.zip
  11. Looking through that I'm impressed at how I think the scripts work... but at the same time I might not be able to take advantage of it since it doesn't have all the features that I need... So we can create scripts - Bash or PHP etc. That depending on the folder they are located in, can run when the referenced VM makes transition to Start, or Stop... but there is no provision to call a script when it is paused? Hmm. so I pause the VM when the AMP input switches to t different source so that wehn it gets switched back it comes up faster... So the script would not run in that case and my cooling system would continue to act as if the temps were remaining the same. What about the network hooks? Could a script be triggered when the VM loses connection? It mentions being unplugged, and when I pause the VM it vanishes from my network... Thanks
  12. That's why I was wondering if you can call a bash script from the hooks file Thanks for your help Simon... Did you mean to add a link in the previous post?
  13. Ya, the bash thing was dumb... I've got some of it working in php, but I can't figure out how to get it to act if I PAUSE the vm... I've got it working if I stop it but that's only half the plan... If I create an additional script does it have to be in PHP? or can it be bash? I thought I had a way to detect pause in bash. Arbadacarba
  14. Might help if my addition hadn't been written in bash I guess...
  15. As part of my project to send GPU stats over to CoolerControl to help adjust case fans when the GPU ramps up, I want to either Delete or Modify the txt files that the VM creates in the /tmp directory so that if they spike on shutdown (of the VM) I don't get stuck with LOUD fans for longer than necessary. I have the script that I want to add to the /ets/libvirt/hooks/qemu file: # Routine to delete the sensor txt values created to monitor the GPU on Minerva (VM) GUEST_NAME="$1" ACTION="$2" ID="$3" if [ "$GUEST_NAME" == "Win11 - Minerva" ]; then if [ "$ACTION" == "stopped" ] || [ "$ACTION" == "paused" ]; then # Example action: remove specific files in /tmp rm -f /tmp/gpu_*.txt # Or remove a directory # rm -rf /tmp/your_vm_files/ fi fiBut when I add that: #!/usr/bin/env php <?php if (!isset($argv[2]) || $argv[2] != 'start') { exit(0); } $strXML = file_get_contents('php://stdin'); $doc = new DOMDocument(); $doc->loadXML($strXML); $xpath = new DOMXpath($doc); $args = $xpath->evaluate("//domain/*[name()='qemu:commandline']/*[name()='qemu:arg']/@value"); for ($i = 0; $i < $args->length; $i++){ $arg_list = explode(',', $args->item($i)->nodeValue); if ($arg_list[0] !== 'vfio-pci') { continue; } foreach ($arg_list as $arg) { $keypair = explode('=', $arg); if ($keypair[0] == 'host' && !empty($keypair[1])) { vfio_bind($keypair[1]); break; } } } # Routine to delete the sensor txt values created to monitor the GPU on Minerva (VM) GUEST_NAME="$1" ACTION="$2" ID="$3" if [ "$GUEST_NAME" == "Win11 - Minerva" ]; then if [ "$ACTION" == "stopped" ] || [ "$ACTION" == "paused" ]; then # Example action: remove specific files in /tmp rm -f /tmp/gpu_*.txt # Or remove a directory # rm -rf /tmp/your_vm_files/ fi fi exit(0); // end of script function vfio_bind($strPassthruDevice) { // Ensure we have leading 0000: $strPassthruDeviceShort = str_replace('0000:', '', $strPassthruDevice); $strPassthruDeviceLong = '0000:' . $strPassthruDeviceShort; // Determine the driver currently assigned to the device $strDriverSymlink = @readlink('/sys/bus/pci/devices/' . $strPassthruDeviceLong . '/driver'); if ($strDriverSymlink !== false) { // Device is bound to a Driver already if (strpos($strDriverSymlink, 'vfio-pci') !== false) { // Driver bound to vfio-pci already - nothing left to do for this device now regarding vfio return true; } // Driver bound to some other driver - attempt to unbind driver if (file_put_contents('/sys/bus/pci/devices/' . $strPassthruDeviceLong . '/driver/unbind', $strPassthruDeviceLong) === false) { file_put_contents('php://stderr', 'Failed to unbind device ' . $strPassthruDeviceShort . ' from current driver'); exit(1); return false; } } // Get Vendor and Device IDs for the passthru device $strVendor = file_get_contents('/sys/bus/pci/devices/' . $strPassthruDeviceLong . '/vendor'); $strDevice = file_get_contents('/sys/bus/pci/devices/' . $strPassthruDeviceLong . '/device'); // Attempt to bind driver to vfio-pci if (file_put_contents('/sys/bus/pci/drivers/vfio-pci/new_id', $strVendor . ' ' . $strDevice) === false) { file_put_contents('php://stderr', 'Failed to bind device ' . $strPassthruDeviceShort . ' to vfio-pci driver'); exit(1); return false; } return true; } But when I try to run the VM I get: [Hook script execution failed: internal error: Child process (LC_ALL=C PATH=/bin:/sbin:/usr/bin:/usr/sbin HOME=/root /etc/libvirt/hooks/qemu 'Win11 - Minerva' prepare begin -) unexpected exit status 255] Is there a simple answer as to where I've gone wrong? Thank You Arbadacarba

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.