Configuration NAS Wolverine
Jump to navigation
Jump to search
Reference information
- Device: Synology NAS DS118 (one bay).
- Name: Wolverine.
- Web interface: http://wolverine:5000, then log in with admin account admin.
- SSH:
ssh admin@wolverine
, thensudo -i
to get root access.
- Or use any other member of the administrator group.
- Static address
192.168.1.98
. - Specification:
- Synology DS118
- Seagate IronWolf 4 TB
- Hard drive 3.5" 4 To 5900 RPM 64 Mo Serial ATA 6 Gb/s for NAS (bulk)
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-wolverine
- 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 to connect to the NAS.
- File Service
- SMB, change workgroup name from WORKGROUP to
HELL
. - Disable AFP.
- Miscellaneous
- Set user only permission in /homes:
- Login with ssh using
admin
account. - Become root
sudo -i
- Set acccess rights with
chmod 700 /volume1/homes/admin /volume1/homes/baddreams /volume1/homes/borg
- Question: Should we instead enable option Hide sub-folders and files from users without permissions?
- Login with ssh using
- Remove
#recycle
folder from share/volume1/borg
.
- Otherwise
borg init
complains there is already something there.
- Otherwise
- Network
- Use static address
192.168.1.98
.
- Task scheduler
- Schedule 'Recycle Bin' task, every wednesday, delete 28-day old or older files.
- Schedule 'CloudStation On' task, everyday, 01:45am.
- Schedule 'CloudStation Off' task, everyday, 03:00am.
- NOTE: Because of this, we CANNOT DELETE files on Wolverine. When deleting, the files will be restored at next resync. This is somewhat a nice effect. To have permanent deletion, first START the CloudStation service in the Package Center.
Troubleshooting
Login failure and "because the encryption key is invalid..."
Symptoms:
- Login fails.
- Message
Because the encryption key is invalid the password has been transmitted in the clear
Cause:
- The hostname used is wrong (eg. still using old URL http://diskstation:5000).
Solution:
- Use correct hostname (http://wolverine:5000).
NAS not responsive after recent upgrade (April 2020)
12 updates were pending, let's carry them on. BAD IDEA!!! This updated CloudStation ShareSync to (bloody) Drive Server ShareSync, and probably other annoyances as well.
As a result NAS, is busy indexing all over the place, GUI is not responsive, top
, free
shows the NAS is swapping a lot.
Work-around:
- Uninstall Photo Station, Moments, Video Station, Audio Station, all shitty stuff.
- Remaining packages:
- Synology Drive Server,
- PHP 7.0 (probably necessary)
- Universal Search (cannot be uninstalled, more below)
- Hyper Backup (innocuous)
- Synology Application Service (Drive Server needs it)
- Log Center (innocuous)
- Node.js v12 (Driver server needs it)
- Git Server (innoucous)
- OAuth Service (innocuous / needed)
- File Station (cannot be uninstalled)
- Node.js v4 (needed / innocuous)
- Indexing can be disabled in:
- Info Center --> but I see nothing
- Indexing Service -> Removed all Indexed Folder.
- Some service can be disabled manually, or as a scheduled task.
- Disable Universal Search / SynoFinder [1]
sudo synoservice --disable pkgctl-SynoFinder
- Or Control Panel -> Task Scheduler -> Create -> Triggered task -> General Tab -> give task a name, select boot-up for Event, and under Task Setting, select User-defined script, and add:
synoservice --disable pkgctl-SynoFinder
- ... but apparently latet update (1.2.6-0240) would have fixed the performance issue.
- Disable some indexing manually [2]:
sudo synoindex_package.sh disable PhotoStation
sudo synoindex_package.sh disable VideoStation
/usr/syno/sbin/synoservice --hard-stop synoindexd