JonathanM

Moderators
  • Posts

    15988
  • Joined

  • Last visited

  • Days Won

    65

Community Answers

  1. JonathanM's post in Total system freeze issues was marked as the answer   
    Have you worked through the steps here?
    https://forums.unraid.net/topic/46802-faq-for-unraid-v6/page/2/#comment-819173
     
  2. JonathanM's post in Is it possible to mount the leftover partition on a zfs mirrored cache pool? was marked as the answer   
    Currently not possible AFAIK.
  3. JonathanM's post in Can't run docker containers was marked as the answer   
    If the containers don't have a built in permission fix setting, (some of binhex's do) then the easiest way is to delete the appdata and start over. That will lose all your settings and data however. Otherwise it's probably going to be a tedious process of manually setting the permissions to what is needed, the only way I can think of would be do a second install and see what the permissions were on a running install and emulate them.
     
    Each container will be different, so I recommend asking in the support thread for the specific containers you are working on to see if there may be a shortcut to fixing it.
  4. JonathanM's post in Remote access to containers in bridge/host networking mode was marked as the answer   
    binhex's vpn containers are locked down tight, all IP's that need to access the GUI must be whitelisted in the container template.
    See Q30
    https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md
    Probably a good idea to read the whole thing, there's a lot of good info about using his containers.
     
    p.s. Each container has it's own support thread, to keep all the information in one place. You are meant to post in the specific thread for container support, not start a new thread. For Unraid OS specific questions, you ARE meant to start your own thread in the general support area.
  5. JonathanM's post in Moving vDisk results in Failed Boot / UEFI Interactive Shell was marked as the answer   
  6. JonathanM's post in Two UNRAID boxes and One UPS was marked as the answer   
    Temporarily obtain 2 surge protecter power strips with switches. We need to turn off the power without breaking the ground circuit, so no yanking plugs out of the socket.
     
    Obviously starting with both servers safely shut down, along with everything else you plan to plug into the UPS.
     
    Plug all the power cords that will go to the UPS into surge protector 1. Plug the UPS input into surge protector 2
     
    Make a (hopefully measured) educated guess on max power draw of everything plugged into surge protector 1. Bonus points if you have an accurate wattmeter to feed surge protector 1.
     
    Leave the USB connection from the UPS going to Unraid 1. This is why you need surge protectors instead of yanking the plug. Very bad things can happen if the UPS ground isn't tied back to the PC when it loses power.
     
    Fire up the UPS with nothing but the USB lead and power input connected.
     
    Boot up all the equipment on surge protector 1. Start a non-correcting parity check on both Unraid servers, and have everything started and loaded like it would in a worst case unattended power outage. Read the power draw if you have meter of some sort.
     
    Connect a similar draw non critical load to the output of the UPS. Good candidates are halogen work lights, incandescent lights if you have any around any more, space heaters on low, use your imagination to find enough load.
     
    Now you are ready to start the actual testing portion. This should be done with observation only, resist the urge to manually intervene. You should have a way to watch the dashboard of both Unraids.
     
    Turn off the surge protector feeding the UPS to start the "power failure".
     
    Observe the loads connected to the UPS, look for flickering lights or fan speed variations on the heater, whatever you have connected.
     
    Remember to turn off any tech not connected to UPS, to accurately simulate a power outage. Optionally for a more thorough test disconnect your outbound internet if you can do so safely, unless you are using cellular WAN, as a real power outage may drop the WAN outside of your control. Watch to see if you get notifications on the Unraid dashboards of a power failure. If everything is working to plan, Unraid 2 should start the shutdown process cleanly after 5 minutes. When it shuts down, you can adjust the load on the UPS to match, maybe turn off one of the lights connected. After the 10 minutes has elapsed, hopefully Unraid 1 starts a clean shutdown. When it's done, you can adjust the load on the UPS if you want. At this point if the UPS is still running the dummy loads, you can call it a success, depending on what you observed.
     
    Other considerations.
     
    After draining the batteries on a UPS, make sure you account for recharge time before depending on it for more backup, since a typical recharge rate is 10 to 20 times slower. If the UPS was running on battery for 15 minutes, allow at least 3 hours recharge time.
     
    SLA UPS batteries, the most common type, get touchy about being drained more than 50%. Their capacity and lifetime is reduced the deeper the discharge, so try to stay in the top of the curve. If you are discharging too deeply, reduce the time on battery parameter.
     
    Personally my secondary loads like client pc's, VM's, etc are all set to shut down after a minute or two of power outage. Keep in mind you can install apcupsd clients on any VM's hosted on Unraid to get them cleanly shut down prior to the main timeouts and reduce the shutdown time.
     
    If during the test the batteries are drained before the timed shutdown is done, you need to upsize the UPS, or restructure to multiple UPS since you are aiming for less than 50% drain, and you can't shorten the delay meaningfully.
     
    If the communication path between devices is broken or interrupted, the shutdown signal will be lost. Make sure all network infrastructure can outlast the full shutdown period.
     
    I recommend NOT trying to have things automatically recover after a power loss event. Much better to manage the recovery hands on, watching and controlling, especially checking UPS battery condition to ensure enough capacity to handle another shutdown if power goes out again during the boot up process.
  7. JonathanM's post in new motherboard and cpu, unraid is stuck looping bios was marked as the answer   
    Rename the EFI- folder to just EFI
  8. JonathanM's post in Balance Drives was marked as the answer   
    As a general thing, the best practice is to not mess with it, just leave the full drives full, and let all new writes go to the new drives. The first bit of the drive is the fastest, the last bit the slowest. Just make sure your split levels and minimum free space is set correctly.
     
    If you really want to move a specific share from one drive to another, the best way would be the Dynamix File Manager plugin.
  9. JonathanM's post in Sudden disk space usage after formatting was marked as the answer   
    When you enabled the docker service, an empty image was created to hold the container executables. Kind of a preallocation.
  10. JonathanM's post in Unmountable Unsupported Partition layout 12tb hdd with data on was marked as the answer   
    You can't add it to the array without formatting it, but you probably can mount it using Unassigned Devices to read it so you can copy it to a different array disk.
  11. JonathanM's post in Replacing registration key error was marked as the answer   
    Look in the config folder on the flash drive for multiple files named *.key
  12. JonathanM's post in SSD via Usbc for app data was marked as the answer   
    Depends on the USB implementation of both the motherboard and the drive.
     
    Some seem to be stable, others flake out and disconnect on a whim.
     
    No way I know of to tell the difference without trying it.
     
    It's not recommended simply because it's unstable more often than not, and there are other issues with USB in the array itself, which you aren't doing, so if it works for you in this specific instance, great.
     
    I wouldn't expect a whole lot of speed though.
  13. JonathanM's post in Is it possible to create a vdisk larger than the largest physical disk? was marked as the answer   
    No. Each disk in the parity array is an independent filesystem, the user shares are a merged directory tree across same named root folders on all participating disks.
     
    Technically the answer to your thread title is yes, you can create vdisk's larger than the available space because they are created sparse, and only occupy the space actually written inside the image. However, as you found out, when the containing disk runs out of space, the vdisk doesn't have anywhere to put the data, so the virtual filesystem doesn't work correctly.
     
    Instead of using the parity array, you can assign multiple disks to a pool, which can use either BTRFS or ZFS RAID levels to create a single filesystem spanning multiple physical disks.
  14. JonathanM's post in Unraid Registration Key Transfer was marked as the answer   
    If you really want to, you can delete the trial key and put your old license key file on the new stick and do the automated transfer, but that blacklists the old stick, limiting your options, and you only get 1 transfer per year through the automated system, otherwise you must contact support to get things sorted.
     
    Much easier to just use the old stick with a valid license already.
  15. JonathanM's post in Problem with uploading images from self hosted website was marked as the answer   
    Just paste the image inline, links to foreign sites are frowned on.
  16. JonathanM's post in How do I "Clone" my old settings to a new array while keeping my old cache drives? was marked as the answer   
    This, theoretically. But you can new config, keep all, and just change what needs to be changed.
  17. JonathanM's post in Mover Question was marked as the answer   
    No.
    You can use the Dynamix File Manager to move data to another drive.
  18. JonathanM's post in Did I do this right ? Swaping USB flash drive was marked as the answer   
    The manual method of setting up a new flash drive is almost what you ended up doing. Extract the contents of the os zip file to the flash, run the make bootable script that matches the machine you are setting up the flash with, and boot. To make it your custom install instead of a new one, the config folder is all that's necessary.
     
    I'm unclear where this
    file came from, but it certainly didn't contain what you needed.
  19. JonathanM's post in Enshroudet Map Hosing Questions was marked as the answer   
    Click on the container in the Unraid GUI, you should get a popup like this.

    Click on the ? Support link, it will take to the correct place to get information and ask questions about that specific container.
     
    The general support (where you posted this question) is for the Unraid system itself, containers and plugins all have their own threads with information.
  20. JonathanM's post in Unable to boot was marked as the answer   
    The /config folder in the root of the flash holds all your customization.
  21. JonathanM's post in (Solved) Docker container does not respect port settings while using custom network was marked as the answer   
    When you assign a specific IP address to a container, there is no mapping needed or applied. All ports are directly exposed on that IP.
     
    The bridge setting shares the servers IP, so only mapped ports are exposed, and those can be redirected as needed to deconflict multiple containers sharing the same IP.
     
    When you assign a unique IP to a container any port settings are managed in the application itself. Unraid's UI will still show the port settings, but they do nothing.
  22. JonathanM's post in Windows VM startup problem after cache scrub and balance 6.12.4 was marked as the answer   
    Temporarily add it as a second disk to a working VM.
  23. JonathanM's post in How can I re-add a "failed" drive without doing a data-rebuild, when I know for a fact the drive is fine? was marked as the answer   
    Remember, Unraid only "fails" a disk when a write error occurs. Sometimes that can happen when a read error happens, and Unraid automatically tries to write the emulated data that should be there, and the write fails, so yes, in that case the dropped drive data is fine. However, if it happens with a write command NOT the result of a failed read, that means the physical drive is guaranteed to be different than what is emulated in the array. If you throw away the emulated data in favor of what is on the physical drive, you lose the latest writes.
     
    So, your choice is either to rebuild the data drive, or rebuild the parity drive. Either takes about the same amount of time, but rebuilding the data drive ensures that the latest writes are preserved.
  24. JonathanM's post in Unauthenticated Access to Share Files was marked as the answer   
    Sounds like windows is using saved credentials.
     
    Try removing the server name or IP from windows credentials and try again, also make sure your windows username and password isn't an allowed user for the share.
  25. JonathanM's post in Storing/Running Portable Command-Line Tools as Root? was marked as the answer   
    First question, are your binaries native linux?
    Second, where are you keeping them? The flash drive won't work, you must run them from another file system, either an array drive, a pool, or RAM. If you wish, you can keep the original binary on the flash drive, then make a copy into RAM, set them as executable, and run them from there.