GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
UNRELIABLEFS.CONF(5) FreeBSD File Formats Manual UNRELIABLEFS.CONF(5)

unreliablefs.conf
format of the configuration file used by unreliablefs(1)

The configuration file format is quite simple. Sections are delimited by square brackets:

[Section]

And options within brackets sections are simple key value pairs:

Option = Value

Per-fault-injection customizable variables are specified within sections with section names matching the fault-injection name.

Supported fault injections are:

File operation replaced with no-op.
Send SIGKILL signal to a process that invoked file operation.
Set random errno. errno(2) limited by supported errno's.
File operation slowdown for nanoseconds specified by duration parameter.

The options are:

Sets the regular expression that matches file operation for what fault injection is applicable. Option uses format of regular expressions described in re_format(7). POSIX Extended Regular Expression syntax is supported and regular expressions do not differentiate case.
Sets the regular expression that matches paths where fault injection is applicable. Option uses format of regular expressions described in re_format(7). POSIX Extended Regular Expression syntax is supported and regular expressions do not differentiate case.
Sets the probability in percents. Probability equal to 0 means that error injection will never happen. Probability equal to 100 means that error injection will happen on each file operation.
Sets the duration of file operation slowdown. Applicable to errinj_slowdown only.


[errinj_noop]
path_regexp = .*
op_regexp = .*
probability = 70

[errinj_errno]
path_regexp = *.xlog
probability = 4

unreliablefs(1), errno(2), syslog(3), re_format(7)

The unreliablefs(1) utility was written by Sergey Bronnikov.
April 15, 2021 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 5 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.