Jump to content

tjb_altf4

Members
  • Posts

    1,399
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by tjb_altf4

  1. You'll need to copy those files at run time (i.e. cmd / entrypoint script), not at build time when the external folder isn't mounted. Once you get that working, you'll also need to check the files exist before copying or you'll overwrite the files each time you start the container.
  2. I'm considering splitting up my unraid installation into 2 separate servers. Most of the data I want to split out is in multiple btrfs pools, and it is not feasible to migrate the data between drives. So the question is, how to migrate btrfs pools between unraid installs ? I'm not afraid of getting into the CLI, I'm just looking for a little guidance on how to keep the unraid configuration valid. Thanks.
  3. If you've got a recent version of qemu-agent installed on the VM, try this one virsh qemu-agent-command MYDOMAIN '{"execute":"guest-network-get-interfaces"}' --pretty
  4. Working for me, one thing to note is you can only set the root password the first time, maybe some volume/appdata folder needs to be nuked? Run command used for test docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:latest Successful login using ENV set in template / run cmd root@fortytwo:~# docker exec -it some-mysql sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD"' mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 13 Server version: 8.0.28 MySQL Community Server - GPL Copyright (c) 2000, 2022, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> SHOW DATABASES; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | sys | +--------------------+ 4 rows in set (0.02 sec) mysql> EXIT Bye Successful login via CLI passing password root@fortytwo:~# docker exec -it some-mysql bash root@a6a52d23fe48:/# mysql -uroot -pmy-secret-pw mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 14 Server version: 8.0.28 MySQL Community Server - GPL Copyright (c) 2000, 2022, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> SHOW DATABASES -> ; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | sys | +--------------------+ 4 rows in set (0.01 sec) mysql> exit Bye Successful login via CLI entering password manually root@fortytwo:~# docker exec -it some-mysql bash root@a6a52d23fe48:/# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 15 Server version: 8.0.28 MySQL Community Server - GPL Copyright (c) 2000, 2022, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> SHOW DATABASES; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | sys | +--------------------+ 4 rows in set (0.00 sec) mysql>
  5. You mentioned the dockers are on the same network/subnet, but are they all in the same docker network ? If not, you might be hitting the docker to host communication restrictions.
  6. If you want WOL functionally for the VM, you need to install: Wake On Lan support plugin (prereq for #3) NerdPack plugin - to select and install Python 2 (prereq for #3) Virtual Machine Wake On Lan plugin VM sleep works out of the box (once user agent is installed), I've not had any issues using it... well other than the same flakiness windows exhibits in bare metal when waking sometimes. Not tried hibernate, but I know there was a setting in the VM Manager to change the default shutdown action, if that helps. I would have expected hibernate to work if fully enabled in the OS itself.
  7. has stung me many a time, I thought I was going nuts for a while... deleted fields will return on docker update or if author updates template (I think those were the scenarios). Workaround: edit the template XML and delete the <TemplateURL> field or set to false <TemplateURL>false</TemplateURL> Make sure to ignore FCP if it asks you to add a missing URL from template, or it will be readded.
  8. Has PIA dropped port forwarding support ? My speeds have gone to crap (for a few days now) and the delugevpn script output no longer shows any port forwarding servers. (or am I misreading the logs?) EDIT: changed servers, all good now, disregard
  9. Chrome typically. Edge (Chromium) when I'm on my work laptop / VM Firefox I try to avoid like the plague, but I use it for GUI mode because its the one installed.
  10. #1 Currently for local syslog storage, you can only use existing shares for syslog storage, and cannot specify custom paths / pool / unassigned device etc. I'd like to see the ability to add custom paths in the GUI, without needing to modify config files as is the only workaround currently (shown below for reference). My particular use case is I have a pool named system which does not participate in user shares, which is where I want my logs to reside (alongside related items such as swapfile, docker.img, libvirt etc).. #2 As a sneaky related request, I'd also like to see a force log rotate button added. Thanks!
  11. I designed and printed a 3d bracket for each end to hold it, it was easy for that rad as it was fairly square, some detail here: https://forums.unraid.net/topic/111775-carbon-unraid-x570-workstation-gaming-build/ You could also be a bit lazy and pad out some thick double sided tape to each end and position it where you like along the case, just make it snug. There is also a fan wall that comes on other models, that could also be used with some slight mods, see in this video around 9:20 mark for that fan wall looks like
  12. Radiator should be fine, I've got an EK PE360 in my Rosewill 4U
  13. Can't help with current problem, but just to let you know Sonarr/Radarr can be configured to use the recycle bin to add a safety net in future. Sonarr/Radarr > Settings > Media Management > File Management (with Advanced enabled)
  14. On iOS, all browsers use the same rendering engine, so are all susceptible to same bugs. I've never had issue with Chrome on Android. As a workaround, you could look at mobile apps like ControlR which I've used in the past personally, or Companion for Unraid which seems to be popular.
  15. Does this ignore dockers that have their own IP set ? Otherwise great job bringing in this feature
  16. Might be a good idea to add a warning in CA Fix Common Problems about old unused share configs that need deleting (or introduce a cleanup method), otherwise it might reduce the effectiveness of this feature for users that have previously made these mistakes.
  17. Depending on how you code it, surely the worst case scenario is you stop additional containers at the same time unnecessarily, right ? I would think it is an edge case, so the small performance/efficiency penalty would only be felt by a minority. You could always do a uname -r check (or similar) to see whether the script should run in an unraid optimised way.
  18. Prusa MK3S, but there are many great options out there. It's a simple design, it took me about 30min to measure and finalise in CAD, while the print itself was about an hour as there is purposely not a lot of print volume.
  19. Currently Docker CPU usage shown on Docker page shows CPU usage as a percentage of the full system core count, unfortunately this behaviour extends to when a container has CPUs pinned, which is where a user has configured the container with less CPU cores (vcpu). In this example on a 32 vcpu machine, and with a container configured for only 2 vcpu shows a less meaningful fractional percentage. Instead I propose this usage should be based on actual available vcpu, which is more meaningful for the purpose of monitoring cpu usage. The below mockup shows current metrics, and the same usage if displayed relative to allocated resources. Note that container memory usage already displays this relative behaviour. This machine has 64GB of RAM, but this container is restricted to 8GB though extra parameter --memory=8GB Container CPU pinning for context
  20. Designed and 3d printed a bracket this morning so I could mount the sas expander I bought earlier in the year. This allowed me to repurpose the second HBA, while adding 4 more drives... now my 28 bay enclosure is maxed out and I'm sitting on around 350TB
  21. OK after finding a similar report by another user, I decided to reboot as he did and the warning went away as it did for him... Started the array and all is well... thank fk. This is the second time Unraid's BTRFS pool state management has tripped me up, it would be great to see the BTRFS implementation in Unraid get a bit more love before we dive in the deep end with ZFS.
  22. root@fortytwo:~# btrfs fi show Label: none uuid: 533c0b3a-8a34-4203-af2e-9c380d554c7a Total devices 1 FS bytes used 190.76GiB devid 1 size 476.94GiB used 221.03GiB path /dev/nvme0n1p1 Label: none uuid: b4460fad-e372-492d-af6e-7a766202415d Total devices 2 FS bytes used 981.27GiB devid 4 size 1.82TiB used 1.05TiB path /dev/nvme1n1p1 devid 5 size 1.82TiB used 1.05TiB path /dev/nvme2n1p1 Label: none uuid: 77c414a6-8ac6-4003-b447-689ca96865f3 Total devices 3 FS bytes used 7.23TiB devid 1 size 3.64TiB used 2.57TiB path /dev/sdd1 devid 2 size 3.64TiB used 2.57TiB path /dev/sdb1 devid 3 size 3.64TiB used 2.57TiB path /dev/sde1 Label: none uuid: f522172e-c3f4-4f7a-9727-3b69a5ab81f4 Total devices 4 FS bytes used 65.28TiB devid 1 size 16.37TiB used 16.34TiB path /dev/sdu1 devid 2 size 16.37TiB used 16.34TiB path /dev/sdo1 devid 3 size 16.37TiB used 16.34TiB path /dev/sdm1 devid 4 size 16.37TiB used 16.34TiB path /dev/sdl1 Label: none uuid: f7538fe8-507c-4c36-bd3c-aadc92dc921a Total devices 4 FS bytes used 64.91TiB devid 1 size 16.37TiB used 16.26TiB path /dev/sdw1 devid 2 size 16.37TiB used 16.26TiB path /dev/sdaa1 devid 3 size 16.37TiB used 16.26TiB path /dev/sdt1 devid 4 size 16.37TiB used 16.26TiB path /dev/sdn1 Label: none uuid: 67290cac-5453-458c-90f2-10835ff79fe4 Total devices 2 FS bytes used 32.56TiB devid 1 size 16.37TiB used 16.30TiB path /dev/sdy1 devid 2 size 16.37TiB used 16.30TiB path /dev/sdac1 this seems to indicate everything is OK, but I have NFI what the Unraid GUI is about to do if I start the array. (the two 4 device pools are the ones in question)
  23. Adding some drives which required some moving of cables, one hba cable wasn't hooked back up correctly and so those drives didn't appear. Array was not started, pools were not mounted. No problem shutdown and fix, they reappear on boot, all good Now I see a warning against the drives in those pools "All existing data on this device will be OVERWRITTEN when array is Started" Is this actually going to overwrite the data on those drives ?
  24. If you only populate slot 1, it gets x16. If 1 & 3 get populated, then they get x8 each (or maybe 1 x16 and 1 x8). Slot 5 only has x4, and if populated it will disable one of the onboard M.2 slots I'm on Threadripper (1950x) for my main unraid system for this exact reason, lots of PCIE lanes: the typical base package gets at least 2 x16, 2 x8 and 3 M.2 (x4)... and you can bifurcate on most mobos also.
×
×
  • Create New...