Leaderboard

Popular Content

Showing content with the highest reputation on 04/21/18 in all areas

  1. @Jcloud I'm not sure if you are still struggling with this, but maybe this might be helpful? Follow up on this mainly to keep my notes all together for anyone else who runs across this issue/post. Originally posted by Bryan Jacobs at Re: [vfio-users] "Device or Resource Busy" and later referenced by unRAID users @brando56894, @realies, and brought to my attention by @Rhynri. You can in fact enable UEFI even with the issue noted above! Simply run the commands listed below prior to starting a VM. echo 0 > /sys/class/vtconsole/vtcon0/bind echo 0 > /sys/class/vtconsole/vtcon1/bind echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind What I ended up doing to automate this for me was using the User Scripts plugin by @Squid. Something akin to this. Add New Script Name efi-framebuffer_unbind Desciption (optional) Startup script which unbinds the efi-framebuffer after array startup to allow proper GPU passthrough and driver loading in VMs. Edit script (required) #!/bin/bash echo 0 > /sys/class/vtconsole/vtcon0/bind echo 0 > /sys/class/vtconsole/vtcon1/bind echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind Scheduled At Startup of Array Then just startup your server UEFI with UEFI enabled in unRAID and you'll be back in business. Many thanks to everyone listed above for their work and efforts!!!
    2 points
  2. This thread is reserved for Frequently Asked Questions, concerning all things Docker, their setup, operation, management, and troubleshooting. Please do not ask for support here, such requests and anything off-topic will be deleted or moved, probably to the Docker FAQ feedback topic. If you wish to comment on the current FAQ posts, or have suggestions or requests for the Docker FAQ, please put them in the Docker FAQ feedback topic. Thank you! Note: I am the author of many of these posts. But I am not the author of all of them. Due to circumstances beyond our control, the original postings have been lost, but I took it upon myself to salvage them, with the unfortunate net result that I had to take "ownership" of the posts. ANY user can reply to this thread with any new Q/A. I will add such posts to this table of contents. I need help with an application? What information should I supply? Getting Started How do I get started using Docker Containers? What are the host volume paths and the container paths Dockers, theres so much to learn!  Are there any guides? How do I know if I've set up my paths, ports, etc correctly? With 6.2, do I need to move my appdata and/or docker image into unRaid's recommended shares? How should I set up my appdata share? General Questions Why doesnt the "Check for Updates" button bring my Docker to the newest version of the application? How do I update to the newest version of the application? How do I move or recreate docker.img? What do I fill out when a blank template appears? How can I run other docker applications that are not listed within the App tab? I've told {App-X} to look / move / copy files via SMB to my server. Why doesn't it work? If I need to delete my docker.img file, will I lose my application's settings, etc? How do I get a command prompt within a docker application? How do I increase the size of my docker.img file? Why does the "EDIT" not appear on the dashboard / docker tab when I click on an icon? What do I do when I see 'layers from manifest don't match image configuration' during a docker app installation? How Do I Create My Own Docker Templates? I've recreated my docker.img file. How do I re-add all my old apps? I want to run a container from docker hub, how do I interpret the instructions. I want to change the port my docker container is running on or I have two containers that want to use the same port, how do I do that? Why it's important to understand how folder mappings work...  and an example of why it goes wrong. How do I Stop/Start/Restart Docker via Command Line How Do I Pass Through A device To A Container? Can I switch Docker containers, same app, from one author to another?  How do I do it? For a given application, how do I change Docker containers, to one from a different author or group? How do I install a second instance of an application? I closed the transfer window on Krusader. How do I get it back? How can I use private template repositories with unRaid? Docker Image Filling Up Why does my docker.img file keep filling up? Why does my docker.img file keep filling up while using Plex? My docker.img file is filling up due to excessive logging from various apps Troubleshooting, Maintenance Why don't my Docker Container and VM mappings of remote shares to the local mount point (/mnt/disks) work after updating to 6.9? How come I get "Execution Error" when trying to start a container? Why cant (insert docker app name here) see my files mounted on another server or outside the array Where did my Docker files go? Why did my files get moved off the Cache drive? Why does Sonarr keep telling me that it can't import a file downloaded by NZBGet? (Or any other combination of apps?) How do I limit the CPU resources of a particular docker application? How do I limit the memory usage of a docker application? Why do I keep losing my Docker container configurations? Why did my newly configured Docker just stop working? Fix Common Problems plugin is complaining about Container Port x not found or changed on installed applications. What do I do? Fix Common Problems plugin is complaining about UD Mounted paths not mounted with the Slave Option. What do I do? Why can't I delete / modify files created by CouchPotato (or another docker app)? Why does a certain docker application always start when booting unRaid when autostart is set off? Why are some of my applications randomly stopping and won't restart? (unRaid 6.4+ with Unassigned Devices mounting SMB shares) How do I fix permission issues on file(s) created by Plex DVR? Why does Unraid keep adding ports that I've removed from the template back to the application when I update? Why do my remote share mappings fail after I updated UD? Using private repositories within CA
    1 point
  3. I'd run find /mnt/user -name @eaDir -exec rm '{}' \; but because it's potentially dangerous I'd run find /mnt/user -name @eaDir -exec ls '{}' \; first to find and list them.
    1 point
  4. Yep, sorted it out. Unassigned devices runs under nobody on the /storj folder. Changed perms to root and its all good now.
    1 point
  5. just put the rules in space separated: ie for two clients 192.168.2.4 (read only) and 192,168.2.5 (write) place the following rules in the share. 192.168.2.4(sec=sys,ro) 192.168.2.5(sec=sys,rw)
    1 point
  6. 1 point
  7. I know this is ancient, but I have a startup script that runs echo 0 > /sys/class/vtconsole/vtcon0/bind echo 0 > /sys/class/vtconsole/vtcon1/bind echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind As a solution to the efifb problem on my machine, then I still have EFI boot.
    1 point
  8. It seems that with the 6.4.0-rc8a/rc9f prerelease, there are issues with a GPU being bound to the host that were not there with 6.4.0-rc7a. This results in various failed to write to memory messages in the log, assuming because the ROM file cannot be passed to the GPU properly, and the well-known error 43 in Nvidia's driver under Windows. This can be fixed without restarting or blacklisting the GPU in the kernel with the following commands prior booting the VM:
    1 point
  9. My VMs crash when they're under load because my CPU sucks, I'm dealing with it until my new motherboard comes in a few weeks. Whenever my Windows 10 VM crashes, it locks my Nvidia GTX 1070 that I have passed through to it, and won't let me boot the VM back up, citing this issue: root@unRAID:~# virsh start Windows\ 10 error: Failed to start domain Windows 10 error: internal error: process exited while connecting to monitor: 2017-08-19T09:14:20.728766Z qemu-system-x86_64: -chardev pty,id=charserial0: char device redirected to /dev/pts/1 (label charserial0) 2017-08-19T09:14:20.810864Z qemu-system-x86_64: -device vfio-pci,host=04:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio error: 0000:04:00.0: failed to open /dev/vfio/25: Device or resource busy If I choose VNC as my video output it's starts fine. A reboot of unRAID also fixes the issue, but I would rather not have to reboot my server when the VM crashes but everything else works well. I found this string of commands relating to the same thing over on the RedHat forums, but the last one won't work and just fails with "-bash: echo: write error: No such device" That was exactly what was going wrong. efifb had attached to some of the nvidia device's memory. Since efifb can't be compiled as a module, and I'd rather not turn it off, here's what I did: echo 0 > /sys/class/vtconsole/vtcon0/bind echo 0 > /sys/class/vtconsole/vtcon1/bind echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind This completely solves the problem and all is well doing passthrough on my Skylake system. Hopefully now that there's a solution with the right magic words in it on the Internet, others will find their answer here. Thanks again!
    1 point
  10. Is there a need / wish to do cpu selection for Dockers similar to what is done for VMs?
    1 point