Websites | Photography | Video Editing | 3D Animations

From the Blog

Posted by Paul Costan at 10:17 am

Step 1. DNS
First you need to visit your host provider and go to Manage your Domain Name System (DNS) settings. For example I use Cloudflare to manage DNS. There you will need to add a new CNAME record. So for example I want a subdomain

To do this you add new DNS Records:

NAME – helloworld
TTL – Automatic
Status – DNS Only

Step 2. Router
Make sure your router is setup with port forwarding point to your Synology server.
ie `,443`

Step 3. Synology server
Finally login to you Synology box and go to Control Panel > Application Portal > Reverse Proxy. Here you will need to add new Revers Proxy Rules. The rest is straight forward. So now you can check is your new domain URL works. If not, go back and check all three setting are correct.


If you are like me bought a NAS drive and want to build up storage over time due to the high expense of hard drives. The best way is to start off with 2 Hard disks as Raid 1. Then if you have enough money later on to buy the 3rd Expanding your 3rd drive a Raid 5. Depending how big your hard drives this process of expanding with Synology NAS can be a long process which can take days before you can see changes. I understand why, because anyone on your network will not be interrupted if the server is down, So it will be business as usual. But what if you need the extra space urgently hence the purchase of the third drive? Well, you come to the right place. Here is how to speed up expanding NAS.

Open terminal on you mac Putty for windows,

Type in the following to see progress:

cat /proc/mdstat

You should see something like this:

Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md3 : active raid5 sdc6[2] sdb6[0] sda6[1]
7657726592 blocks super 1.2 level 5, 64k chunk, algorithm 2 [3/3] [UUU]
[============>........] reshape = 61.6% (4722524224/7657726592) finish=402.6min speed=121486K/sec

md2 : active raid5 sdc5[3] sda5[2] sdb5[1]
151459776 blocks super 1.2 level 5, 64k chunk, algorithm 2 [3/3] [UUU]

md1 : active raid1 sdc2[2] sda2[0] sdb2[1]
2097088 blocks [4/3] [UUU_]

md0 : active raid1 sdc1[2] sda1[0] sdb1[1]
2490176 blocks [4/3] [UUU_]

Here is what you need to look for:

reshape = 61.6% (4722524224/7657726592) finish=402.6min speed=121486K/sec

If you go here and type in the mins to finish you can work out how long roughly to complete expanding process.

The first this you need to do is switch over to ‘root’ user. To do this type in:

Sudo -i

Next set speed NAS speed

cat /proc/sys/dev/raid/speed_limit_min

cat /proc/sys/dev/raid/speed_limit_max

cat /sys/block/md3/md/stripe_cache_size

Copy and paste the following make increases:

echo 250000 > /proc/sys/dev/raid/speed_limit_min

echo 250000 > /proc/sys/dev/raid/speed_limit_max

echo 32768 > /sys/block/md3/md/stripe_cache_size

finally checkout the speed now and on your Resource monitor gui:

cat /proc/mdstat

Posted by Paul Costan at 11:47 pm

First of all you need to enable NFS on your Mac, to do this type this command
sudo nfsd enable
$ cd /etc/
Then you have to edit if not create file called ‘exports’
$ sudo nano exports
path to your directory you want to mount follow by “-alldirs -mapall=501”
"/Volumes/LaCie" -alldirs -mapall=501
List show user ID (Commonly you want 501)
$ id
Every time you make a change to this file you need to restart NFS services.
$ sudo nfsd restart
Confirm your NFS paths
$ showmount -e

Finally Login to your Synology server, go to ‘File station’ > ‘Tools’ > ‘Mount remote Folder’ > ‘NFS Shared Folder’
In the Folder files put in your Mac’s IP follow by the path

– First login into your synology NAS server.
– Go to Package Centre.
– Click on ‘Settings’ button and select the ‘Beta’ tab.
– Tick the checkbox ‘Yes, I want to see beta versions!’.
– Next, go to ‘Utilities’ and find ‘Virtual Machine Manager’.
– Click on ‘Virtual Machine Manager’ and hit the ‘Install’ button.
– Once installed, Launch the app.

Install guest-agent
open terminal in Ubuntu and run the following command:
sudo apt-get install qemu-guest-agent