Posts Tagged ‘synology’

Recently multiple Transform jobs for Veeam on a Synology NAS was maxing out the I/O’s of the NAS , with the errors

Previous full backup chain transformation failed Error: Agent: Failed to process method {Transform.Patch}: An unexpected network error occurred.

applying the below registry keys and spacing out the transform fixed the issue 

 

SessTimeout - Reboot Required

Key: HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\
DWORD: SessTimeout
This is a value in seconds. Try a value of 600 decimal (10 minutes).
This increases the amount of time the Windows SMB client will wait for a response from an SMB server before it aborts the connection. The default timeout is one minute.

TcpMaxDataRetransmissions - Reboot Required

Key: HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
DWORD: TcpMaxDataRetransmissions
Try a value of 10.
This increases the number of times the Windows TCP implementation will retransmit a data segment before it aborts the connection. The default number of retries is five.
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Have a site without a server and want to test the speed?

Login to Synology and navigate to somewhere writable e.g. Volume1

wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py

Make the speedtest.py script executable.

chmod +x speedtest.py

Run SpeedTest
./speedtest.py

VN:F [1.9.22_1171]
Rating: 7.4/10 (5 votes cast)
VN:F [1.9.22_1171]
Rating: +1 (from 3 votes)

Recently I wanted to copy a load of files from a server to a Synology NAS. 

You can use Synology GUI to map a remote file using SMB with a username and password. You can then reference that folder for an RSYNC copy to do the inital sync then copy changes 

The RSYNC Command is below

rsync –archive –progress –verbose –inplace –exclude ‘*@SynoResource’ –exclude ‘@eaDir’ –exclude ‘*.vsmeta’ –exclude ‘.DS_Store’ ‘/volume1/Remote/Dir/’ ‘/volume1/Dir/’ >> /volume1/DIR/log1.txt 2>&1

Just to show you –Archive is equals -rlptgoD (no -H,-A,-X)  , so it will overwrite newer files with the older ones so only use the above for the initial sync

To replicate the rest when the new volume is being used do

rsync -rlptgoDu –progress –verbose –inplace –exclude ‘*@SynoResource’ –exclude ‘@eaDir’ –exclude ‘*.vsmeta’ –exclude ‘.DS_Store’ ‘/volume1/Remote/Dir/’ ‘/volume1/Dir/’ >> /volume1/DIR/log1.txt 2>&1

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)