Mysticle31

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by Mysticle31

  1. Got it. This probably doesn't help the community, mods can remove. https://askubuntu.com/questions/63594/mount-encrypted-volumes-from-command-line
  2. I bought a new hdd for encrypted offline storage. I can create the XFS encrypted volume in Unassigned Devices but it refuses to mount the partition. No errors, no logs, just click mount and nothing. I cannot see my device under /dev/mapper. How can I mount this manually? Where do I start to diagnose?
  3. Ever get anywhere with this? I never did for me. What I did notice was that my USB Switch has an impact on the issue. It's worked great for months now, sometimes will die but if I unplug the switch then plug a device directly into the usb port, sometimes it comes back. Then sometimes I can put the switch back on and continue for awhile, sometimes the switch wont work and I'll have to reboot. It's strange. I've thought about getting an external USB card (I'm using MB only ports) and seeing if it behaves differently.
  4. Newbie question I suppose... Why does my missing disk have data on it? I can see and access the data on it...? The drive is physically not there! I think I disabled it in the bios, but maybe I just took it out of the array. Is Unraid putting data on it? Disk 2 is showing 3.02 GB used... but it's empty? Background: My drives are developing bad sectors and the array was full so moved all the data I never use to offline cold storage, and consolidated everything to disk3. The system is deciding to put stuff on disk1 which I removed. Bonus question... I built my rig in 2014 (I think) as a Desktop/Game system that saw Unraid use right away. It's an i5-4690K, 4th Gen with 32gb ram. I think the ram is the only thing keeping it alive, if I had a 16gb limit I might have replaced it already! The hardware is still fairly capable...I haven't ran into any limits with it running my dockers and a couple VMs. More cores could be nice...I could get an 8 core cpu used and run it some more... Should I just update the drives or build a new server? I was hoping to get a couple more years out of the hardware I have... but I'd say that a couple of years from now too! Now that it's an server, I'd like to build a smaller 4-5 external drive bay rig I can hide somewhere rather than my full tower.
  5. Perfect! Thanks Squid. How can I add fields to the XML which populate configuration in my app. Something like user and password and ip address of a remote server? I've seen fields like this in other apps... Or I could little welcome configuration screen web ui... That would be a fun project.
  6. I've been working on a new Docker image. It's an API for requesting unraid domain and container status, as well as controlling them. I've sent it to docker hub and I can pull the image, and run the container but it doesn't show up right in the Dockers tab. How can I integrate with Community Applications, make and test a .xml to configure the installation? Strangely I can't find the docker in dockehub CA so I downloaded with the command line. I'm hoping the search will be available in a few hours as I just uploaded it. Also if you know of any other dockers that can query status of and start/stop domains and dockers, let me know! Love to check it out.
  7. So files that are saved via a docker app (Brave, Firefox..etc) that are saved to a share are saved with invalid permissions. I can't write to the folder from my NTFS share. This isn't an NTFS share issue. To fix I have to chmod 777 the share folder in unraid and then the files are writable. I remember there was a set of directions how to fix this...dont remember where and never wrote it down. How can I have dockers save new files to the share with read/write by everyone?
  8. You should have an open to command prompt buried in those recovery menus somewhere. Something all my W10 clients get (or used do when I used it more) bcdedit /set {current} bootmenupolicy Legacy Allows F8, otherwise it's ~3 times of failed boot before it will prompt for recovery mode.
  9. Trying to pass an integrated Haswell GPU to some VMs. It will work great in Seabios but OVMF just displays a blank screen. Why? Where is the best place to begin debugging? When I start the VM with a monitor in sleep mode, I can see the monitor power on display no signal and then go back to sleep. Which is what I want to do in the mornings sometimes! I've read that sometimes Seabios is harder to get working than OVMF. Wonder of OVMF requires a vbios which I do not have.... Except from my syslog says
  10. I just saw it happen, and fortunately had the console open. I dont always see unraid reporting anything. My Linux VM reported Unraid reported lspcid'd it Sure enough IRQ 18 Tried to rmmod and modprobe vfio-pci. Didn't work
  11. I'm having the exact same issue with my VMs as Elie above. Intel passthru only works with Seabios. Mine doesn't show anything. Is there a place in logs we can check? Tips tricks?
  12. If there are raw, sounds right. Dont delete them until it works. DD, Clonezilla..etc. Might have to fix the boot loader depending on how they boot. EFI , BIOS. Have you tried yet? What happened?
  13. TLDR Summary: USB Switch switching between two laptops and an unraid VM. The VM doesn't always connect back when being switched. Sometimes it picks up right away, sometimes takes a minute, mostly requires a server reboot. Linux VM, Windows VM doesn't seem to matter. Would like to avoid the server reboot at the very least! Is there a way to reset the hardware stack or drivers via command line? How can I begin to diagnose and address this USB VM Passthru issue? Details: In a fit of irony, I've been watching lsmod and lspci to look for changes for the past few hours, but it's worked EVERY TIME. I'll try and grab working and not working logs... Interestingly, I can know when the system freaks out because I have this corded optical mouse and I can watch the light flash instead of being solid. Just unplugging and re-plugging the mouse sometimes makes the mouse work, but when it doesn't...time to reboot the server. Here is a process, Server off. Start Server USB device connected Start VM USB device connected + passthru enabled VM Recognizes Device, usable in VM Switch off the VM to one of the laptops and the laptop will recognize the device instantly. 5. Switch back to the VM and several things could happen Recognizes the device instantly (fairly rare) Recognizes the device in a minute. Wont recognize at all and have to switch back and forth a few times to make it recognize. Have to reboot the server and start this process over. Rebooting the VM does not help.
  14. Recently updated my server to the latest versions of everything. Quarantine Fun! Is there a way to reset the hardware stack or drivers via command line? I'm passing though a USB controller and graphics card to some VMs. USB devices on the VM are attaced to the USB controller with a switch so I can switch between another computer and the VM. Sometimes the controller freaks out... a server reboot takes care of the issue. Linux/Windows VMs will report: Is there a way to reset the hardware stack or drivers via command line? Thanks!!!
  15. In my hearts of hearts I had thought that would be the answer. Thank you for the vid!!
  16. That's perfect, thank you! Hadn't seen that video in my research. Love spaceinvader videos. This does 80% of what I'm after. What would make it better, is if there was a way for the VM to run when GPU was disconnected and the ability to disconnect/reconnect the GPU while the VM is running. That way I could have a task going on one VM and switch to another. I just had the idea of USB 3.0 external graphics cards. Not sure how good they are or of they'll work with some of my Linux distros.
  17. Hey Glorious Unraiders and KVMers. I run 2-4 VMs at a time and I'd like to passthrough graphics and usb controllers. Been doing research on that, no problem doing it. Is there a way to dynamically change which VM gets the passthrough? It would work like a virtual KVM. I'd have one graphics card, one monitor, one mouse and one keyboard. I'd like to chose which VM they get assigned to and switch among them. I'm using VNC/Splashtop right now. I'd keep that operational for remote access, but dont like that Splashtop needs internet to work. Would like a non-network solution. Current Idea is to create a passthough VM XML and a non-passthough XML. Then I could write scrips to switch the VMs XML files, so the process would be. If started, shutdown VM. Copy in (or out) VM XML with passthough configured (or not configured) Start VM Would that work? It's not ideal on a few levels. Are there any better options?
  18. Perfect! User Scripts. That opens the door for me to do all kinds of things. Thanks! Any idea what the best way is to write a script to monitor output from ping? Whats the best/easiest way. Other than having one script run the ping command continuously, printing the output to a file. Then another script to read the contents of the file and look for "bad" "disconnected" whatever terms ping uses. Then another script to delete the file every month or so.... complicated.
  19. Seen this done with multiple monitors to one unraid workstation with gaming VMs. Thinking latency of VNC, SplashTop Desktop, TeamViewer RDP...whatever would be to high for gaming. Your basically using the NUCs to make wireless monitors.
  20. I have a perhaps unusual network typology, pictured. https://imgur.com/RXVgMrF What happens is Router B often randomly looses connection (especially after long periods of no-use [eg. overnight]). To solve this problem all I have to do is reboot Router B, wait 2-3 minutes, and Router C will be connected again. Sometimes Router C stops trying to get an address on the WAN port and I have to log in and tell it to connect. What I'm after is a script where, from Unraid (or Router C) I ping Router A every minute. This might in-and-of-itself keep the connection up. If the ping fails, kill power to the WIFI switch that powers Router B (I can handle that part), then ssh into Router C and tell it to connect (I can handle that too). What I'm not sure how to do is trigger an if statement for if the ping fails. I also dont know how to make the script run on Unraid at system boot in the background. Can I put something like this in a simple docker that starts at startup? That way I can switch it on and off easily. Is there a basic lightweight docker with command line network utilities only? How would I make this? Any examples?
  21. I'm having this same permissions issue. I just ran DockerSafeNewPerms which fixed all the files created by syncthing, however, I can't modify new files created by syncthing. Can I somehow pass to the docker to create the files as 777 or some such thing? Worst off maybe schedule DockerSafeNewPerms to run daily at night... not an ideal solution. FYI my speed seems fine. I had to turn off everything but local discovery, and changed my server's ip from dynamic to it's actual ip. Things go much faster now, although still slower than transferring files in windows explorer.
  22. I have BRNAME in domain.cfg and it's set to BR0. Bridging is enabled in settings. I guess something just went funky. Or maybe I messed with it some point while poking around with unraid. I remember removing an reinstalling the plugin though after when I was done messing with things.
  23. 6.6.2 not latest...I just installed like...2 days ago. Anyhow, works! For some reason, the script was using virbr0. I even have br0 specified in the default network for VMs. Thanks! ps aux and grep...my linux/unix knowledge is so bad..need to mess around some more. Would virbr0 even work? I thought that was like a NAT for VMs you dont want to directly expose to the network. The script is looking at the packets coming in off eth0 and then looking up a mac address from the specified network (br0/virbr0/whatever) and running the command to start the vm, right?
  24. 6.6.2. Should be the latest one. No change with your latest update that I just installed.