Coastal Custom Tech

Members
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Coastal Custom Tech's Achievements

Noob

Noob (1/14)

1

Reputation

  1. For this client specifically it’s just me catering to them but I do have documentation on how I set them up incase I need to look back long term. I made a more advanced version that is also outputting the errors to a file on the array so it can be reviewed long term. For the most part the issues they had was brownouts with the power, or they would trip the break as it shared outlets outside the house that would have power tools on. Since it’s for a small construction company that their house is their office it’s a pretty great solution that covers %99 of their needs. For a bigger customer I would do a bit more and will probably figure out how to make it notify (if a specific device went off that should be on, for the network being on backup), giving a pop on next login, and disabling after a full shutdown to prevent re-accruing shutdowns without intervention first.
  2. I stumbled across this entirely by accident looking for the proper shutdown command but came up with the same idea you did. I installed a cheap UPS for a customer to prevent their server from shutting down abruptly as it killed 1 drive already. Here's the code that I used chatgpt to help make, instead of pinging a device on the network I have it ping the gateway itself which works out perfectly here since their network isn't on a battery backup. If you want to use this replace the IP with your gateway and desired timings. #!/bin/bash while true; do printf "%s" "Checking local LAN gateway @ 192.168.86.1..." if ping -c 1 -n -w 1 192.168.86.1 &> /dev/null; then printf "\n%s" "gateway is responding" else printf "\n\n------------------------------------------------------------------------" printf "\n%s" "gateway is not responding, waiting 5 minutes before checking again..." printf "\n------------------------------------------------------------------------\n" # Wait for 5 minutes before checking again sleep 300 printf "\n%s\n" "Rechecking gateway..." if ping -c 1 -n -w 1 192.168.86.1 &> /dev/null; then printf "\n------------------------------------------------------------------------" printf "\n%s" "Gateway is now responding, shutdown avoided..." printf "\n------------------------------------------------------------------------\n" else printf "\n------------------------------------------------------------------------" printf "\n%s" "Gateway is still not responding after 5 minutes, shutting down..." printf "\n------------------------------------------------------------------------\n" powerdown exit 1 fi fi # If the loop reaches here, it means the IP is now responding printf "\n%s\n\n" "Checking again in 30 seconds..." sleep 30 done I also formatted it so in the logs it looks nice and pretty with good spacing for at a glance troubleshooting.
  3. for the life of me I cant seem to get this to work as it should according to their instructions for install. I have the file on the desktop and tried opening with "software" but it gives a error about not being compatible.
  4. Well I'm chiming in at the end of all this to report that the issues still exist but oddly enough its worse on my personal server versus one I have deployed. On mine I have a VM running Blue Iris that is recording to the array (non cache) and it'll crash overnight. For the other install it almost the same setup but instead the data is offloaded to the array at intervals instead of direct recording. The second server hasn't crashed from what I've seen and its running a lot less things in general as its a customer site. For now on mine I've disabled the direct share in favor of a SMB share but will install a temp SSD to record to later to be similar to the remote site. EDIT: After checking it turns out that the remote server is also having the same issues but nowhere near as bad as my personal server.
  5. So I've had this crash happen randomly multiple times while actually operating, but then also have had the issue when doing nothing gpu wise and was transferring files to another server to do the motherboard upgrade. In the final and latest case it happened last night while doing windows updates. When the crash happens I cant navigate the unraid gui at all and last night I was able to do a reboot which had shut down the server but it never came back online so I've got to go and reset it today. For a short term solution I'm gonna add a relay to allow me to power cycle the server remotely as I have access to the network but don't need a full IP KVM. Also I think I'm going to disable hardware encoding for now as its too much of a hassle until I find a solution to the root cause.
  6. I'm basically having the same issue and tried their fixes that they listed. In my case its a remote server so a hard crash is a bit of a pain. I got a new motherboard: GIGABYTE B360 HD3P and updated the bios then set the same settings. In the logs I was getting guest write errors and searching online I found a thread for Proxmox where their users where having the same problem and they found a solution but I have no idea how to adapt that to Unraid. Problem: https://github.com/intel/gvt-linux/issues/153 Solution: https://github.com/intel/gvt-linux/issues/153#issuecomment-1047603809
  7. Hi everyone, After a bit of setup and testing with a VM I'm encountering a error similar to this https://github.com/intel/gvt-linux/issues/153. In this thread its my exact issue and they made a patch https://github.com/intel/gvt-linux/issues/153#issuecomment-1047603809 for proxmox but I have no idea how to adapt that patch to unraid. Any help would be appreciated as I cannot get my VM to be stable and its causing the entire server to crash requiring a hard reboot. I'm waiting on a reply from another thread on our forums from a user with a similar issue but their solution didn't work in my case.
  8. Hey did you ever have any more issues on this, I'm currently fighting with this and seem to be having hiccups.
  9. Hi, Is there a script that I can use to start wireguard? I'm having a issue where a vpn tunnel will become inactive for a unknown reason. As this is only a backup server for offsite storage I want to run a scipt once or twice a day to make sure that the tunnel is enabled so that the data transfer will work correctly. I am using a 600 second keep alive time and that has helped 2 other sites that I have but this site is my main site for backups. Any help would be much appreciated.