Questions tagged [synology]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Hide folders on NFS mounts

I recently replaced Windows on my laptops with Linux and now I am using NFS instead of CIFS to access my Synology DS220+ NAS. A very annoying side effect is that I now have a directory called @eaDir ...
Gerald Schneider's user avatar
2 votes
1 answer
96 views

Checking whether all files were extracted correctly

I have a bunch of large zip files on a Synology. The Synology built-in extractor is a bit fiddly, and I'd like to check whether the files were extracted correctly using the commandline. Installed is ...
Zettt's user avatar
  • 173
0 votes
1 answer
59 views

NAS access with commandline

I have a rather annoying problem on my NAS Synology DS416. Following a bad manipulation I find myself with the /etc/sudoers file belonging not to root but to another user. And, normal thing, I can't ...
Philippe's user avatar
0 votes
1 answer
534 views

Unable to mount network drive in Debian; error is "mount(2) system call failed: No route to host."

I've installed Debian 12, and I'm wanting to map/mount a network drive (hosted on a Synology NAS). I see no reason for the 'no route' error as I can ping the Synology server's DNS name and IP address. ...
Mark's user avatar
  • 31
-1 votes
1 answer
98 views

file command not found on Synology DSM

On my NAS I'm running Synology DSM. When I log into a shell I was surprised that the file command is not available. Where is the best place for Synology to get it from? Also, I expected that the ...
halloleo's user avatar
  • 529
-2 votes
1 answer
200 views

SSH password issue

I can ssh with account 1. But with account 2, I get password denied. But I have debug log that say the password was accepted. debug1: Authentication succeeded (password). I have also included the ...
Black Frog's user avatar
2 votes
1 answer
43 views

MAC OS: Cannot access folders whose names contain accented chars made of a combination of char+accent

I'm trying to access from a MAC (Using Finder, or the commands 'find' or 'ls') some folders whose names contain accented chars. Some of those folders are fully visible on the MAC, some not. Here is ...
Eric31's user avatar
  • 21
0 votes
0 answers
145 views

Which hard drive failed SMART ? Synology NAS

I had 2 x 4TB Red Pro drives in a Sinology NAS. One of them was reported as failing (couple of years ago) by Synology. I believe it was a SMART failure. So I pulled out both drives bought a new one ...
Curious101's user avatar
1 vote
0 answers
157 views

DSM DDNS Custom Variables IPv6

I can't figure out the naming rule for IPv6 in the DSM DDNS settings. I want to set up a DDNS with my Strato account. The problem is that the Strato preset only allows IPv4 forwarding: But I need ...
Walter Lars Lee's user avatar
1 vote
0 answers
182 views

How to view journalctl (output of systemd service) in Synology DSM Log Center

I am re-wording this question due to a better understanding of systemd. You will see below in my updates that I became aware of journalctl. The initial responses to my question pointed me to rsyslog. ...
Chrizk's user avatar
  • 11
1 vote
0 answers
112 views

How to mount the BTRFS top sub-volume on Synology?

To track space that hasn't been reclaimed on large BTRFS raids there is a helpful tool called BTDU. To run it the top-level subvolume (-o subvol=/,subvolid=5) needs to be mounted. So I'm wondering: ...
Patrick Wolf's user avatar
1 vote
2 answers
61 views

How to add file markers to check if script is already running

I wonder if I can get some help with a project I'm working on. I have a Synology NAS. I found a Community Package that autoruns a script of my creation anytime a USB drive is plugged in to one of the ...
Matt's user avatar
  • 13
0 votes
1 answer
354 views

Mega-cmd ls not working with remote link

I installed mega-cmd tool https://www.synology.com/en-uk/dsm/packages/MEGAcmd and am using it in shell, but I am not able to list the remote directory. I installed mega-cmd on synology NAS and use it ...
Matěj Račinský's user avatar
2 votes
3 answers
305 views

Rename files with timestamp in filename in Synology

A large number of file have been "renamed" with a timestamp in the file name. I cannot find a way to mass rename them. I was thinking of using a mass rename like "Bulk Rename Utility&...
Janvier123's user avatar
0 votes
2 answers
395 views

Script to change file/folder names which contain illegal characters (Synology NAS)

We have an issue where a set of data that was migrated from an old DAS drive which was attached to a Mac Mini acting as a server contains many illegal folder names (namely colons :). Some of the users ...
Chris J's user avatar
2 votes
1 answer
336 views

Strange permissions issue krb/windows domain/synology: within existing subfolders all access is denied

There are three machines in a network for this minimal example. A windows server acts as a domain (with everything that involves), a Synology NAS that's used to store some data and backups, and a ...
aphid's user avatar
  • 179
2 votes
0 answers
1k views

rsync: opendir failed: Permission denied (13) from a Synology DSM7 server with synoacl

I have rsyncd running as SynoRsyncd sharing the /volume1 module : [user@rsyncServer ~] $ ps -O user:20 -C rsync PID USER S TTY TIME COMMAND 14290 SynoRsyncd S ? ...
SebMa's user avatar
  • 1,991
