koz97

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by koz97

  1. Hi Guys,

     

    I am currently using an rsync script on my UNRAID server to copy some files off it to another server on my network. 

     

    Whilst running the script, I am receiving this error for one of the shares I am trying to copy across:

     

         rsync: mkdir "/mnt/disks/UNRAID_Backups/Rysnc/ftp" failed: No such file or directory (2)
         rsync error: error in file IO (code 11) at main.c(664) [Receiver=3.1.3]

     

    The ftp folder has been created on the destination, so I am quite confused on why it is giving this error that the directory does not exist?

     

    Other shares have copied across sucessfully, I am just getting this error on the 'ftp' share.

     

    For reference, this is the whole rsync script that I am running:

    #!/bin/bash
    rsync -avzh --delete --log-file=/mnt/disks/UNRAID_Backups/Rsync-logs/Miscellaneous_log.`date '+%d_%m_%Y__%H_%M_%S'`.log /mnt/user/Miscellaneous/ /mnt/disks/UNRAID_Backups/Rsync/Miscellaneous
    rsync -avzh --delete --log-file=/mnt/disks/UNRAID_Backups/Rsync-logs/ftp_log.`date '+%d_%m_%Y__%H_%M_%S'`.log /mnt/user/ftp /mnt/disks/UNRAID_Backups/Rysnc/ftp
    
    if [ $? -eq 0 ]
    then
    /usr/local/emhttp/webGui/scripts/notify -s "`hostname` to BKNAS Rsync Backup complete" -d "Sync completed. `date`"
    else
    /usr/local/emhttp/webGui/scripts/notify -s "`hostname` to BKNAS Rsync Backup FAILED" -i "alert" -d "Sync failed. `date`"
    fi  

    Any help would be appreciated.

     

    Cheers!

  2. On 9/7/2019 at 12:35 AM, Hoopster said:

     

    I have two rsync scripts; the one that runs twice weekly, does not include -delete.  Every 90 days another script runs that does include -delete to eliminate from the backup the files no longer on the source server.  That gives me up to three months to figure out if something got deleted on the source server that I really need.

    Might try give this a crack. Thanks for sharing mate.

  3. Hi Guys,

     

    I am currently using an Rsync script to mirror various shares on my UNRAID server to a NAS box on the same LAN. 

     

    This script works great, but I realised that if I accidently delete some files on the source, it will delete them on the destination once the rsync script executes. 

     

    I know that I can remove the --delete switch from my script which will solve the issue stated above, but at the same time I don't want my destination filling up with unwanted files...

     

    Is there a way I can modify my script to solve this issue? I am open to trying new backup methods if needed to solve this issue.

     

    Thank you.  

  4. Just ran a test where I copied two ISOs from two different computers at the same time to a share which was located on my cache drive.

     

    Both files were copying at ~100MB/s, thus achieving 2Gpbs bandwidth to the UNRAID server. 

     

    So the bottleneck in my first test was my two array HDDs. Is this because there is a parity drive? 

  5. On 8/31/2019 at 2:17 AM, Benson said:

    First, does both port LACP dynamic status indicate success on switch side? Or simple if you found traffic (LED) at both port.

     

    I suggest you test by 2 PC and each read access 2 file from different unraid disk to verify LACP setup, if found could utilize the 2Gbps, then bonding is functional.

     

    There are several post about LACP setup not success.

    Yes, whilst transferring data to my UNRAID server, both ports on the switch that are apart of the trunk have activity fllickering on their LEDs. 

     

    I'm quite certain the trunk configuration is correct on the switch side of things as I currently have another trunk running into another server of mine running Windows Server 2012 R2.

     

    Is there anything I might be missing on the UNRAID side of things?   

  6. Hi Guys,

     

    I have just currently installed a managed switch on my home network. Since doing this I have created a bond (2x 1Gbps NICs) on my UNRAID server which now gives me 2Gbps of bandwidth. The bonding mode I have chosen is 802.3ad since my switch supports LACP. 

     

    On the switch side of things I have created a trunk, which includes 2 x 1Gbps ports being teamed together, which is also using the LACP protocol.

     

    Once completing these two steps, I conducted a test where I copied two large ISO files to my UNRAID server at the same time. The two PCs from which I copied these two files from are utilising 1Gbps NIC cards. In theory, I should be able to copy these ISO files at the same time from each computer at around ~100MB/s. Although, once putting this into practice I was only getting around ~50MB/s on each computer, giving me a total of 1Gbps of bandwidth to the UNRAID server. 

     

    Is there anything I might be doing wrong? Or is there possibly another bottleneck on my server which is slowing it down to 1Gbps? 

     

    Any help will be much appreciated.

     

    Thanks

  7. Hi Guys,

     

    Just wondering if anyone would be able to help me with the issue I am currently experiencing.

     

    I have a Windows 10 VM currently running on my UNRAID Server. On this Windows 10 VM I have some software running which interacts with my home Weather Station.

     

    The indoor unit of this weather station is currently plugged into my UNRAID server and has been passed through to my Windows 10 VM. 

     

    The issue I am having is that the indoor unit works great with the USB pass through for only a couple of days before it randomly just disconnects. To reconnect the indoor unit I must untick the check box under 'USB Devices' in the VM settings. Whilst doing that I do receive a 'VM Creation Error' which states the following, "error: Failed to attach device from /tmp/hotattach.tmp error: internal error: cannot parse product 0x0003#remove". Once clicking 'OK' to that error, I re-tick the USB device under the VM settings again and the indoor unit starts operating as normal. 

     

    I have also noticed the following error in the VM logs everytime the USB device disconnects: "libusb: error [udev_hotplug_event] ignoring udev action bind".

     

    Has anyone else experienced a similar issue with their USB passthrough?

     

    Any help will be greatly appreciated.