共享
Unraid 的一个关键功能是共享的管理。共享是在您的 Unraid 服务器上可以通过网络访问的文件夹或驱动器。您可以在 Unraid 服务器上创建任意多的共享。这些共享可以被保护,并且其配置决定了数据如何在您的 array 或命名的 pool 驱动器中写入和分布。
Unraid 提供两种类型的共享,以优化您的数据管理:

需记住,两种共享类型展示的是同一底层文件系统的不同视图;在 user share 可见的任何文件或文件夹将在其相应的物理驱动器的磁盘共享下也会可见。
当您启动 Docker 或 VM 管理器等服务时,Unraid 会自动创建一个默认用户共享集,旨在支持常见插件、Docker 容器和虚拟机 (VMs)。根据需要,您可以方便地为个人数据创建额外的共享。
To manage your shares, simply navigate to the Shares tab in the WebGUI. Here, you can easily enable or disable shares through Settings → Global Share Settings. By default, user shares are enabled, providing a straightforward starting point for your file organization.
用户共享
User shares provide an aggregated view of top-level folders with the same name across cache and array drives. The share name corresponds to the folder name, creating a unified network-accessible view that spans multiple drives. It's important to note that while directories appear merged, individual files remain stored on a single drive.
管理用户共享
您可以在WebGUI的“共享”标签中访问和管理用户共享。此界面允许您:
- 查看所有现有共享
- 创建新共享
- 修改或删除现有共享
在驱动器上手动创建的任何顶层文件夹会自动识别为用户共享并分配默认属性。
文件系统结构
At the Linux level, User shares are accessible under /mnt/user, which combines files from both the array and pools. This logical view overlays the physical file system, meaning files are also visible through Disk Shares at the drive level.
已弃用的 /mnt/user0 挂载点(不包括 pool 文件)可能在未来的 Unraid 版本中删除。
存储分配
The physical drive that stores a file is determined by share settings such as Allocation Method, Included/Excluded Disks, and Split Level. Changes to these settings will affect only new files; existing files will remain untouched unless moved manually.
:::caution[Critical]
请勿混用用户共享和磁盘共享
切勿直接在 user share 和 disk share 之间复制或移动文件(例如,在 /mnt/user/share 和 /mnt/disk1/share 之间),特别是当文件夹名称相同时。这可能导致文件损坏或永久数据丢失。
有关安全文件管理实践和更多细节,请参见下方的磁盘共享指南。
:::