Configuration NAS Mystique: Difference between revisions
Jump to navigation
Jump to search
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
See also: |
|||
* [[Configuration NAS Wolverine]] |
|||
* [[Configuration NAS Mystique]] |
|||
* [[Synology]] |
|||
== References documentation == |
== References documentation == |
||
; CloudStation vs Drive |
; CloudStation vs Drive |
||
Line 20: | Line 25: | ||
:* 4 x Seagate IronWolf 4 TB |
:* 4 x Seagate IronWolf 4 TB |
||
:: Hard drive 3.5" 4 To 5900 RPM 64 Mo Serial ATA 6 Gb/s for NAS (bulk) |
:: Hard drive 3.5" 4 To 5900 RPM 64 Mo Serial ATA 6 Gb/s for NAS (bulk) |
||
:: {{red|Disk 3 crash (bad sectors) in May 2023}} (bought September 2018, lifetime 4 yr 8 months). |
|||
== Installation == |
== Installation == |
||
Line 49: | Line 55: | ||
;Drive |
;Drive |
||
* Using Drive instead of CloudSync Server. |
* Using Drive ShareSync instead of CloudSync Server. |
||
* See [[Synology]] page (client). |
|||
* To configure, go to '''Package Center → Drive → Open'''. This opens the ''Drive admin console''. |
|||
* To enable sync'ing with ''CloudStation clients'', visit '''Team Folder''', and enable each shared folders that must be synced [https://www.synology.com/en-global/knowledgebase/DSM/tutorial/Cloud_Service/What_should_I_do_when_the_message_No_shared_folder_available_to_sync_appears_on_Cloud_Station_Drive] |
|||
;Task scheduler |
;Task scheduler |
||
Line 59: | Line 64: | ||
* Install '''Snapshot Replication''' package. |
* Install '''Snapshot Replication''' package. |
||
* Go to ''Storage manager → Volume → Action → Configure'' and set ''Record File Access Time Frequency'' to '''Never''' (was on ''Daily''), to improve replication performance (suggested during install). |
* Go to ''Storage manager → Volume → Action → Configure'' and set ''Record File Access Time Frequency'' to '''Never''' (was on ''Daily''), to improve replication performance (suggested during install). |
||
== Maintenance == |
|||
* 2020-04-28 — Warning disk low (10GB Total, 2GB avail). |
|||
* 2020-05-02 — Install '''Storage Analyzer'''. |
|||
== Backup strategy == |
== Backup strategy == |
||
=== Wolverine === |
=== Wolverine === |
||
The table below list the shared folder of ''Wolverine'' and how they are backed up. |
The table below list the shared folder of ''Wolverine'' and how they are backed up to ''Mystique''. |
||
{| class=wikitable |
{| class=wikitable |
||
|- |
|- |
||
!Shared folder !! |
!Shared folder !! Backup strategy |
||
|- |
|||
|family |
|||
|Drive ShareSync |
|||
|- |
|||
|homes |
|||
⚫ | |||
|- |
|||
|music |
|||
|Drive ShareSync |
|||
|- |
|||
|NetBackup |
|||
|'''NONE''' (empty) |
|||
|- |
|||
|photo |
|||
|Drive ShareSync |
|||
|- |
|||
|video |
|||
|Drive ShareSync |
|||
|} |
|||
⚫ | |||
* ''Wolverine'' acts as the client, it uses then '''Drive ShareSync'''. |
|||
:* The ''Drive ShareSync'' is disabled during standard hour. It is enabled from 02.00am to 03.00am. |
|||
* ''Mystique'' acts as the server, it uses then '''Drive Server'''. |
|||
:* Mystique automatically wakes up during backup time (from 02.00am to 03.00am). |
|||
* ''Drive ShareSync'' is actually a module of ''Drive Server''. See [[Synology]] page for setting up. |
|||
* Note: '''Deletion are not detected''' when Drive ShareSync is off on the client. |
|||
:* As a result, deleted files will be restored. This is kinda nice feature, but it means we must think to enable the Drive Server service first before doing some clean up... |
|||
* We use ''rsync'' to sync homes, that contains the backup, to avoid that deletion issue. |
|||
⚫ | |||
=== Mnemosyne === |
|||
The table below list the shared folder of ''Mnemosyne'' and how they are backed up to ''Mystique''. |
|||
{| class=wikitable |
|||
|- |
|||
!Shared folder !! Backup strategy |
|||
|- |
|||
|homes |
|||
|'''NONE''' |
|||
|- |
|||
|movie |
|||
|Shared Folder Sync, manually |
|||
|- |
|||
|music |
|||
|'''NONE''' (empty) |
|||
|- |
|||
|NetBackup |
|||
|'''NONE''' (empty) |
|||
|- |
|||
|photo |
|||
|'''NONE''' (empty) |
|||
|- |
|||
|video |
|||
|'''NONE''' (empty) |
|||
|} |
|||
=== Mystique === |
|||
On the mid-term, Mystique will be entirely replicated to a remote NAS via internet. |
|||
For now, we have the following shares and backup strategy. |
|||
{| class=wikitable |
|||
|- |
|||
!Shared folder !! Backup strategy !! BTRFS Snapshot |
|||
|- |
|- |
||
|family |
|family |
||
|CloudStation ShareSync |
|CloudStation ShareSync |
||
|Daily (2.00am), retention 24/7/2/1/1 |
|||
|- |
|- |
||
|homes |
|homes |
||
|Sync'ed from ''Wolverine'' |
|||
⚫ | |||
|Daily (2.00am), retention 12/3/1/0/0 |
|||
|- |
|||
|movie |
|||
|Sync'ed from ''Mnemosyne'' |
|||
|Daily (2.00am), retention 12/7/2/1/1 |
|||
|- |
|- |
||
|music |
|music |
||
|CloudStation ShareSync |
|CloudStation ShareSync |
||
|Daily (2.00am), retention 24/7/2/1/1 |
|||
|- |
|- |
||
|NetBackup |
|NetBackup |
||
|''' |
|'''NONE''' (empty) |
||
| |
|||
|- |
|- |
||
|photo |
|photo |
||
|CloudStation ShareSync |
|CloudStation ShareSync |
||
|Daily (2.00am), retention 24/7/2/12/1 |
|||
|- |
|- |
||
|video |
|video |
||
|CloudStation ShareSync |
|CloudStation ShareSync |
||
|Daily (2.00am), retention 24/7/2/12/1 |
|||
|} |
|} |
||
⚫ | |||
⚫ | |||
== Troubleshoot == |
== Troubleshoot == |
Latest revision as of 13:45, 19 May 2023
See also:
References documentation
- CloudStation vs Drive
- https://www.synology.com/en-global/knowledgebase/DSM/tutorial/Cloud_Service/What_should_I_do_when_the_message_No_shared_folder_available_to_sync_appears_on_Cloud_Station_Drive
- https://osquestguides.com/blog/2018/02/01/synology-drive-vs-cloud-station/
- https://forum.synology.com/enu/viewtopic.php?f=291&t=136701&start=15
Reference information
- Device: Synology NAS DS418play (four bays).
- Name: Mystique.
- Web interface: http://mystique:5000, then log in with admin account admin.
- SSH:
ssh admin@mystique
, thensudo -i
to get root access.
- Or use any other member of the administrator group.
- LAN 1:
- MAC address
00:11:32:82:F8:89
- Static address
192.168.1.97
.
- MAC address
- LAN 2:
- ???
- Specification:
- Synology DS418play
- 4 x Seagate IronWolf 4 TB
- Hard drive 3.5" 4 To 5900 RPM 64 Mo Serial ATA 6 Gb/s for NAS (bulk)
- Disk 3 crash (bad sectors) in May 2023 (bought September 2018, lifetime 4 yr 8 months).
Installation
- Visit http://diskstation:5000/ (or go to http://find.synology.com)
- Issue: Must use chromium (requires java)
- Enable QuickConnect.
- Must visit http://QuickConnect.to/immie-mystique
- Recommended packages: Moments, Video Station, Media Server, Audio Station, Hyper Backup, Drive, Download Station.
- Don't share device location for find.synology.com.
From now on, we must use http://mystique:5000/ to connect to the NAS.
- SSH
- First time, must connect from account with no ssh configuration.
- Copied authorized_keys, but had to chmod permissions (700 for home, 755 for .ssh, 644 for authorized_keys).
- Network
- Use static address
192.168.1.97
.
- File Service
- SMB, change workgroup name from WORKGROUP to
HELL
. - Disable AFP.
- Enable Fast-File Copy (on btrfs shared folder).
- Notification
- Recipient's email address:
m.mystique@immie.org
- prefix:
[mystique]
- SMTP: Using Scarlet (
smtp.scarlet.be
,465
).
- Drive
- Using Drive ShareSync instead of CloudSync Server.
- See Synology page (client).
- Task scheduler
- Schedule 'Recycle Bin' task, every wednesday, delete 28-day old or older files.
- Replication
- Install Snapshot Replication package.
- Go to Storage manager → Volume → Action → Configure and set Record File Access Time Frequency to Never (was on Daily), to improve replication performance (suggested during install).
Maintenance
- 2020-04-28 — Warning disk low (10GB Total, 2GB avail).
- 2020-05-02 — Install Storage Analyzer.
Backup strategy
Wolverine
The table below list the shared folder of Wolverine and how they are backed up to Mystique.
Shared folder | Backup strategy |
---|---|
family | Drive ShareSync |
homes | Shared Folder Sync (=rsync), daily, 2.05am (encryption and block-based) |
music | Drive ShareSync |
NetBackup | NONE (empty) |
photo | Drive ShareSync |
video | Drive ShareSync |
Notes:
- Wolverine acts as the client, it uses then Drive ShareSync.
- The Drive ShareSync is disabled during standard hour. It is enabled from 02.00am to 03.00am.
- Mystique acts as the server, it uses then Drive Server.
- Mystique automatically wakes up during backup time (from 02.00am to 03.00am).
- Drive ShareSync is actually a module of Drive Server. See Synology page for setting up.
- Note: Deletion are not detected when Drive ShareSync is off on the client.
- As a result, deleted files will be restored. This is kinda nice feature, but it means we must think to enable the Drive Server service first before doing some clean up...
- We use rsync to sync homes, that contains the backup, to avoid that deletion issue.
- Because we use rsync to sync the homes share from Wolverine to Mystique, the home service on Mystique must be disabled.
Mnemosyne
The table below list the shared folder of Mnemosyne and how they are backed up to Mystique.
Shared folder | Backup strategy |
---|---|
homes | NONE |
movie | Shared Folder Sync, manually |
music | NONE (empty) |
NetBackup | NONE (empty) |
photo | NONE (empty) |
video | NONE (empty) |
Mystique
On the mid-term, Mystique will be entirely replicated to a remote NAS via internet. For now, we have the following shares and backup strategy.
Shared folder | Backup strategy | BTRFS Snapshot |
---|---|---|
family | CloudStation ShareSync | Daily (2.00am), retention 24/7/2/1/1 |
homes | Sync'ed from Wolverine | Daily (2.00am), retention 12/3/1/0/0 |
movie | Sync'ed from Mnemosyne | Daily (2.00am), retention 12/7/2/1/1 |
music | CloudStation ShareSync | Daily (2.00am), retention 24/7/2/1/1 |
NetBackup | NONE (empty) | |
photo | CloudStation ShareSync | Daily (2.00am), retention 24/7/2/12/1 |
video | CloudStation ShareSync | Daily (2.00am), retention 24/7/2/12/1 |
Troubleshoot
Sync issues with CloudStation - Wolverine
- Family
- Some files missing, but in the exclude list (Thumbs.db, *.tmp, *.swp, *.lnk, desktop.ini).
- Some file missing that should not (~500MB:
- Files in Program Files folder.
- There is no fix for that [1]. Only solution is to rename the folder or zip it.