11 votes
2 answers
2k views

How can I identify an embedded Linux distribution?

I'm trying to identify an embedded Linux distribution. Here are the commands I have typed so far: $ uname -a Linux LIN-SRV-EMB01 3.10.105 #25556 SMP Sat Aug 28 02:14:22 CST 2021 x86_64 GNU/Linux ...
SebMa's user avatar
  • 1,991
2 votes
0 answers
92 views

Add encrypted shared folder on synology key manager manually through SSH

I ran into a problem with my key manager on synology ds1520+. My key manager seems to have reset itself sometime a few months back. Not sure how or why this has happened, but I am looking to see if it ...
Donald's user avatar
  • 21
2 votes
0 answers
1k views

Error mounting: wrong fs type, bad option, bad superblock, missing codepage or helper program, or other error

Several years ago I purchased a Synology NAS. I had it set up like so: (NAS) ==> (1)(2)(3)(4)(empty) After a while, I noticed that any drive I plugged into bay number [3] would fail after a couple ...
junkmac filter's user avatar
0 votes
1 answer
122 views

Backup NAS to an external drive on a connected computer

I found some options to backup the Synology NAS to an external drive, that is directly connected to the NAS. But is it possible to backup to a computer's external harddisk? For example, userX starts ...
catty03's user avatar
1 vote
3 answers
229 views

Where is the undo button in Linux? If I created an SSH key and copied the public key to a NAS, how would I undo or delete it?

I created an SSH key using ssh-keygen -t rsa. Then I copied the key to the NAS, so I wouldn't have to enter a password using ssh-copy-id. I realized that I did it for the wrong user, so now I need to ...
anon's user avatar
  • 11
2 votes
1 answer
3k views

Unable to print with lp "No such file or directory"

I have a setup that worked fine (on Synology NAS), until a recent update. lp can apparently not print, even though the printer seems to exist okay: $ lpstat -p -d printer HP8210 is idle. enabled ...
Dennis Thrysøe's user avatar
4 votes
2 answers
884 views

`ls` behaving differently inside and outside of bash script

I am working on a Synology NAS. I have a list of files I want to delete, listed with full path in a file called Myfiles.txt.  The file has circa 3000 lines like this: "/volume2/NBU/Downloads/...
jdoran1066's user avatar
2 votes
1 answer
312 views

SSH /osync Escape "@" character in remote file path

I needed to write a script which syncs multiple directories from local to remote server (bi-directionally). This script currently uses osync.sh which uses ssh to perform the synchronization. The exact ...
Azorimor's user avatar
3 votes
1 answer
693 views

Different directory size after rsync and using du [duplicate]

I migrated some special directories (not supported by common migration tools) from one Synology NAS volume (ext4) to another (btrfs). After checking if the synchronization was successful I found that ...
CraZ's user avatar
  • 143
1 vote
1 answer
1k views

Cannot delete folder on Synology NAS?

I logged in as root and tried to recursively delete the folder /volume2/Name using rm -rf It started and deleted all the files/directories inside this folder Name, but it cannot remove the folder ...
Maestro's user avatar
  • 179
1 vote
0 answers
3k views

Download file via SFTP one line CLI command with password containing special character (no ssh key)

I've got a Synology that needs to download and archive a file from SFTP server. I used to use WGET when FTP protocol was being used, but the file owner changed the protocol to SFTP. wget -m ftp://...
Kalvin Klien's user avatar
3 votes
1 answer
204 views

Synology ipkg nano - line numbers are wrong, and sometimes appear on the wrong side of the file

update I submitted a bug report and the conclusion is that the nano version that's available through ipkg is 3 years outdated, and has been incorrectly modified or a dependency is broken. ...
aSemy's user avatar
  • 131
0 votes
2 answers
399 views

Rsync archive not copying permissions

I'm running this command to synchronize files on my NAS and internal hard drive (MBP 2018 Big Sur) zsh. I'm running rsync -avi --delete /Volumes/DRIVENAME/ /Volumes/NAS/folder/DRIVENAME/ where /...
Vishaal Prasad's user avatar
1 vote
1 answer
2k views

Try to mount SMB share on NAS and get "Operation not supported"

I have several Synology NAS, running DSM 6.2.2-24922 Update 5, which I successfully mount on Ubuntu 18.04 with: sudo mount -t cifs //192.168.x.y/folder_name -o username=user,password=???????,uid=1000,...
Omroth's user avatar
  • 153
1 vote
0 answers
285 views

Install Steam games on a Synology network disk

Recent Microsoft news have convinced me to switch to Linux. I have a Synology NAS on which I used to install Steam games (and any applications really), it wasn't too complicated to do on Windows, once ...
Xobtah's user avatar
  • 163
1 vote
1 answer
795 views

Recover data from Synology JBOD/Linear RAID disks

I have a two disk synology where I had a JBOD setup (4TB and 3TB). One of the drives started becoming erratic and failed. So I pulled both of them out. I had an automated daily backup task that would ...
Curious101's user avatar
1 vote
1 answer
390 views

