fea Posted November 26, 2022 Share Posted November 26, 2022 UNRAID 里安装了虚拟机黑群晖,所有数据都放在黑群晖里,UNRAID docker 安装 EMBY,然后通过 Unassigned Devices 挂载了黑群晖 NFS 的媒体文件夹。但是 UNRAID 重启后,黑群晖启动肯定更慢,导致Unassigned Devices 无法挂载 NFS 文件夹,必须手动挂载一次,有什么办法延时挂载黑群晖的 NFS 文件夹吗? Quote Link to comment
sagger Posted November 29, 2022 Share Posted November 29, 2022 使用User Scripts插件,新建一个script,设定阵列启动后执行: sleep 3m mkdir /mnt/remotes/movie mount -t nfs 192.168.1.100:/volume1/movie /mnt/remotes/movie docker restart EmbyServer 以上ip地址以及目录换成你自己的 1 Quote Link to comment
sagger Posted November 29, 2022 Share Posted November 29, 2022 再新建一个script,设定阵列停止执行: umount -l /mnt/remotes/* 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.