To fix the issue where your Synology NAS DS920+ reverts to NFSv3 after a reboot despite being configured for NFSv4.1, follow these steps:
✅ Problem Summary
You have configured your Synology DiskStation (running DSM 7.2.2-72806) to use NFSv4.1, but after a reboot, it defaults back to NFSv3.
✅ Solution: Enforce NFSv4.1 After Reboot
🔧 Step-by-Step Fix
1. Enable NFSv4.1 via GUI
Make sure NFSv4.1 is enabled in the DSM UI:
- Go to Control Panel > File Services > NFS tab.
- Ensure Enable NFSv4.1 support is checked.
- Click Apply.
This ensures the NFS server starts with NFSv4.1 enabled on boot.
2. Check /etc/exports Configuration
Sometimes the /etc/exports file may not reflect the correct NFS version after reboot.
- SSH into your NAS as
admin or root (you may need to enable SSH in Control Panel > Terminal & SNMP).
- Elevate to root:
- View the current exports:
bash
cat /etc/exports
Look for any entries that do not specify nfsvers=4 or v4.1.
3. Edit /etc/exports to Force NFSv4
You may need to manually enforce NFSv4.1 in the exports file.
Example export line:
bash
/volume1/share *(rw,async,no_wdelay,insecure_locks,no_root_squash,no_subtree_check,insecure,fsid=0,mountpoint,sec=sys)
fsid=0 is required for the root of the NFSv4 export.
mountpoint is also important if this is a parent export.
Make sure your exports are set up for NFSv4 and not just NFSv3.
4. Use a Post-Boot Script to Re-Enable NFSv4
Sometimes DSM resets the NFS service configuration after boot. To work around this:
a. Install Synology Package: User Scripts & Tasks (via SynoCommunity)
If not already installed:
- Go to Package Center > Settings > Package Sources.
- Add https://packages.synocommunity.com.
- Search for and install User Scripts & Tasks.
b. Create a Boot Script to Restart NFS Service
- Go to Main Menu > User Scripts & Tasks.
- Create a new User-defined script under Boot-up category.
Script content:
bash
#!/bin/sh
# Force restart of NFS service to enable NFSv4.1 after boot
synoservice --restart pkgctl-NFS
- Save and make sure it's enabled.
This will restart the NFS service after boot and re-enable NFSv4.1 support.
5. (Optional) Verify NFS Version on Client Side
To confirm the client is actually using NFSv4.1:
bash
mount -l | grep nfs
Or:
Look for nfs version 4.1.
✅ Summary of Fixes
| Step | Action |
|---|
| 1 | Enable NFSv4.1 in DSM GUI (Control Panel > File Services > NFS) |
| 2 | Check /etc/exports for proper NFSv4 configuration |
| 3 | Use a post-boot script to restart the NFS service via User Scripts & Tasks |
| 4 | Verify NFS version on client using mount or nfsstat |
🛠️ Additional Notes
- If you're using Active Directory or Kerberos, ensure that the appropriate security flavors (
sec=krb5) are configured in /etc/exports.
- DSM may reset some NFS settings on upgrade or after certain system changes — always test after updates.
Let me know if you'd like help writing the exact /etc/exports lines or testing the NFS client side.