TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

4 pointsby harnhuaabout 10 years ago
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!

no comments

no comments