OS Manuals

/usr/bin/zinject

Advanced filesystem and volume manager

From zfs 2.4.4-r4 (os), captured 2026-11-05 by running zinject --help (exit 1) · terse output. permalink

The ZFS modules cannot be auto-loaded.
Try running 'modprobe zfs' as root to manually load them.
Options (17)
OptionDescriptionSource
-aFlush the ARC before injection.man
-b objset:object:level:start:endForce an error into the pool at this bookmark tuple.man
-C dvasInject the given error only into specific DVAs.man
-d vdevA vdev specified by path or GUID.man
-e device_errorSpecifyman
-f frequencyOnly inject errors a fraction of the time.man
-FFail faster.man
-hPrint the usage message.man
-l levelInject an error at a particular block level.man
-L label_errorSet the label error region to one of nvlist, pad1, pad2, or uber.man
-mAutomatically remount the underlying filesystem.man
-qQuiet mode.man
-r rangeInject 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.man
-s secondsRun for this many seconds before reporting failure.man
-T typeInject the error into I/O of this type.man
-t mos_typeSet this toman
-uUnload the pool after injection.man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.