| Main index | Section 8 | Options |
zinject List injection records. | |
zinject | |
zinject | |
zinject | |
zinject
For example, with a single lane delay of 10 ms
(amp;
Similarly, if a delay of 10 ms is specified to have two
lanes
(amp;
Also note, these delays are additive.
So two invocations of
| |
zinject | |
zinject | |
zinject | |
zinject | |
zinject | |
zinject | |
| | |
| Flush the ARC before injection. | |
| | |
| Force an error into the pool at this bookmark tuple. Each number is in hexadecimal, and only one block can be specified. | |
| | |
| Inject the given error only into specific DVAs. The mask should be specified as a list of 0-indexed DVAs separated by commas (e.g. 0,2). This option is not applicable to logical data errors such as decompress and decrypt. | |
| | |
| A vdev specified by path or GUID. | |
| | |
| Specify | |
| checksum | for an ECKSUM error, |
| decompress | for a data decompression error, |
| decrypt | for a data decryption error, |
| corrupt | to flip a bit in the data after a read, |
| dtl | for an ECHILD error, |
| io | for an EIO error where reopening the device will succeed, or |
| nxio | for an ENXIO error where reopening the device will fail. |
For EIO and ENXIO, the "failed" reads or writes still occur. The probe simply sets the error value reported by the I/O pipeline so it appears the read or write failed. Decryption errors only currently work with file data.
| | Only inject errors a fraction of the time. Expressed as a real number percentage between 0.0001 and 100. |
| | Fail faster. Do fewer checks. |
| | Run for this many transaction groups before reporting failure. |
| | Print the usage message. |
| | Inject an error at a particular block level. The default is 0. |
| | Set the label error region to one of nvlist, pad1, pad2, or uber. |
| | Automatically remount the underlying filesystem. |
| | Quiet mode. Only print the handler number added. |
| | Inject an error over a particular logical range of an object, which will be translated to the appropriate blkid range according to the object's properties. |
| | Run for this many seconds before reporting failure. |
| | Set the failure type to one of all, claim, free, read, or write. |
| | Set this to |
| mos | for any data in the MOS, |
| mosdir | for an object directory, |
| config | for the pool configuration, |
| bpobj | for the block pointer list, |
| spacemap | for the space map, |
| metaslab | for the metaslab, or |
| errlog | for the persistent error log. |
| | Unload the pool after injection. |
| ZFS_HOSTID | |
| Run zinject in debug mode. | |
| ZINJECT (8) | May 26, 2021 |
| Main index | Section 8 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
