Mounting a Synology NAS as a network share in Unraid is a straightforward process. Here's how to do it:
---
### **Step 1: Set Up Shared Folders on Synology NAS**
1. **Enable NFS or SMB Shares**:
- Log in to your Synology DSM.
- Go to **Control Panel > Shared Folder**.
- Select the folder you want to share and click **Edit**.
- Navigate to the **NFS/SMB/AFP** tab.
- Enable **NFS** (recommended for better performance) or **SMB** (easier setup).
- For **NFS**, add a new rule allowing your Unraid server’s IP with these settings:
- **Hostname/IP**: `Unraid_Server_IP` (or `*` for any IP, less secure)
- **Privilege**: Read/Write
- **Squash**: Map all users to admin (or as needed)
- **Security**: sys (default)
- For **SMB**, ensure guest access is allowed if needed.
2. **Note the Share Path**:
- For NFS, the path will look like:
`/volume1/your_share_name`
- For SMB, the path will be:
`\\Synology_IP\your_share_name`
---
### **Step 2: Mount the Share in Unraid**
#### **Option A: Mount via Unassigned Devices Plugin (Recommended)**
1. Install **Unassigned Devices** (UD) from the Unraid Community Apps.
2. Go to **Unraid WebUI > Main > Unassigned Devices**.
3. Click **Add Remote Share** (globe icon).
4. Enter the details:
- **Server Name**: Synology NAS IP (e.g., `192.168.1.100`).
- **Share Name**: The shared folder name (e.g., `data`).
- **Mount Type**: NFS or SMB.
- (Optional) Enter credentials if required (for SMB).
5. Click **Mount**.
6. (Optional) Enable **Auto Mount** if you want it mounted at boot.
#### **Option B: Manual Mount via CLI (Advanced)**
1. SSH into your Unraid server.
2. Create a mount point:
```bash
mkdir -p /mnt/remotes/synology_share
```
3. Mount the share (NFS example):
```bash
mount -t nfs Synology_IP:/volume1/your_share_name /mnt/remotes/synology_share
```
- For SMB:
```bash
mount -t cifs //Synology_IP/your_share_name /mnt/remotes/synology_share -o username=your_user,password=your_pass
```
4. To auto-mount on boot, add the command to `/boot/config/go` (Unraid’s startup script).
---
### **Step 3: Verify the Mount**
- Check if the share is mounted:
```bash
df -h
```
- You should see the Synology share listed.
---
### **Troubleshooting**
- **Permission Issues**: Ensure the Synology share has the correct read/write permissions.
- **NFS Not Working**: Verify NFS services are running on Synology (`Control Panel > File Services > NFS`).
- **SMB Authentication Failed**: Double-check username/password in Synology’s `Control Panel > User`.
---
### **Using the Share in Unraid**
- Once mounted, you can access the share via:
- **Unassigned Devices** in the Unraid WebUI.
- The `/mnt/remotes/` path in scripts or Docker/VM configurations.
Let me know if you need further clarification! 🚀