Jump to content

JonathanM

Moderators
  • Posts

    16,212
  • Joined

  • Last visited

  • Days Won

    65

Posts posted by JonathanM

  1. Did you attach the correct screenshot? I don't see any rsync commands.

     

    tmux must be run before a command is started AFAIK. There may be some secret squirrel high level way to move running commands to different sessions, but I'm not aware of

     

    I linked a tmux starter guide in my comment, linked to the word tmux.

     

    In a nutshell, you fire up tmux, it creates sessions that can be manipulated and continue running.

  2. 1 hour ago, HoochShepherd said:

    Random question... Rsync continues to run in the background even if I close the browser window I assume?

    tmux ensures the session stays running no matter how you start the rsync.

    Unfortunately it's not included with Unraid by default, so it must be added.

    https://gist.githubusercontent.com/justin-himself/2ce4af30dd9fc372df7aadb64fd4df35/raw/0a66faaa79670d1946ba3c8b1643f844406b7938/unraid-tmux.plg

  3. 2 minutes ago, SimonAG said:

    If the same file can exist on multiple disks what happens if it is a writable file that changes over time?

    The file on the first disk will be shown and editable in the share, the later disks files will be invisible in the share. If you delete the visible file on the share, the next file in line will appear, making it look like the file wasn't deleted.

     

    I believe the share view disk priority is pools in alphabetical order followed by the array disks in numeric order.

     

    You can really make some weird stuff happen that way.

  4. 12 minutes ago, POP414 said:

    this drive was set to 'disabled. Contents emulated' before the fry occurred. 

    That means parity is no longer valid, as there were writes to the array committed to the parity drive that were destined for the emulated drive. Since that emulated drive doesn't match the physical drive, parity isn't accurate for the 4TB.

    14 minutes ago, POP414 said:

    Is there a way I can tell Unraid that the 8tb drive is good to go and unchanged,

    Yes, but it's not unchanged, as a write to it failed. Unraid only fails and emulates drives when a write fails, that write is then only able to be sent to parity.

     

    You certainly can try what you are proposing, but the chances of getting everything back is pretty low. At the very least I'd expect unmountable drives that would need file system repair, probably also corrupt files.

     

    To do what you are saying you need a temporary drive to assign to the 4TB slot after doing a new config and putting all the drives back in the correct slot. Start the array in maintenance mode, being SURE to check the box stating parity is already valid during this process. Stop the array, remove the temporary 4TB drive, then start the array to allow the 4TB slot to be emulated from parity.

  5. 10 hours ago, Arbadacarba said:

    Wish me luck

    Better get familiar with database backup and restore using PGadmin. If one of your containers that shares your database gets messed up, you will need to dig in to database repair instead of taking the easy way out and blowing away the database and starting over.

     

    Not that it's extremely difficult, just more work to keep multiple databases in a single container maintained vs. the ability to work on one at a time where there is no chance of interaction between the database you are having problems with and the ones that are running fine.

     

    As I said before, there is almost no benefit to running a single container with multiple databases vs. using multiple identical containers each with their own database, and plenty of downsides.

  6. On 5/21/2024 at 12:42 PM, Anna Tuen said:

    My UnRAID device (a LincStation N1) basically trashes the root system every boot and reconstructs from flash

    That's because Unraid runs from RAM, the flash drive is there to store some persistent configuration changes, the license, and the OS archives that are extracted into RAM every boot.

     

    The flash is FAT32, so no permissions, so no good running executables from there, it's mounted at /boot. You can copy to another location and change permissions then run the executable with a script.

     

    With those limitations in mind, sounds like you have a valid plan. The biggest issue for things running at startup is timing, array and pool locations are only available after the array is started.

  7. On 5/13/2024 at 7:17 PM, Masala66 said:

    I will not be able to install them until I visit.

    Before you start digging in I recommend you collect diagnostics and attach them to your next post in this thread. It's entirely possible that the situation is actually different than what you are assuming right now.

    On 5/13/2024 at 7:17 PM, Masala66 said:

    System will not be restarted until I can visit and help him.

    That implies the system is still running currently, try to collect diagnostics BEFORE you restart.

  8. 15 minutes ago, Frank1940 said:

    Actually the thread begun in 2014:

    Yeah, well.

    27 minutes ago, JonathanM said:

    Since I wasn't logged on two hours ago, and just woke up, I freaked out a little bit

    I looked at the last post and saw a quote from 2020, so the thread had to be at least 4+.

     

    I wasn't really doing comprehensive research at that point.

    • Upvote 1
  9. 2 hours ago, JorgeB said:

    @Frank1940Since there's some interesting and still relevant info in that thread I've created a copy here:

    Wow, something REALLY weird happened when you did that. All the posts in that thread are dated two hours ago, I got notifications and stuff about it, and my posts said I had posted two hours ago. Since I wasn't logged on two hours ago, and just woke up, I freaked out a little bit thinking my account got hacked. I quickly realized ALL the posts were from 2 hours ago, but there weren't any actual new posts. All the quotes embedded in the posts are from around 5 years ago, and have the original account names.

     

    No harm, no foul, but if any more threads get the same treatment it would be nice to figure out what happened and attempt to keep the original dates, as outdated advice with current dates could cause issues.

  10. 4 hours ago, IaMs12 said:

    Does anyone know if these Unraid Forums hosted on an Unraid server? Was just thinking would be cool to host my own Forums, as i dislike that lots of people tend to flock to Discord now for that. These forums are one of the better ones and be cool if there was a Docker for such a thing.

    If you like the forum design, it's from https://invisioncommunity.com/

    It probably could be hosted on an Unraid server, but the forum software is definitely not free.

×
×
  • Create New...