Unable to log into Synology NAS using new SSH key [closed]

I've been using SSH to connect to my Synology for ages. Recently, I've generated a new id_rsa key and copied the pubkey to the Synology's .ssh/authorized_keys. Unfortunately, the new key always ...
andig's user avatar
  • 235
0 votes
2 answers
276 views

Rename files in any deep subfolder like the parent folder and move after to a central folder

I have a problem where I need to rename just certain files after the parent folder and afterwards move these to a central folder. Is there a way to do this? I would like to run this on a Synology NAS. ...
Lorand G's user avatar
1 vote
2 answers
478 views

Find command in linux and delete, but test with print, give no results

I'm trying to find some files on my NAS and then delete the files/folders that's more then 5 days old. I can use the find command as: find /volume1/docker/UV/videos -type f -print And then i get all ...
Thomas Bøg Petersen's user avatar
2 votes
0 answers
214 views

How secure if automount of ecryptsfs in Synology NAS

I'm using automount for my ecryptfs folders in the Synology NAS. I'm wondering where the Key Manager stores the keys and how easy it is to read my encrypted folders in case of theft of the NAS. I ...
Milo van der Zee's user avatar
0 votes
2 answers
270 views

Debian on Synology NAS keeps changing timezone

I have a Debian setup running on Synology NAS Virtual Machine Manager and it keeps changing the timezone. At the top of the screenshot above you can see that the timezone was GMT -4. then, at the ...
Colin Rathbun's user avatar
0 votes
1 answer
318 views

descript synology folder from backup

Last week my Synology diskstation had a crash of its volume. I was able to recover all files from a backup and my VMs by offloading the VDMK files, but one of the directories I only have in encrypted ...
vespino's user avatar
  • 111
1 vote
0 answers
261 views

Checksum comparison file too large

I am trying to run a checksum comparison task on a large folder that I rsync from one Synology server to another. What I am trying to get is an output that shows me any differences between the ...
JohnB42's user avatar
  • 11
0 votes
1 answer
342 views

Updating DS918+ to DSM 6.2.3-25426 seems to have broken network connection

I updated to DSM 6.2.3-25426 last night and since then my DS918+ drops off the network after 30-60mins. Sometimes I can ping it, sometimes not. WebUI goes down, cannot even SSH. Tried via LAN1 (...
Simon's user avatar
  • 101
0 votes
1 answer
126 views

Tracing SSH/login process and properly isolating filesystem from unauthorized access

For some context, I am dealing with a Synology RackStation unit running a near-fully updated version of DSM. The specifics of that are nice to know if you're familiar with Synology but not necessary, ...
Harv's user avatar
  • 1,832
5 votes
0 answers
3k views

How can I install visudo on Synology DSM?

I want to edit the sudoers file on my Synology Disk Station (specifically, to enabled password-less shutdown), however my version of Synology DSM does not have visudo installed. How can I install it ...
Stoz's user avatar
  • 151
1 vote
2 answers
98 views

How to verify that files in A folder are also in B folder

I use my synology DS1515+ and DSM 6.2.2. First of all, please refer to the picture as below; First, I download some video files. Examples of filenames are as above. And second step is that copying ...
FBMan's user avatar
  • 53
1 vote
2 answers
608 views

Is it possible to make a loop that creates a variable out of each directory name within a directory when the directories are not always the same?

I am working on a script to run on my Synology DS 1019+ that takes all the subfolders within a certain directory, creates the subfolders in another directory, then creates hard links of all the .mkv ...
SilJeff's user avatar
  • 13
2 votes
2 answers
144 views

How to keep only one largest size file and delete all other files

There are 3 or 4 files in same directory as below; AAA.360p.mp4 AAA.450p.mp4 AAA.720p.mp4 AAA.1080p.mp4 Filenames of those files are almost the same except expression of frame resolution. (AAA is ...
FBMan's user avatar
  • 53
1 vote
1 answer
269 views

Synology - `du -sh .` takes forever on the NAS but no time when mounted on Mac

My NAS has seemed slow and I'm not sure what tests to run to prove this. But this example I'm about to describe has happened and something has really gone bad. I'm hoping for answers for what I need ...
HankCa's user avatar
  • 111
0 votes
1 answer
239 views

zipcmp in Synology NAS?

I want to compare a large zipped file in my Synology NAS to a copy of it I made that is on an external hard drive. I have heard zipcmp is good for this. However, if I am downloading zipcmp or ...
JohnB42's user avatar
  • 11
2 votes
2 answers
3k views

Which OS can I install on my old Synology DS107?

I have an old Synology DS107 (whose CPU is a Freescale PowerQUICC II MPC8241 PPC SATA, 64-bit) that I would like to recycle. I cannot find a list of the OS I can install on it. I would like to have a ...
Simpom's user avatar
  • 121
2 votes
1 answer
2k views

Non-root SSH key authentication problems with DSM 6

With Synology DSM 6 it seems that SSH requires users to be members of the admin group. However, even in this case there seem to be problems with file/directory permissions that prevent key-based ...
Daniel's user avatar
  • 121