Skip to main content

Questions tagged [synology]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
52 views

Why does my USB HDD detect as /dev/sdr?

I have a Synology RT2600ac router with an OWC Mercury Elite Pro (USB, eSATA, FW800) external HDD. The drive is detected as /dev/sdr where any ol' USB flash drive is detected as /dev/sda or sdb. Why ...
MJA's user avatar
  • 111
0 votes
0 answers
46 views

How is this called? Desktop environment in browser

I have a Synology NAS at home, and you can access it via the browser. When you are logged into the NAS's website, you will see the desktop in the browser, just like you would if you were connected ...
sirzento's user avatar
  • 155
0 votes
0 answers
84 views

Rsync link to remote server in bash script without password prompt

I have set up public key authentication on an Ubuntu (22.04) server. I can log in to the server via SSH without having to provide a password. I want to run a backup script on another machine (a ...
Bruce Button's user avatar
0 votes
1 answer
79 views

How to exclude multiple directories from chown -R?

I am writing a bash alias to fix permissions that keep getting messed up on my Synology NAS while running Docker. I just need to chown & chmod everything in the /volume1/docker directory except ...
DasKraut's user avatar
0 votes
0 answers
28 views

Need help rebuilding synology system outside of synology in ubuntu

I've got a synology 12 bay system (8 6TB drives and a 9th hotswap) that died and it didn't feel like it was worth it to rebuy synology, so I built out a big tower with all the drives, but one of the ...
mchammer1974's user avatar
1 vote
1 answer
119 views

Mounting a USB drive on a synology system: "operation permitted for root only" although sudo was used

I want to mount a USB drive on my NAS synology Following those tutorials: https://askubuntu.com/questions/37767/how-to-access-a-usb-flash-drive-from-the-terminal https://linuxconfig.org/howto-mount-...
ecjb's user avatar
  • 445
0 votes
0 answers
192 views

NFS mount from Synology NAS, gives permission denied

I am currently trying to use a Synology NAS to handle storage through NFS for some other computers. My current problem is that I get permissions denied, whenever I try to read or write to the NFS ...
kjc's user avatar
  • 101
0 votes
0 answers
55 views

Used e2fsck on my Synology NAS and lost all my data .. possible to recover?

I had some file system issues after a power loss that I wasn't able to fix using anything suggested in DSM. Anyway, I stupidly followed advise found online to run e2fsck in terminal to check and ...
mrsmith's user avatar
1 vote
1 answer
76 views

Synology DSM6 Entware running dovecot: libz.so: cannot open shared object file: No such file or directory (But it's there!)

I have a very strange problem on my Synology DS220+ NAS. (Kernel 4.4.59+, x86_64 GNU/Linux, synology_geminilake_220+) dovecot, installed via opkg from Entware, has been running since years on my NAS. ...
LichtiMC's user avatar
0 votes
0 answers
90 views

Mount but exclude one subfolder?

I have a Synology NAS in which I use the following command at NAS startup to create a symlink, which works fine: mount --bind "/volume1/SourceFolder" "/volume1/SymlinkFolder" Now I ...
Ahmad's user avatar
  • 101
0 votes
0 answers
195 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
149 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
240 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
5k 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
  • 41
0 votes
1 answer
266 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
  • 589
-2 votes
1 answer
398 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
202 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
216 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
297 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
478 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
230 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
88 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
753 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
522 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
707 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
413 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
  • 189
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
  • 2,209
2 votes
0 answers
105 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
149 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
382 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
2 answers
5k 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
1k 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
443 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
4 votes
1 answer
1k 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
  • 163
1 vote
1 answer
2k 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
  • 191
1 vote
0 answers
4k 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
223 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
718 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
3k 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
347 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
964 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
463 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
440 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
633 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
224 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
308 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
340 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
294 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
347 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