什么是“必杀”?在谈论 NFS 挂载选项时?

发布于 2024-08-30 04:26:49 字数 447 浏览 3 评论 0原文

在以下链接中

http://www.faqs.org/docs/ Linux-HOWTO/NFS-HOWTO.html

它说除非通过“肯定杀死”,否则进程是不可杀死的,但是什么是肯定杀死呢?

硬(NFS 客户端安装选项)

程序访问 NFS 上的文件 挂载的文件系统将挂起 服务器崩溃。该过程不能 被打断或杀死(除非被 “肯定杀掉”)除非你也 指定 intr。当 NFS 服务器处于 重新上线后程序将继续 从原来的地方不受干扰。我们 建议在所有 NFS 上使用 Hard,intr 挂载的文件系统。

In the following link

http://www.faqs.org/docs/Linux-HOWTO/NFS-HOWTO.html

It said a process is not killable except by a "sure kill", but what's sure kill?

hard (NFS client mount option)

The program accessing a file on a NFS
mounted file system will hang when the
server crashes. The process cannot be
interrupted or killed (except by a
"sure kill"
) unless you also
specify intr. When the NFS server is
back online the program will continue
undisturbed from where it was. We
recommend using hard,intr on all NFS
mounted file systems.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

倒带 2024-09-06 04:26:49

我认为这意味着 kill -9,但请注意,您正在阅读 2002 年的相当古老的指南(我认为,就像大多数其他 TLDP 指南一样),并且关于 NFS 挂载选项 hard, intr 已经是默认的并且

intr / nointr 挂载选项是
内核 2.6.25 之后已弃用。仅有的
SIGKILL 可以中断挂起的 NFS
对这些内核的操作,如果
指定,这个挂载选项是
忽略向后提供
与旧内核的兼容性。

I think it means kill -9, though please note that you are reading a quite old howto (as most other TLDP howtos, I think) from 2002 year, and regarding NFS mount options hard,intr are already default and

The intr / nointr mount option is
deprecated after kernel 2.6.25. Only
SIGKILL can interrupt a pending NFS
operation on these kernels, and if
specified, this mount option is
ignored to provide backwards
compatibility with older kernels.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文