Files
nexus/wiki/sources/ru-he-zai-ubuntu-server-shang-tong-guo-nfs-gua-zai-synology-nas-shang-de-gong-xiang-wen-jian-jia.md
2026-04-14 16:02:50 +08:00

36 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "如何在Ubuntu Server上通过NFS挂载Synology NAS上的共享文件夹"
type: source
tags: [nfs, synology, ubuntu]
date: 2026-04-14
source_file: raw/Technical/Home Office/🟠如何在Ubuntu Server上通过NFS挂载Synology NAS上的共享文件夹.md
---
## Summary
- 核心主题通过NFS协议将Synology NAS共享文件夹挂载到Ubuntu Server
- 问题域NAS与Linux服务器之间的网络存储挂载
- 方法/机制NAS端配置NFS权限Ubuntu端使用mount命令挂载配置fstab实现永久挂载
- 结论/价值实现NAS作为备份存储的稳定挂载
## Key Claims
- NFS相比Samba能完美保留Linux文件所有权信息避免Docker卷恢复时的权限报错
- NFS挂载需要使用timeo=900和_netdev参数确保稳定性
- 映射所有用户为admin可绕过复杂的Linux权限校验
- 必须使用mount -a测试而非直接重启验证fstab配置
## Key Concepts
- [[NFS]]Network File System网络文件系统协议
- [[fstab]]Linux文件系统表用于自动挂载配置
- [[永久挂载]]通过fstab实现开机自动挂载
## Key Entities
- [[Synology NAS]]:网络附加存储设备
- [[Ubuntu]]Linux发行版
## Connections
- [[Ubuntu]] ← 挂载 ← [[NFS]]
- [[NFS]] ← 服务于 ← [[Synology NAS]]
- [[fstab]] ← 配置 ← [[永久挂载]]
## Contradictions