A FUSE file system overlay inspired by Charybdefs, which is commanded by Avro and Zeromq. The file system may be instructed to misbehave in order to better test software which relies on file system access.
./mungefs /mount/dir/ -omodules=subdir,subdir=/target/directory
A command line utility used to modify the behavior of the filesystem.
Usage:
--help : show command usage
--operations : list of operations to apply a fault
--random : randomize error injection
--err_no : error number to force
--probability : 0-100 probability of random error to inject
--regexp : regexp matching operations
--kill_caller : kill the calling process
--delay_us : delay a method by a given number of microseconds
--auto_delay : set delay to simulate ssd
--corrupt_data : corrupt read or write data
--corrupt_size : report an invalid file size
getattr
readlink
mknod
mkdir
unlink
rmdir
symlink
rename
link
chmod
chown
truncate
open
read
write
statfs
flush
release
fsync
setxattr
getxattr
listxattr
removexattr
opendir
readdir
releasedir
fsyncdir
access
create
ftruncate
fgetattr
lock
bmap
ioctl
poll
flock
fallocate
mungefsctl --operations "write" --corrupt_data
mungefsctl --operations "read" --corrupt_data
mungefsctl --operations "getattr" --corrupt_size
mungefsctl --operations "write"
mungefsctl --operations "read"
mungefsctl --operations "getattr"