Arbadacarba

Members
  • Posts

    296
  • Joined

  • Last visited

Posts posted by Arbadacarba

  1.     <disk type='file' device='disk'>
          <driver name='qemu' type='qcow2' cache='writeback'/>
          <source file='/mnt/disks/NVMe/VMs/ESXi/vdisk2.img'/>
          <backingStore/>
          <target dev='hdd' bus='sata'/>
          <alias name='sata0-0-3'/>
          <address type='drive' controller='0' bus='0' target='0' unit='3'/>
        </disk>
     

    Is my disk info

     

    Where are you seeing the VT-x thing?

  2. Did you create the primary vdisk and make it USB?

     

    When I did my install I had the iso of the installer and an 8GB drive created and mounted as USB. Then I created a 100GB img on my cache drives to use as the array.

  3. I'll try to show what I did a little more clearly... I was sitting in a coffe shop passing time when I sent that earlier.

     

    Goals:

    I have a 500GB NVMe drive that houses two partitions: My previous Windows 10 install that powered my server before I discovered Unraid, and a second partition that I wanted to use for things that I want to run as fast as possible (ie: Docker, components and VMs).

     

    I made my Windows install usable as both a bare metal installation and inside the VM using SpaceInvaders instructions - Working

     

    Then I copied the domain, system, and appdata folders to the second partition of the NVMe drive and used the Setting Screens for VMS and Docker to assign their new locations on the NVMe drive (Second Partition is actually named NVMe) then deleted the old ones by removing them from the share folder and from the media folder as seen through krusader.

     

    Then I adjusted Krusader as below:

     

    image.thumb.png.c3a5ae91df23cefbef0c1a36d1f60025.png

     

    You can see the entries for NVMe and Unassigned Devices.

     

    In Krusader I get: image.thumb.png.390b3eaadc9cb40eb27ba1ba673bfc26.png

     

    and UNASSIGNED works as I would expect as well.

     

    Here's where it got weird and I guess I have an idea of why:

     

    Because of the way I created entries for them in Krusader, it created a folder or "something" in the /mnt/user folder.

     

    In "User Shares" in the web UI I have:

    image.thumb.png.eda2d9196712941b0ca6816fccde063e.png

     

    I did not create those shares other than by using Krusader.

     

    However, when I look in them on this screen using the view button they are empty... and in Network on my Windows 10 machines they appear empty as well...

     

    I wonder if there is a way to create a symlink or something instead of a folder in that /mnt/user folder that would be more useful. 

     

    Thanks for reading... I really haven't a clue what I'm doing. I have 25+ years with windows and about 2 months of linux.

     

     

  4. Thanks. Hmm... I wonder... I tinkered around and my Drives mapped in Unassigned Devices showed up in my Shares screen... I wonder if they would work.

     

    I moved my System, Domain, and Appdata folders onto the second partition of my NVMe drive and while playing with mappings in Krusader noticed that UNASSIGNED and NVMe (The names of the shared folders) appeared in my Shares... I don't remmember the UNASSIGNED one being there before.

     

    I don't actually use those shares from other computers so would not having my Windows accounts access them even matter?

     

    OK, More playing after my little guy goes to bed tonight.

  5. I've used the Script option built right into Unassigned Devices.

     

    I found a script on the support page and then modified it to fit my needs. I want it to backup certain folders to my First 5tb USB drive and others to a Second 5TB drive so I wrote a gereric script and have two versions loaded on with the two drive profiles.

     

    I still have a few tweaks I might do, but this is working so far:

     

    #!/bin/bash
    
    PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/emhttp/webGui/scripts
    
    ########## Edit Variable Names and list Shares to be backed up ##########
    
    ServerName=("Tower")
    DiskName=("Backup #")
    ShareNames=("Share1" "Share2" "ETC")
    
    ########## Static Script Section Bellow ##########
    
    NumberOfShares=${#ShareNames[@]}
    
    case $ACTION in
      'ADD' )
        sleep 2
    #        /usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Server Backup" -d "Jupiter Backup Test Drive Mounted" -i "normal"
        if [ -d $MOUNTPOINT ]
        then
          if [ $OWNER = "udev" ]
          then
    
            logger Started -t$PROG_NAME
            notify -e "Unraid Server Notice" -s "${ServerName} Backup" -d "${DiskName} initiated" -i "normal"
            echo "Started: `date`" > $LOGFILE
    
    ##########          ##########          ##########          ##########          ##########
    
            counter=0
            while (( counter <= NumberOfShares-1 ))
            do
             sequential=${counter}
             let sequential++
             sleep 1
             logger $ShareNames[counter] share -t$PROG_NAME
             if (rsync -a -v /mnt/user/${ShareNames[counter]} $MOUNTPOINT/ 2>&1 >> $LOGFILE)
              then
               {
                notify -e "Unraid Server Notice" -s "${ServerName} Backup (${sequential}/${NumberOfShares})" -d "${ServerName} ${ShareNames[counter]} Share Backup Completed" -i "normal"
                echo "${ShareNames[counter]} Backed up: `date`" >> $LOGFILE
                echo >> $LOGFILE
               }
              else
               {
                notify -e "Unraid Server Notice" -s "${ServerName} Backup (${sequential}/${NumberOfShares})" -d "${ServerName} ${ShareNames[counter]} Share Backup FAILED" -i "alert"
                echo "${ShareNames[counter]} FAILED to back up: `date`" >> $LOGFILE
                echo >> $LOGFILE
               }
             fi
             let counter++
            done
            sleep 1
    
    ##########          ##########          ##########          ##########          ##########
    
        # Create Backup of Flash Drive
        flash_backup
    
        # Copy Backup to USB Drive
    
             sleep 1
             logger Flash Backup -t$PROG_NAME
             if (rsync -a -v /*flash-backup*.zip $MOUNTPOINT/Flash/ 2>&1 >> $LOGFILE)
              then
               {
                notify -e "Unraid Server Notice" -s "${ServerName} Backup" -d "${ServerName} Flash Backup Completed" -i "normal"
                echo "Flash Drive Backed up: `date`" >> $LOGFILE
                echo >> $LOGFILE
               }
              else
               {
                notify -e "Unraid Server Notice" -s "${ServerName} Backup" -d "${ServerName} Flash Backup FAILED" -i "alert"
                echo "Flash Drive FAILED to back up: `date`" >> $LOGFILE
                echo >> $LOGFILE
               }
             fi
    
            sleep 1
    
    
        # Delete zip file
        rm /*flash-backup*.zip
        rm /usr/local/emhttp/*flash-backup*.zip
    
    ##########          ##########          ##########          ##########          ##########
    
            logger Syncing -t$PROG_NAME
            sync
    
            logger Unmounting ${DiskName} -t$PROG_NAME
            /usr/local/sbin/rc.unassigned umount $DEVICE
    
           echo "Completed: `date`" >> $LOGFILE
            logger ${DiskName} drive can be removed -t$PROG_NAME
    
            notify -e "Unraid Server Notice" -s "${ServerName} Backup" -d "${DiskName} completed" -i "normal"
        fi
        else
            logger ${DiskName} Not Mounted -t$PROG_NAME
      fi
      ;;
    
      'REMOVE' )
      ;;
    
      'ERROR_MOUNT' )
    
    notify -e "Unraid Server Notice" -s "${ServerName} Backup" -d "Could not mount ${DiskName}" -i "normal"
      ;;
    
      'ERROR_UNMOUNT' )
    
    notify -e "Unraid Server Notice" -s "${ServerName} Backup" -d "Could not unmount ${DiskName}" -i "normal"
      ;;
    esac

    Edit: Cleaned up some timing issues, added variables, and added a backup of the flash drive

     

    • Like 1
  6. Could it be that the current version of windows refuses to connect to anoymous shares? I had to enable insecure guest access in Group Policy settings:

     

    Computer configuration\administrative templates\network\Lanman Workstation

    "Enable insecure guest logons"

     

    https://support.microsoft.com/en-ca/help/4046019/guest-access-in-smb2-disabled-by-default-in-windows-10-and-windows-ser

     

    I did this and was happy with the result.

  7. Just a quick note that there is anther solution to this problem without enabling SMB1. Microsoft has replaced SMB with "Function Discovery" (in a manner of speaking) and there is a daemon / script that enables that for Linux.

     

    I have "Instructions" in the thread here:

    forums.unraid.net/topic/82765-solved-windows-network-working-with-no-smb1/ 

     

    Kevin

    • Like 1
  8. Just a quick note that there is anther solution to this problem without enabling SMB1. Microsoft has replaced SMB with "Function Discovery" (in a manner of speaking) and there is a daemon / script that enables that for Linux.

     

    I have "Instructions" in the thread here:

    forums.unraid.net/topic/82765-solved-windows-network-working-with-no-smb1/ 

     

    Kevin

  9. Just a quick note that there is anther solution to this problem without enabling SMB1. Microsoft has replaced SMB with "Function Discovery" (in a manner of speaking) and there is a daemon / script that enables that for Linux.

     

    I have "Instructions" in the thread here:

    forums.unraid.net/topic/82765-solved-windows-network-working-with-no-smb1/ 

     

    Kevin

  10. Just a quick note that there is anther solution to this problem without enabling SMB1. Microsoft has replaced SMB with "Function Discovery" (in a manner of speaking) and there is a daemon / script that enables that for Linux.

     

    I have "Instructions" in the thread here:

    forums.unraid.net/topic/82765-solved-windows-network-working-with-no-smb1/ 

     

    Kevin

     

  11. Just a quick note that there is anther solution to this problem without enabling SMB1. Microsoft has replaced SMB with "Function Discovery" (in a manner of speaking) and there is a daemon / script that enables that for Linux.

     

    I have "Instructions" in the thread here:

    forums.unraid.net/topic/82765-solved-windows-network-working-with-no-smb1/ 

     

    Kevin

  12. Just a quick note that there is anther solution to this problem without enabling SMB1. Microsoft has replaced SMB with "Function Discovery" (in a manner of speaking) and there is a daemon / script that enables that for Linux.

     

    I have "Instructions" in the thread here:

    forums.unraid.net/topic/82765-solved-windows-network-working-with-no-smb1/ 

     

    Kevin

  13. Just a quick note that there is anther solution to this problem without enabling SMB1. Microsoft has replaced SMB with "Function Discovery" (in a manner of speaking) and there is a daemon / script that enables that for Linux.

     

    I have "Instructions" in the thread here:

    forums.unraid.net/topic/82765-solved-windows-network-working-with-no-smb1/ 

     

    Kevin

  14. This is a rough first draft… I'm not a Linux expert in ANY way and barely understand what I've done here… In fact it is likely my ignorance that allowed me to make this work. Please feel free to suggest edits and improvements on this. I will edit this as appropriate.

     

    Some time ago after the elimination of SMB1 from Windows 10 I discovered that my Media Server (Windows 10) and the other network shares offered by my Windows machines were not visible in the Network folder.

     

    I did some research and discovered that the Network Folder could be made useful again by enabling the "Function Discovery Provider Host" and "Function Discovery Resource Publication" services and setting them to "Automatic (Delayed Start)"

     

    In addition I had to enable insecure guest access in Group Policy settings:

     

    Computer configuration\administrative templates\network\Lanman Workstation

    "Enable insecure guest logons"

     

    https://support.microsoft.com/en-ca/help/4046019/guest-access-in-smb2-disabled-by-default-in-windows-10-and-windows-ser

     

    I did this and was happy with the result.

     

    Once I rebuilt my Media Server with Unraid I made the discovery that my shares from the new server were missing.

     

    I watched several videos and read a ton of forum and reddit posts that concluded that the only fix was to re-enable SMB1 on the client computers. Since my laptop spends most of its time in various corporate environments I really don't want to be responsible for brining that risk anywhere near my clients.

     

    What Follows is not going to be an explanation of how this works - because to be honest I've used linux for exactly 10 days, and all of that has been with unraid - but rather a quick and dirty how too. I'm going to include the articles I read so that someone else may figure out any improvements or correct anything I've got wrong.

     

    I found a reference to the fdPHost and FDResPub programs which led me to:

     

    https://www.reddit.com/r/linuxquestions/comments/b8vorm/is_samba_the_best_way_to_share_files_over_a/ 

     

    Which was written for and incompatible version of linux that uses the /etc/systemd/ folder structure. I googled WSDD for a while and came up with:

     

    https://github.com/KoynovStas/wsdd 

     

    Which got me looking for the init.d folder on my Unraid server and not finding that either.

     

    Eventually it occurred to me that I should try running the script manually and see what that did. The Script can be found at:

     

    https://github.com/christgau/wsdd/blob/master/src/wsdd.py 

     

    So I created the wsdd file in /boot/config and dropped the text from the script into it without editing it at all.

     

    Then made that file executable with:

     

    chmod ugo+x wssd

     

    Then I discovered I didn't have python so installed that from Nerd Pack.

     

    Upon running the wssd I was immediately shown my server in my Network Folder, and the line:

     

    root@Jupiter:/boot/config# 2019-08-18 14:32:46,463:wsdd WARNING(pid 11260): no interface given, using all interfaces

     

    - in the console. Pressing enter brings you back to the prompt… I'll have to look into changing that.

     

    Woo Hoo !!!

     

    Then I added:

     

    /boot/config/wsdd &

     

    To my Go file and now it runs after a reboot. It shows than line on the console but everything seems to work fine.

     

    There were a couple of red herrings along the way… I tried running it from a self created init.d folder and while that looked promising, it turns out the Go fill command I was using to create the folder and copy the files over was running after init was finished. So that didn't work at all.

    • Like 1
  15. thanks everyone... my problem was far simpler than I knew...

     

    I was thinking that to RDP to my windows VM I would use the server_ip:VMPort... Not realizing that my VMs have their own IP addressed but the router.

     

    Oops... Newbie mistake

     

    As for external access... No, I have no availability from the internet. I'm on a cell IP system, so even my public IP address is run through my providers router and is completely unreachable unless the application is broadcasting to a clearinghouse (IE Plex)

     

    Thanks... I'm really loving the way this thing works so far.

     

     

  16. Sorry to resurrect an old thread... But I'm trying to use RDP into the Windows VM running on my local server and cannot seem to figure out whee to find the port it's on.

     

    I have to use RDP at work almost continuously and used to RDP into my Windows server that I am replacing with the Unraid server, but still see a need to get into a Windows 10 VM occasionally for software testing.

     

    Thank You

  17. Considering using Unraid but have no idea if what I want to do is possible... Or even a good idea.

     

    I have a server that I use for file sharing and plex... And a few other windows tasks that are remotely accessed.

     

    It has a fairly large number of large drives connected to it and 3 1TB SSD's that I want to use for cacheing. As well as a NVMe drive that I would use for houseing a Windows 10 virtual machine drive.

     

    What I want to do is install Unraid on my bare metal server, install the plex server on that and then run a VM of Windows on it to run the Windows components that I need...

     

    My question is this... Can I set up the virtual machine to run directly on the Unraid server? As in plug a keyboard, mouse, and Monitor into the server and have that monitor see the VM... So if my wife needs to sit down at the Unraid servers connected peripherals she can be easily looking at a windows 10 computer.

     

    I know I've restated the question twice there... But I'm trying to avoid confusion. I've tried searching and just can't seem to find the answer to that.

     

    Thank you