Skip to content

Inject failures into a file system. Allows for simulating disk failures/delays/corruption

License

Notifications You must be signed in to change notification settings

prashantpogde/NoiseInjector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NoiseInjector

About

TBD

Development Status

TBD

Supported Platforms

Linux

Dependencies

  • libfuse3 yum install fuse3.x86_64 fuse3-devel.x86_64 fuse3-libs.x86_64
  • protobuf 2.5 or higher
  • grpc built/installed from sources
  • cmake 3.14 built/installed from sources
  • cppunit & cppunit-devel

Installation

mkdir Build cd Build do 'cmake ..' do 'make'

This will build following binaries:

  • failure_injector_svc_server usage : failure_injector_svc_server /mnt It will create a Fuse mountpoint on /mnt and also start a grpc server to listen for failure injections on this mountpoint.

  • failure_injector_svc_client This is a grpc client that can be used to inject failures on the /mnt mountpoint above. Currently it supports,

    • Injecting delays on various filesystem interfaces.
    • Injecting a specific failure on a specific path for a specific operation.
    • Simulate temporary or on-disk data corruption on IO path.
    • Reseting specific or all the failures injected so far.
  • some unit test binaries

Security implications

TBD

About

Inject failures into a file system. Allows for simulating disk failures/delays/corruption

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published