JonathanM

Moderators
  • Posts

    16148
  • Joined

  • Last visited

  • Days Won

    65

Posts posted by JonathanM

  1. 3 minutes ago, naddel81 said:

    folders are called shares in linux?

    Not universally.

     

    In Unraid, the root folders on each disk or pool can be exported as user shares.

     

    I recommend watching spaceinvader one's Unraid videos on youtube, he has a load of very informative content.

    • Like 1
  2. 55 minutes ago, itimpi said:

    That will not allow you to change the scheduling as Unraid is still responsible for starting the checks.    However the standard scheduling can handle quarterly.

    Yes, but I had a hard time understanding the OP question, it was clear on one part, but the "whenever I add files parity runs" had me questioning what was really intended or desired. I figured more reading would help the OP get where they wanted to go.

  3. The basic storage functions will transfer fine, as long as both the old and new boards pass the drive ID's through identically. The only issue there is hardware RAID or drive enclosures that can modify the ID's.

     

    Any hardware that was passed through directly to VM's or containers will no longer be present and cause errors.

    • Like 1
  4. 2 minutes ago, Pjrezai said:

    Or just flipping the switch on the PSU on and off?

    Turn PSU off, press power button on tower to drain residual power, turn PSU on, wait a beat to allow the motherboard to wake up, then press the power button.

    4 minutes ago, Pjrezai said:

    Also, since it gets fixed by just taking the USB out and putting it back in, it doesn't have anything to do with the USB itself?

    Probably not the USB stick, but the motherboard USB controller.

  5. 1 hour ago, Pjrezai said:

    on reboot it won't give the ability to enter bios (and the screen stays black),

    That sounds more like a motherboard issue. If it happens again try a cold boot, actually remove power from the motherboard with a power switch on the PSU or removing the AC supply.

  6. 1 hour ago, ximian said:

    I imagine If I need to reset the unraid as if new, I need to format the flash drive ?

    No, the only changes made to the flash would be in the config folder. Replacing that folder with default files and adding your specific key file that belongs with that GUID will reset everything to new.

    • Thanks 1
  7. 39 minutes ago, ingeborgdot said:

    If that happens when I'm gone, how will I get my UPS to turn back on without physically pushing the UPS power button?

    You don't. If it turns back on unattended, how will you know if it is safe to turn back on, there may still be events happening that it would be better to stay off until things blow over, maybe literally. It's best practice to monitor the server startup, so you can intervene if things aren't going well.

  8. 2 minutes ago, mackid1993 said:

    So I guess I can't push my RAM to 84% usage without having performance issues?

    Depends. There are other things you can tweak with regards to memory, cache pressure and such, and honestly Unraid is tuned for best performance with smaller amounts of RAM and may not make the best use of more than 64GB of RAM.

     

    I don't have the luxury of owning any systems with more than 32GB right now, so I must leave hands on research as an exercise for the reader.

  9. 3 minutes ago, mackid1993 said:

    Holy crap! That worked. I ran those commands and those VMs boot right away! Is this something can can be done inside Unraid to prevent this. Or should I just add these commands to a user script.

    It will kill performance if run too often, as caching data is what speeds many things along. As a clean up tool run when performance isn't a priority, or before starting a task, it should be fine.

     

    It does prove to some extent that you are over committing the memory you have for optimum performance, so more RAM would help if you really need to reserve that much RAM for VM use.

     

    I would try reducing the VM RAM allocations and see if it hurts or helps the VM performance. RAM caching by the host is one of the things that can really speed up a VM, and if you deny the host that RAM it can hurt the VM speed.

  10. 2 minutes ago, mackid1993 said:

    Oh! I never thought of that! Is there a way I can test for that? A command I can run? If so I'll increase the ram in my server to mitigate.

    After a minute of googling (as in, no real research) I found this which may or may not do something in Unraid, haven't tried it, so use at your own risk, it was billed as a "linux" solution.

    Quote

    echo 3 > /proc/sys/vm/drop_caches

    and

    echo 1 > /proc/sys/vm/compact_memory

    This apparently a. clears speculative data that was cached b. consolidates the in use memory.

     

    If you are game to try this, execute at a point where the VM would fail to launch.

     

    To repeat, I HAVE NO CLUE IF THIS WILL DO BAD THINGS TO UNRAID. 

  11. 4 minutes ago, mackid1993 said:

    This entire time my server will have at least 14 GB of RAM free so it's not like I'm out of memory,

    Perhaps out of unfragmented memory. Some operations require contiguous blocks, and over time more and more addresses can be tied up and unable to be reallocated, even if the total amount free is plenty. 

  12. 7 hours ago, luisp23 said:

    VM Settings -

    Logical CPUs All ticked CPU 0 - CPU 3

    Don't do that. You need to leave resources available for the host (Unraid) to emulate the motherboard and other I/O. At the very least leave CPU 0 available for Unraid. Since you only have 4 threads, I'd only use CPU2 and CPU3 for the VM, maybe try with only the last thread for the VM and leave the other three for the host.

    7 hours ago, luisp23 said:

    Initial Memory & Max Memory - 8192 MB

    That may also be too much, depending on how much RAM the system has. If the physical box has 32GB, 8 for the VM should be fine. If it has 16 or less, reduce the VM to 4096.

     

    The more resources you tie to the VM, the slower the host is going to run, which in turn slows the VM way down. Give the VM the absolute minimum and add a little at a time until performance doesn't increase.

  13. 7 hours ago, Lien1454 said:

    Am I better off doing cache --> array

    Just the reverse array -> cache, or cache only

    The advantage of having the cache primary and array be a secondary with a move to cache setting is that if you ever accidentally fill the cache and the minimum free space is set correctly the excess data will go to the array, then when the cache has room, the mover will put the data back on the cache.

     

    Cache only will give an out of space error when it gets below the minimum free space set.

    • Like 1
  14. 12 minutes ago, ijuarez said:

     

    I just learn something, so are you saying it would be best to have the vm on the cache or and unassigned disk for better performance?

    Yes, the parity array is great for mass storage, very bad for random I/O, especially random writes. SSD or NVME is a must for vdisks.

    • Like 2