TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Intentionally inject errors into NFS to test user client

4 点作者 harnhua大约 10 年前
We have a software client that is being deployed into different IT environments. This client reads and writes files and thus has to handle a variety of different filesystem&#x2F;networking conditions. Most customers&#x27; filesystems are mounted via NFS and a lot of times we encounter problems reading and&#x2F;or writing files in certain directories because of NFS delays and improperly configured NFS permissions.<p>I&#x27;m looking for ways to intentionally inject errors (NFS&#x2F;networking&#x2F;etc.) in our test environment so we can better handle such conditions.<p>Searching around, I found mentions of a Linux kernel configuration item called CONFIG_NFSD_FAULT_INJECTION that supposedly allows &quot;manual injection of faults&quot; but I&#x27;ve been unable to find a working example so far.<p>Fellow HN-ers, what have you done or what would you do in such a scenario? Any advice is much appreciated!

暂无评论

暂无评论