jgs2n

Members
  • Posts

    82
  • Joined

  • Last visited

Posts posted by jgs2n

  1. Interesting. 

     

    When I made a share called /mnt/cache/domains, The directory showed up on my cache disk but not under user shares on the management page.  I then tried 

    mkdir /mnt/user/domains and the directory was created in user shares.  I then made it a cache only disk. 

     

    When I made a directory /mnt/cache/isos, The directory shows up both on the cache disk and as a user share on the management page.   There was something odd with "domains"

     

    I guess I am trying to recreate what I probably deleted in the past as docker and vm templates often install to these directories.   Are there other specifically named directories that are usually created automatically besides domains, isos, and system?

     

    I appreciate all the help.

  2. Cannot see the shares domains, iso and system listed under my user shares.  

     

    From my reading, these were automatically created shares  (are these the only automatically created shares?).

     

    When I try to create them in user shares, nothing happens.  

     

     

    I tried mkdir /mnt/user/domains and cmd returned No medium found

     

    If I make a test share with mkdir/mnt/user/domains, the test share is created as expected.  

     

     

    What is the best way to restore or create the shares above?

     

    Thanks

  3. I have some duplicati questions as I migrate from crashplan.

     

    1.  I  see that some people use an ftp plugin with duplicati.  What is the reason to use an ftp plugin on unraid?  I just pointed the folder path in  client duplicati install to unraid local ip\disk\folder.  Is there a downside to this?

    2.  What file transfer speeds can one expect?  For example, how long should it take to backup and  recover 1 terabyte of data over gigabit lan?  Is network performance or write speed the bottleneck for speed?

    3.  I assume that one only needs the duplicati docker if backing up the unraid server to the cloud.  What cloud services have people used?

    4. Finally, anyone find any other good options other than duplicati for backing up a bunch of windows machines to unraid?  Does anyone just use windows backup?

     

    Thanks for the help

  4. Great guide.  My only problem is that when connecting to the osx guest from windows 10 machine with vnc there is a bad mouse offset and the host cursor is not in sync with the guest cursor.  I tried tightvnc and same behavior.

     

    Any suggetions?

     

    <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
      <name>OSX-El-Capitan-10.11-VNC</name>
      <uuid>0ba39646-7ba1-4d41-9602-e2968b2fe36d</uuid>
      <metadata>
        <type>None</type>
      </metadata>
      <memory unit='KiB'>4194304</memory>
      <currentMemory unit='KiB'>4194304</currentMemory>
      <vcpu placement='static'>2</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='1'/>
        <vcpupin vcpu='1' cpuset='2'/>
      </cputune>
      <resource>
        <partition>/machine</partition>
      </resource>
      <os>
        <type arch='x86_64' machine='pc-q35-2.3'>hvm</type>
        <kernel>/mnt/cache/OSX Virtual Machine/enoch_rev2795_boot</kernel>
        <boot dev='hd'/>
        <bootmenu enable='yes'/>
      </os>
      <features>
        <acpi/>
      </features>
      <cpu mode='custom' match='exact'>
        <model fallback='allow'>core2duo</model>
      </cpu>
      <clock offset='utc'/>
      <on_poweroff>destroy</on_poweroff>
      <on_reboot>restart</on_reboot>
      <on_crash>destroy</on_crash>
      <devices>
        <emulator>/usr/bin/qemu-system-x86_64</emulator>
        <disk type='file' device='disk'>
          <driver name='qemu' type='raw'/>
          <source file='/mnt/cache/OSX Virtual Machine/ElCapitan.img'/>
          <target dev='hda' bus='sata'/>
          <address type='drive' controller='0' bus='0' target='0' unit='0'/>
        </disk>
        <controller type='usb' index='0'>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
        </controller>
        <controller type='sata' index='0'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
        </controller>
        <controller type='pci' index='0' model='pcie-root'/>
        <controller type='pci' index='1' model='dmi-to-pci-bridge'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
        </controller>
        <controller type='pci' index='2' model='pci-bridge'>
          <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:00:20:30'/>
          <source bridge='br0'/>
          <model type='e1000-82545em'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
        </interface>
        <input type='mouse' bus='ps2'/>
        <input type='keyboard' bus='ps2'/>
        <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
          <listen type='address' address='0.0.0.0'/>
        </graphics>
        <video>
          <model type='vmvga' vram='16384' heads='1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
        </video>
        <memballoon model='none'/>
      </devices>
      <seclabel type='none' model='none'/>
      <qemu:commandline>
        <qemu:arg value='-device'/>
        <qemu:arg value='usb-kbd'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='usb-mouse'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc'/>
        <qemu:arg value='-smbios'/>
        <qemu:arg value='type=2'/>
      </qemu:commandline>
    </domain>
    

  5. Tried to update docker and my docker disappeared.  Now when I try to reinstall I get the following.

     

    root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="CrashPlan" --net="host" -e TZ="America/New_York" -p 4242:4242/tcp -p 4243:4243/tcp -p 4280:4280/tcp -p 4239:4239/udp -v "/mnt/cache/App Data/Crashplan/":"/config":rw -v "/mnt/user":"/UNRAID":rw -v "/mnt/user/Backup/":"/backup":rw -v "/mnt/disks/":"/unassigned":rw gfjardim/crashplan

    Unable to find image 'Data/Crashplan/:/config:rw' locally

    Invalid namespace name (Data). Only [a-z0-9-_] are allowed.

     

    The command finished successfully!

    Running unraid 6.1.9

    My / config file is on /mnt/cache/App Data/Crashplan/.  /backup is on one of my disks.

     

     

     

    Not sure what I am doing wrong. Any help appreciated. 

  6. For follow up, I discovered my issue by reading a different thread (see below).  Setting the bios to onboard let the VM use the PCIE as described.  This is amazing!

     

    Quote from: stratus on August 19, 2015, 08:19:57 AM

    I checked the BIOS as well and the closest option is choosing the default graphics, which was set to PCIE

     

    Bingo...  That's your problem.  Change this option to use the on-board graphics.  This will then allow unRAID to output it's console to on-board and use the PCIE GPU for the VM.

     

    I probably need to add this to the wiki...

     

     

  7. Thanks. I think I understand.  Just for clarification...

     

    So if I start a VM (via the unraid web interface) and it has passed through local graphics, this is what will appear on a monitor plugged into the passed through graphics card?

     

     

  8. I am new to the vm world.  I have a windows 10 VM working great.  I get to it from windows remote.  I am uncertain how to start it from the actual local unraid server console? 

     

    One other question:  Do most run antivirus software on the VM?

     

    Thanks

  9. How do you know if you get code 43 error if the VM don't start?

     

    When I first installed the graphics card I had a virtual machine running with hyper-V on and got the code 43 error.  When I turned hyper-v off, the vm started.  Then I installed nvidia drivers and on reboot, the machine would not start.

     

    Going to borrow a different card from a friend and try different hardware.

     

    Thanks.

  10. Tried windows 7 without success. 

     

    Xml is below.

     

    <domain type='kvm' id='81' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
      <name>Windows 7</name>
      <uuid>ca58a6fb-8750-0461-633d-956178808afa</uuid>
      <metadata>
        <vmtemplate name="Custom" icon="windows7.png" os="windows7"/>
      </metadata>
      <memory unit='KiB'>4194304</memory>
      <currentMemory unit='KiB'>4194304</currentMemory>
      <memoryBacking>
        <nosharepages/>
        <locked/>
      </memoryBacking>
      <vcpu placement='static'>4</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='4'/>
        <vcpupin vcpu='1' cpuset='5'/>
        <vcpupin vcpu='2' cpuset='6'/>
        <vcpupin vcpu='3' cpuset='7'/>
      </cputune>
      <resource>
        <partition>/machine</partition>
      </resource>
      <os>
        <type arch='x86_64' machine='pc-q35-2.3'>hvm</type>
      </os>
      <features>
        <acpi/>
        <apic/>
      </features>
      <cpu>
        <topology sockets='1' cores='4' threads='1'/>
      </cpu>
      <clock offset='localtime'>
        <timer name='rtc' tickpolicy='catchup'/>
        <timer name='pit' tickpolicy='delay'/>
        <timer name='hpet' present='no'/>
      </clock>
      <on_poweroff>destroy</on_poweroff>
      <on_reboot>restart</on_reboot>
      <on_crash>restart</on_crash>
      <devices>
        <emulator>/usr/bin/qemu-system-x86_64</emulator>
        <disk type='file' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source file='/mnt/cache/Windows Virtual Machine/Windows 7/vdisk1.img'/>
          <backingStore/>
          <target dev='hdc' bus='virtio'/>
          <boot order='1'/>
          <alias name='virtio-disk2'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/>
        </disk>
        <disk type='file' device='cdrom'>
          <driver name='qemu' type='raw'/>
          <source file='mnt/cache/Windows Virtual Machine/Windows 7/GRMCPRXFREO_EN_DVD.ISO'/>
          <backingStore/>
          <target dev='hda' bus='sata'/>
          <readonly/>
          <boot order='2'/>
          <alias name='sata0-0-0'/>
          <address type='drive' controller='0' bus='0' target='0' unit='0'/>
        </disk>
        <disk type='file' device='cdrom'>
          <driver name='qemu' type='raw'/>
          <source file='/mnt/cache/Windows Virtual Machine/Windows 10/virtio-win-0.1.96.iso'/>
          <backingStore/>
          <target dev='hdb' bus='sata'/>
          <readonly/>
          <alias name='sata0-0-1'/>
          <address type='drive' controller='0' bus='0' target='0' unit='1'/>
        </disk>
        <controller type='usb' index='0' model='ich9-ehci1'>
          <alias name='usb'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x7'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci1'>
          <alias name='usb'/>
          <master startport='0'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0' multifunction='on'/>
        </controller>
        <controller type='sata' index='0'>
          <alias name='ide'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
        </controller>
        <controller type='pci' index='0' model='pcie-root'>
          <alias name='pcie.0'/>
        </controller>
        <controller type='pci' index='1' model='dmi-to-pci-bridge'>
          <alias name='pci.1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
        </controller>
        <controller type='pci' index='2' model='pci-bridge'>
          <alias name='pci.2'/>
          <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <alias name='virtio-serial0'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:9d:9a:1e'/>
          <source bridge='br0'/>
          <target dev='vnet0'/>
          <model type='virtio'/>
          <alias name='net0'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
        </interface>
        <serial type='pty'>
          <source path='/dev/pts/0'/>
          <target port='0'/>
          <alias name='serial0'/>
        </serial>
        <console type='pty' tty='/dev/pts/0'>
          <source path='/dev/pts/0'/>
          <target type='serial' port='0'/>
          <alias name='serial0'/>
        </console>
        <channel type='unix'>
          <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/Windows 7.org.qemu.guest_agent.0'/>
          <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
          <alias name='channel0'/>
          <address type='virtio-serial' controller='0' bus='0' port='1'/>
        </channel>
        <memballoon model='virtio'>
          <alias name='balloon0'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x05' function='0x0'/>
        </memballoon>
      </devices>
      <qemu:commandline>
        <qemu:arg value='-device'/>
        <qemu:arg value='ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=2,chassis=1,id=root.1'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='vfio-pci,host=01:00.0,bus=pcie.0,multifunction=on,x-vga=on'/>
      </qemu:commandline>
    </domain>
    

    xml.txt

    xml.txt