lotekjunky

Members
  • Posts

    36
  • Joined

  • Last visited

Recent Profile Visitors

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

lotekjunky's Achievements

Noob

Noob (1/14)

2

Reputation

  1. This is an EXCELLENT guide. Thank you. The only think I would add is "-rm" to the docker run entrypoint command. WIthout that, it created a container in podman.
  2. I thought I needed this... and I would to use this container... but I don't even need a container. I made a local .code-space file on my desktop computer that connects to UNRAID and launches Code remotely. I store the code-space on /boot and my repo is in /mnt/user so it's backed up with parity. You can execute and shell things right in Unraid through VS code. I can open VS code in Windows with my .code-space and it will remote to UNRAID and load all of my extensions. I don't need things like nodejs or perl, so I'm not concerned about the consistent environment, but if anyone else is just looking for a quick fix, this works easy.
  3. I gather that this container cannot work at the same time as any other VPN containers as the code is only looking for /dev/net/tun and not any iteratives like /dev/net/tun0 or /dev/net/tun1
  4. If you're like me and ended up here just trying to get a .py script to run in a container with dependencies, this is how I got it working. Add new cointainer, use the blank template repository: python:latest project page: https://hub.docker.com/_/python icon url: https://d1q6f0aelx0por.cloudfront.net/product-logos/library-python-logo.png post arguments: /bin/bash /app/init.sh map a volume from /mnt/user/appdata/python/this_script -> /app (after you add a single py script, this will be saved as a template and you can just tack on a different directory like "that_script" and keep everything in one place) Put your main.py file in the aforementioned directory, but you must accompany it with an init.sh script. Here's what mine looks like. (Note that both scripts are executable, so chmod +x them): root@blaaaaaarg:/mnt/user/appdata/python/this_script# cat init.sh #!/bin/bash /usr/local/bin/python -m pip install --upgrade pip pip install requests /usr/local/bin/python /app/main.py This method is easily deployable for multiple scripts, and it was so obvious after slowly reading and re-reading @knex666 response over and over again. I don't think this is exactly what he meant, but this works for me.
  5. so theoretically, running on emulated disk should be as fast as normal because it's either calculating the parity bit for the parity drive, or reverse for the emulated drive. if that's not right, just tell me, you don't have to explain it in great detail, i'm just trying to grasp the basics at this point. I'm gonna yank that drive tomorrow (or soon) and test it out anyhow. I was originally just going to exclude disk1 from the share, but it's so slow it can't even mover it off of there, and it was running poorly all around, so that's what brought me to here. Thanks for the info, I'll leave an update as time allows. Life, ug. Thanks.
  6. WOW< I didn't even know that disk was SMR. How could you tell? I never even thought of that... With that in mind, and the fact that I have another 8TB drive here to replace it... could I just yeet that drive and run it emulated to see if it works any better? (I'm not sure how writing to an array with an emulated disk works... better or worse in my case).
  7. Thanks for your response. I wasn't sure if I was in the right area, or if there was a support section for pro and I just wasn't added to it. No biggie, thanks for the clarification. I've attached my diagnostics report. I really appreciate your help, I'm at my wits end. vein-diagnostics-20211029-0822.zip
  8. Would this better fit in another section? Where do pro license holders obtain support?
  9. I've been troubleshooting an issue, but I think it's time I go back to basics. My issue is that when copying from my NVME cache drive to my 4x8tb=1 array, the copy will inevitably drop to a crawl. It will move data successfully at first, but at some point, relatively quickly, it will slow down to 700k or worse. I figured that maybe I had an issue with one of the drives in my array. Some are several years old, and I was just going to swap in a new 8TB Red. I can't figure out which disk it is, and now I'm wondering if that was even the problem to begin with. When I ssh in, i use mc to copy stuff. this example is from /mnt/cache to /mnt/user0/tv. Copying to this path will slow to a crawl. I tried copying directly to /mnt/disk1/tv, disk2, etcc... all of them were fine. I couldn't get it to slow down at all. Then I used the diskspeed docker app and found that after 5 increasingly thorough tests, all of the drives pretty much perform exactly the same. What am I missing? What would I need to provide to help with troubleshooting? Thanks! Nick Epilogue: I don't know that this has ever worked on this server. I know I had slowness issues on my old server, but it was VERY old and only had a few cores running LUKS encryption. All of that was just too much for that thing and I built a brand new 8 core server in April. When I was loading data back onto the array from my archive backup, it was SO SLOW. I thought my archives were going bad, but I got super busy at work and now here I am. I went down this road last week because I thought "hey, one of these drives is slow and it's breaking my tv cache." Now i'm wanting to look at it more holistically.
  10. Open a shell and run this: du -ah --max-depth=1 /mnt/user/appdata | sort -hr It will tally up the consumed space from the provided directory, in a human readable format and then sort it. It might take some time to run... my appdata is huge and it took 3 minutes
  11. So the answer was NO, just figure it out. I used unbalance to remove 1 drive and let the array run on parity. That gave me enough space to start moving stuff from LUKS to the new server. Rinse and repeat. It was a pain in the ass. Next time I'll just buy more hard drives.
  12. Hi, i'm wondering if anyone has gotten this to work with Private Internet Access PIA? I am getting slow speeds on OVPN, but my desktop wireguard client screams. PIA is kind of weird about their WG config files it seems. I found a script that can guess at creating the wg0 file, but I'm looking for something a bit more official, or at least tested. I couldn't get the script to work, but I don't know if it's me or them... Thanks!
  13. Thanks for putting this container together. Does anyone have a wg0.conf file for Private Internet Access? They have a weird script available on their site and it's not as straight forward as I thought it would be.
  14. I started off with what I thought was a powerful enough server. It's not. I have a new one built, but all of my drives are in my current array. They are all LUKS encrypted, even the cache drive. I want to move these drives to another hypervisor without losing any data. I think if I take note of which hard drive is assigned to sdc, sdd, sde, etc... and then make sure they go in the new server in the same order (scarry!), and then move the USB flash drive over... it might be good to go. That sounds dangerous, so I figured I'd ask if there is a better way, a safer way, an approved way, or a migration tool that I could use? Thanks!