Hi I try to recover files from a crashed Synology Raid5 Volume. It is a 10 Disk 30 TB Volume/Raid5. I took images via Mac/Disk Utility off the 10 disks which are now DMGs automatically split into 3 files each due to size (Disk.dmg, Disk.002.dmgpart,Disk.003.dmgpart). Synology Support Center.
This post was made on 03/16/2020 with Synology DSM version 6.2.2-24922 Update 4 and Ubuntu 18.04.4 LTS. This will also work for ESXi and vcenter NAS datastores. Parts of the UI and commands may have changed. Leave a comment below if you notice any changes or issues.
Synology share setup
Log into the Synology DSM page (https://<synology ip>:5001/) and open Control Panel.
Select Shared Folder and Create or Edit a share.
Switch to the NFS Permissions tab and click Create. Enter the IP of the system that needs access to the NFS share. Leave the default options and click OK.
Take a note of the mount path at the bottom of the Edit Shared Folder window. You will need this path when mounting the share later. Click OK and log out of Synology DSM.
Mounting the share in Ubuntu
Open a terminal window or SSH to the system. Verify that the system’s IP is the same IP used in the NFS rule settings above. Note: Your interface names might be different.ip a
Install NFS common tools.sudo apt-get update
sudo apt-get install nfs-common -y
Create the directory where the share will be mounted. You can put this anywhere. Here’s a good video by DorianDotSlash on linux file system/structure while we’re on the topic. I’m using /nfs/temp-share for this share. The -p in the mkdir command below will create intermediate directories.sudo mkdir -p /nfs/temp-share
Temp mount
Mount the share’s mount path from the Synology share setup step with sudo mount <Synology-ip>:/<share mount path>. In this example I will be mounting the /volume1/Temp share hosted by the Synology NAS (IP:10.0.0.10) to /nfs/temp-share. Paths are case sensitive.sudo mount 10.0.0.10:/volume1/Temp /nfs/temp-share
Persistent mount
Mounting with the command above will not stay after a reboot. If you need the mount to stay after a reboot you’ll need to add it to /etc/fstab.
Optional: If you already mounted the share using the command above you can unmount it with umount.sudo umount /nfs/temp-share
Open /etc/fstab with nano or your preferred text editor.sudo nano /etc/fstab
Add the share’s mount path from the Synology share setup step to the bottom of the file using the line below. You can skip to the code block if you don’t care how it works.
In this example I will be mounting the /volume1/Temp share hosted by the Synology NAS (IP:10.0.0.10) to /nfs/temp-share. The next two values set the filesystem and mounting options.
The line below will use nfs for the filesystem with default (rw, suid, dev, exec, auto, nouser, async) mounting options. This is a network share so I’m using 0 for dump which will tell the dump backup utility to ignore this filesystem and 0 for pass which will tell fsck to ignore checking this filesystem. Here’s a link to the Ubuntu wiki article on fstab mounting options if you need to use different settings.
Note: Paths are case sensitive. Use tabs for spacing between values.10.0.0.10:/volume1/Temp /nfs/temp-share nfs defaults 0 0
Close the text editor (ctrl+x in nano) and save changes if prompted.
Testing file permissions
Synology Drive Download
You’ll probably need to give yourself and/or a group ownership and write access on the mount directory. You can use user:group or user:user if you do not need to give a group access. The -R on the chown command is recursive. If this is an empty share you probably won’t need it.sudo chown -R user:group /nfs/temp-share
I used chmod 755 for file permissions in this example. You may want to use a different value depending on what you’re doing with your share and server. Here’s a link to another website with a simple comparison of 700 vs 755 and another link to the Ubuntu wiki article on file permissions if you want more information.sudo chmod -R 755 /nfs/temp-share
You can check permissions with statstat /nfs/temp-share
You can test write permissions by touching a new filetouch /nfs/temp-share/test
That’s it. Now fill it with linux distros.
Mouning the share in ESXi/vcenter
Log into the host’s web interface. Go to Storage and select the Datastores tab. Click New datastore.
Select Mount NFS datastore and click Next.
Enter the NFS mount details (see below) and click OK. Verify the NFS mount details on the next screen and click Finish.
In this example I will be mounting the /volume1/Temp share hosted by the Synology NAS (IP:10.0.0.10) to /nfs/temp-share. Paths are case sensitive.
- Name – Name of the datastore in ESXi/vcenter
- NFS server – IP of the server
- NFS share – Share mount path from the Synology share setup step
Description:
File Station is the centralized file management tool for your Synology NAS. Through File Station, you can manage and search files/folders, view files of various types, share private files with external users, mount remote folders and virtual drives for access, and do much more!
Version: 1.3.0-1378
Compatibility and Installation
- Updated to be compatible with DSM 7.0.
- To preview newly added HEIC files in File Station, please install Advanced Media Extensions in Package Center.
What's New
- Supports backing up and restoring file sharing links, connection lists, mount lists, and application configuration via Hyper Backup.
- Revamped the shared link page layout for enhanced navigation and user experience.
- Added an icon that displays the connection status of the Hybrid Share folder.
Version: 1.2.8-0293
Compatibility & Installation
- To preview newly added HEIC files in File Station, please install Advanced Media Extensions, available in DSM 6.2.4 and above, in Package Center.
Bug fixed
- Fixed an issue where search could not be conducted on contents in sub-folders within shared folders.
- Fixed an issue where users could not switch between images when browsing HEIC files.
- Updating Audio Station to version 6.5.6 fixes the issue where editing music information in File Station might delete its embedded album cover.
Version: 1.2.7-0285
Bug Fixed
- Fixed a security vulnerability (Synology-SA-20:28).
- Minor bug fixes.
Version: 1.2.6-0282
Bug fixed
- Fixed the issue where DSM users cannot download internally shared files.
- Minor bug fixes.
Version: 1.2.6-0281
Important Note
- The update is expected to be available in all regions within the next few days. The actual time of release may vary slightly depending on the region.
What's New
- Supports the display of file size calculation progress in folder properties.
Bug fixed
- Fixed the issue where downloading files on Firefox 67 might fail.
- Fixed the issue where previewing HEIC files might fail.
- Fixed the issue where uploading files over 10MB to mounted OneDrive directory might fail.
Version: 1.2.5-0269
- Support customized date and time format.
- Support preview for files in HEVC and HEIC format.
- Improve the performance when loading thumbnail images.
- Photo Editor by Aviary is no longer supported.
- Fixed the issue where folders can't be dragged and dropped properly using Microsoft Edge.
Version: 1.2.4-0255
Fixed an issue where downloading folders via “gofile” sharing links on a mobile Safari browser might fail.
Fixed an issue where uploading a non-empty folder via Firefox 61.0 or versions above might fail.
Minor bug fixes.
Version: 1.1.6-0126
Fixed an issue where downloading folders via “gofile” sharing links on a mobile Safari browser might fail.
Fixed an issue where uploading a non-empty folder via Firefox 61.0 or versions above might fail.
Version: 1.2.3-0252
Supports selecting multiple users or groups to edit the ACL settings in Shared Folder.
Optimized the user interface in Thai language.
Fixed a security vulnerability (Synology-SA-18:35).
Version: 1.1.5-0125
Fixed a security vulnerability (Synology-SA-18:35).
Version: 1.2.2-0250
- Thai user interface is now available.
- Optimized efficiency of resource consumption when generating photo preview.
Version: 1.1.4-0123
Optimized the resource usage efficiency when a thumbnail is generated.
Version: 1.2.2-0246
- Fixed an issue where paging of “Links Shared with Me” in “Shared Links Manager” might not work properly.
- Fixed an issue where mounting Google Drive on File Station might fail when Google Chrome version 63 is used.
- Fixed an issue where TIFF and TIF files might fail to display on photo viewer and in thumbnail mode.
- Fixed a security vulnerability (Synology-SA-18:09).
- Minor bug fixes.
Version: 1.1.4-0122
- Fixed an issue where TIFF and TIF files might fail to display on photo viewer and in thumbnail mode.
- Fixed a security vulnerability (Synology-SA-18:09).
- Minor bug fixes.
Version: 1.1.3-0120
- Fixed an issue where paging of “Links Shared with Me” in “Shared Links Manager” might not work properly.
- Fixed an issue where mounting Google Drive on File Station might fail when Google Chrome version 63 is used.
- Minor bug fixes.
The following feature requires DSM 6.1.5 or above:
- Supports selecting multiple users or groups to edit the ACL settings in Shared Folder.
Version: 1.2.1-0228
- Fixed an issue where 7z files encrypted with Chinese passwords might fail to be unzipped.
- Fixed an issue where using WebDAV with IPv6 address for remote connection might cause file transfer to fail.
- Fixed an issue where file names in folders copied from GBK-encoded FTP file servers might be abnormal when the folders are unzipped.
- Added support for accounts with ACL admin privileges to a shared folder to modify user privileges of that folder.
- Fixed an issue where the task of copying files to a mounted Google Drive might not resume if interrupted.
- Fixed an issue where photos might not be successfully displayed as thumbnails or in photo viewers when users open DSM via the Chrome browser (with HTTP 2 enabled) and access ISO files or mounted devices through NFS/CIFS.
- Minor bug fixes.
Version: 1.1.2-0115
- Fixed an issue where 7z files encrypted with Chinese passwords might fail to be unzipped.
- Minor bug fixes.
Version: 1.1.1-0110
- Fixed an issue where file names in folders copied from GBK-encoded FTP file servers might be abnormal when the folders are unzipped.
- Added support for accounts with ACL admin privileges to a shared folder to modify user privileges of that folder.
- Fixed an issue where the task of copying files to a mounted Google Drive might not resume if interrupted.
- Fixed an issue where photos might not be successfully displayed as thumbnails or in photo viewers when users open DSM via the Chrome browser (with HTTP 2 enabled) and access ISO files or mounted devices through NFS/CIFS.
- Minor bug fixes.
Version: 1.2.0-0218
- Enhanced the package’s ability to compress images by adjusting the thumbnail formats of large image files.
- Updated the OneDrive API from Live API 5.0 to Graph API 1.0.
- Fixed an issue where search results might be inaccurate when data search is performed in indexed folders using Last Accessed as the criterion.
- Fixed a security vulnerability regarding libsoup HTTP client (CVE-2017-2885).
- Fixed an issue where file download tasks executed via Firefox connections from the File Station alias portal might fail when the portal is enabled and Web Station is stopped.
- Fixed an issue where search results might be inaccurate when advanced search is performed in folders that contain spaces in their names.
- Fixed an issue where background tasks might be cleared when File Station is opened for the first time after user login.
- Minor bug fixes.
Synology Mount Virtual Drives Dmg
Version: 1.1.1-0103
- Fixed a security vulnerability regarding libsoup HTTP client (CVE-2017-2885).
- Minor bug fixes.
Version: 1.1.1-0099
Minor bug fixes.
Version: 1.1.1-0095
- Added an option for viewing images in original size.
- Fixed an issue where viewing images in a mounted ISO folder might fail.
- Fixed an issue where folders on a remotely-connected FTP server might not show up correctly.
- Minor bug fixes.
Version: 1.1.0-0075
- Added a setting that allows specific groups to share file links and file request links.
- Supports showing thumbnails for more camera RAW file formats.
- Enhanced search performance.
- Enhanced thumbnail loading performance.
- Fixed an issue where connecting to a Nextcloud server via WebDAV might fail.
- Minor bug fixes.
Version: 1.0.2-0049
- Fixed an issue where browsing numerous image thumbnails might cause high CPU usage.
- Fixed an issue where uploading files with Firefox 52.0 might fail.
- Minors bugs fixes.
Version: 1.0.1-0046
Fixed an issue where using Safari and DS file to browse video thumbnails on File Station might cause abnormal traffic and high CPU usage.
Version: 1.0.0-0039
- Supports setting up shared link limit for specific users.
- Supports keeping both files when users upload/copy/move files that have same names with existing files.
- Minors bugs fixes.
Version: 1.0.0-0027
Compatibility and Installation
- File Station requires manual installation on EDS14 launched for the first time.
What’s new
- Supports tile view for browsing files.
- Supports browsing history as a drop-down list at a quick glance.
- File path is now editable and supports autocomplete to help you locate folders effortlessly.
- Minor bug fixes.