Electrical-Forenics Home ray@RayFranco.com                       601.529.7473

   Updated Nov 25, 2024

   © Dr. Ray Franco, PhD, PE  :  2021-2024

Network Attached Storage (NAS)

I have the following Synology NAS's:

ModelYearBaysRAIDCapacity
DS220+20202110.5
DS1819+20198526.2
DS1511+20115510

Synology usually supports their NAS's for at least 10 years. Unfortunately, my DS1511+ is no longer supported. It does not receive security updates. It runs DiskStation 6.2. It is stuck at SMB 2.0, and its file system is ext4, and not Btrfs (B-Trees File System).

Btrfs is a modern file system the focuses on fault tolerance and snapshots.

Nov 2004 Prices

DS1522+ 52022$700
DS923+ 42023$600
DS423+ 42023$500
DS723+ 22023$450

References:

  1. Mount Files Systems Without Root Privileges
  2. user” CIFS mounts not supported”. / fix mount permissions
  3. mount and umount for user not allowed
  4. fedora 12. mount -t cifs on a server doesn't work
  5. Suddenly, ‘“user” CIFS mounts not supported”

Synology Ports

Web DSM Interface 5000/5001
Hyper-Backup 6281
Share Sync 6690
VPN  

DMS Setting

Users & Groups

Set up both an administrator user and a regular user. Give the regular user read/write privileges and use the regular user to access the drive. Disable the administrative account named "admin". This is a vulnerability that botnets used to place ransomware on Synology NAS.

Hardware & Power

Updates & Restore

Storage Manager Application

Control Panel > Security > Protection

Make sure "Enable auto block" is checked and Login attempts 10 within 5 minutes. Also check the box "Enable block expiration" and set unblock after 1 or 2 days.

Control Panel > File Services > SMB Settings >: Advanced Setting

Make sure the minimum SMB protocol is SMB2 , and under the "Other Tab" make sure that the "Enable NTLMv1 authentication" is unchecked .

References:

  1. YouTube - Settings EVERY Synology NAS should have in 2024 - DSM 7.2
  2. YouTube - COMPLETE BEGINNER’S GUIDE for Synology NAS - 2023 DSM 7.2
  3. Synology | Knowledge Center - Data Scrubbing

Update Disk Station Manager (DMS - Operating System)

Manually Update Incremental

The best I can determine, you must update incrementally. That is, use the Upgrade from your current DSM version to your preferred version. This will list links to the updates and specify the order to install them.

It looks like you can just update to the final version, but I repeatedly received the following error message: message: This file may have been corrupted. Please redownload the update file (.pat) from Synology Download Center. [ok]

I tried with Debian / Firefox - Windows Firefox - Windows Edge

References:

  1. Synology | Knowledge Center - DSM Update
  2. Synology | Knowledge Center - How do I manually update DSM?
  3. Synology | Knowledge Center - Frequently asked questions about DSM updates

Backup Methods

Speed - USB Drive vs Network Drive

USB C Drives have a speed advantage over Ethernet Network Drives:

USB C Drive 10 Gbits/sec
Ethernet Drive 1 Gbits/sec

My WD Elements. USB 3.0, 20 TB, drive backed up a Synology 220 NAS with 8.5 TB of data in 14 hours. Over an Ethernet connection, it would have taken almost 6 days.

Usbcopy

You should format the usb drive as exFAT. This will allow you to read and copy files from Windows, MacOS, and Linux. You can do incremental copies. Usbcopy does not have a progress bar or GBytes copied. You are blind. This did work on an encrypted share. That is, I exported the share to a usb drive and the files were not encrypted on the usb drive. Good for an offline backup.

References:

  1. Synology | Knowledge Center - USB Copy

Hyperbackup

Drive-Sync

Drive-Sync allows you to synchronize two different NAS's. Changes can be made to either NAS, and it will sync the other NAS. You need to be using snapshots with this method.

Active-Backup for Businesses

Active-backup allows you to do a bare metal backup of everything on the drive. It does delta backups. After the first backup, it only backups the files that have changed since the last backup. Active backups are good for enterprises.

Snapshot Replication

Snapshot Replication allows you to sync two NAS, but the second drive is read only.

Cloud-Sync

Cloud-Sync allows you to back up to the cloud i.e. DropBox, Google Drive, One Drive, etc.

Encrypted / Decrypted Shared Folder

You need at least as much free space on the drive as the share that you are encrypting or decrypting [1]. The first thing DMS does is make a copy of the share so that it can be restored in case there are errors.

Encrypted shared folders can result in encrypted backups. For example, I did a Hyperbackup (single version) on an 8.35 TB drive, and 14 hours later, I found out that the backup was encrypted.

You can decrypt an encrypted drive: Control Panel > Shared Folder , select the folder, go to the Encryption tab , untick Encrypt this shared folder.

References:

  1. Synology | Community - Free Space to Encrypt a Shared Folder?
  2. Synology | Knowledge Center - How can I encrypt or decrypt shared folders on my Synology NAS?

References:

  1. Mount Share Cifs Folder Without Sudo
  2. YouTube: Setting Up Synology Drive Team Folders
  3. YouTube: Sync Files To and From a Synology NAS using Synology Drive Server
  4. YouTube: New Features in Synology Drive in DSM 7.0 - Ready to replace Google Drive?
  5. YouTube: Top 8 Synology Features for Home Users (DSM7)
  6. YouTube: How to Setup a Synology NAS for the first time in DSM 7 (Complete Guide for 2021+)
  7. YouTube: SMB vs NFS vs AFP vs iSCSI - What are they and which should you use
  8. YouTube: Is MacOS Finally getting Synology's Active Backup in DSM7 (2022) & more features in work
  9. YouTube: How to Secure your Synology NAS
  10. YouTube: YOU NEED TO BACKUP YOUR NAS - Backing up a Synology NAS for home users
  11. How to Install and Setup Samba Server on Debian 12?
  12. Debian Wiki - Samba Server Simple - How To Install and configure Samba on Debian 11 Bullseye
  13. Samba Wiki - Setting up Samba as a Standalone Server
  14. How to install and configure samba on debian 11 bullseye.
  15. Stack Exchange - Access Network Samba Share from Pi Client
  16. Stack Exchange - When-does-one-require-netbios