Files
nexus/wiki/sources/如何在Ubuntu-Server上通过NFS挂载Synology-NAS上的共享文件夹.md
weishen f9ac3145ab feat(wiki): ingest remaining subdirectories batch (51 files)
- Others: ChinaTextbook, Obsidian笔记系列, YouTube Channel ID, TikTok PM Django
- Skills: GOG CLI, Last30Days, baoyu-skills
- Vibe Coding: Cursor 2.0, Trae远程开发, Vibe-Kanban+OpenCode, vibe coding经验
- 微信公众号: 养虾日记1-5, AI时代赚钱
- 跨境电商: TikTok数据抓取, 选品策略, Superset Dashboard
- AI目录补充: 20个文件

Source pages: 51
Entities: TapXWorld, VibeKanban, OpenCode, Trae, SourceGrounding等
Concepts: 自举Meta生成, 5大设计原则, MD5去重, 混合搜索等
2026-04-14 20:48:34 +08:00

42 lines
1.6 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, ubuntu, synology, nas, 挂载]
date: 2025-09-15
---
## Source File
- [[raw/Home Office/如何在Ubuntu Server上通过NFS挂载Synology NAS上的共享文件夹.md]]
## Summary
- 核心主题:在 Ubuntu Server 上通过 NFS 挂载 Synology NAS 共享文件夹
- 问题域:网络存储挂载
- 方法/机制NAS 端配置 NFS 权限Ubuntu 端安装 nfs-common 并挂载,/etc/fstab 实现永久挂载
- 结论/价值NFS 相比 Samba 能保留 Linux 文件所有权,适合 Docker 卷备份场景
## Key Claims
- NAS NFS 配置关键Squash 选择"映射所有用户为 admin",安全性选择 sys
- Ubuntu 挂载命令mount -t nfs 192.168.3.17:/volume2/backup /mnt/nas_backup
- /etc/fstab 永久挂载关键参数timeo=900,retrans=5,_netdev
- _netdev 参数确保网络就绪后才挂载,防止开机卡死
- sudo systemctl enable remote-fs.target 解决 nfs-common 启动慢的问题
## Key Quotes
> "NFS 相比 Samba 的优势:原生权限支持(保留文件所有权)、无 vers=3.0 方言冲突、性能更强" — NFS 是 Docker 卷备份的首选协议
## Key Concepts
- [[NFS]]网络文件系统Linux 间共享存储的标准协议
- [[永久挂载]]/etc/fstab 配置实现开机自动挂载
- [[_netdev]]:网络设备挂载参数
## Key Entities
- [[Ubuntu]]NFS 客户端
- [[Synology NAS]]NFS 服务端
## Connections
- [[Synology NAS]] ← serves ← [[NFS]]
- [[Ubuntu]] ← mounts ← [[NFS]]
## Contradictions
-