阿力的解决方案①:nfs卡机造成unraid无法关机


Recommended Posts

大家好,我是阿力,有些问题比较有代表性,所以决定把解决方案进行整理,以便需要的朋友参考。

相关帖子:

https://forums.unraid.net/topic/119915-无法关机/

 

方案:

因为nfs客户端在服务器端离线时会无法umount,所以卡机,造成无法关机的情况,解决方案如下:

1、按图点击进行设置

1.jpeg.79d8e82f1892bd33c1fe09824c677492.jpeg

 

2、点击默认,出现默认脚本,然后找到如图‘unmount’),下面写入“ umount -l /mnt/remotes/* ”卸载全部挂载。或者每个挂载点写入以上内容,*以具体挂载目录替代。然后save。

119891365__19-2-2022_154825_10_10_10_11.thumb.jpeg.d0ad5cd11a289e50efbe68dea94ba49f.jpeg

 

测试通过。

Link to comment
  • lyqalex changed the title to 阿力的解决方案①:unraid的nfs卡机造成无法关机
  • lyqalex featured and pinned this topic
  • lyqalex changed the title to 阿力的解决方案①:nfs卡机造成unraid无法关机
  • lyqalex unfeatured this topic
  • lyqalex unpinned this topic
  • 2 weeks later...
  • 2 weeks later...
  • 1 month later...
  • 1 month later...
  • 1 year later...

这个问题又来了,我unraid是6.12.8系统,按照教程还是无法卸载nfs!关机卡死在等待已经关闭的虚拟群晖响应,一直无法关机。

我记得以前在6.11.3版本系统上,测试是可以卸载的,现在到了6.12系统又不行了。

 

大神还有解决方案吗?

Link to comment
On 4/2/2024 at 10:45 AM, sagger said:

这个问题又来了,我unraid是6.12.8系统,按照教程还是无法卸载nfs!关机卡死在等待已经关闭的虚拟群晖响应,一直无法关机。

我记得以前在6.11.3版本系统上,测试是可以卸载的,现在到了6.12系统又不行了。

 

大神还有解决方案吗?

挂载smb或nfs直接用命令,不要用那个插件。

Link to comment
22 hours ago, suosuosi said:

挂载smb或nfs直接用命令,不要用那个插件。

不用Unassigned插件,直接在User Scripts中使用命令:

在阵列启动时,延迟4分钟后使用命令挂载黑群晖的nfs目录,能够正常执行;

设置在阵列关闭时,使用命令umount -l 黑群晖的nfs目录,关机还是不能,无响应。查看日志,照样是等待已经关闭的虚拟群晖响应。

 

目前,只能手动卸载目录之后,再关机就正常。

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.