I have just received my NAS, which is a Synology DS413j, together with 3 HDS724040ALE640 4 TB hard drives. After unpacking everything, the first task was to mount the disk. This was very easy, without any guide. Next I connected the Synology to my router and powered it up. Synology suggested too locate it with find.synology.com. Though it was not able to find it on my network, so I used nmap, and few seconds later I new the IP address. 2 seconds later I was connected, and running the introductive guide. I choose to select a Synology Hybrid RAID, with 1 disk protection, giving me in all 7,15 TB. And the possibility to extend it later by a disk more if needed. While it creating the filesystem, and doing the parity consistency check, I started with this post, for planning the setup. I am thinking I will do the following task.
- Run badblocks on the disks. Even though the disks are new, I prefer to test them before trusting them with data. As DSM is using a Linux, it should be possible to run badblocks on all the disks. So figure out how to do this.
- Create personal user accounts. Right know I only need two.
- Create minimum two shares, named Backup and Archive. Share them by CIFS (Windows) internal only.
- Setup time machine from my mac. I will use the NAS for backup from my mac, so it means to set it up as a time machine. Destination would be be the backup share.
- Setup SSH server to only allow keys, and connect to my router so I can access SSH from work. I will use sshfs off cause for accessing data.
Please do comments, if you have any Ideas for what I need to do with the NAS for getting the most out of it.
The first thing after enabling SSH, was to bootstrap the system.
With this, a package tree and package command is installed. So now I am able to install various packages, where I choose to install tools like bash, vim etc. Notice for enabling bash when logging in over SSH, I have added “exec /opt/bin/bash” to .profile
Setting up Time machine from my Mac involved setting up Mac share beside windows CIFS/sambe. This was very simple inside the Synology DSM Control Panel.
It took just a short time for adding my ssh keys to my home .ssh/authorized_keys, and change my /etc/ssh/sshd_config to only allow keys.
The last thing was badblocks. It was not part of the available packages, so I run the extended S.M.A.R.T. test, from the Storage Manager instead.
This has been working since I got the NAS, and just function extremely well.