$plugindir/nbdkit-full-plugin.so
The plugin.
Use "nbdkit --dump-config" to find the location of $plugindir.
Nbdkit plugin which is always full
nbdkit full
[size=]
SIZE
"nbdkit-full-plugin" is a plugin for nbdkit(1). Reads from this virtual disk return zeroes. All writes and similar operations like zero and trim fail with "ENOSPC" (No space left on device) error.
In other words this behaves like a sparse (thin-provisioned) virtual disk which has run out of space on the host.
Although this is a standalone plugin, it is equivalent to using either nbdkit-readonly-filter(1):
nbdkit --filter=readonly null SIZE
nbdkit --filter=error null SIZE \error-pwrite=ENOSPC error-pwrite-rate=100% \error-trim=ENOSPC error-trim-rate=100% \error-zero=ENOSPC error-zero-rate=100%
Those filters may be more flexible because you can place them on top of other plugins and you can control when to inject errors.
size=]SIZESpecify the virtual size of the disk image.
This parameter is required.
"size=" prefix may be omitted in most cases. See "Magic parameters" in nbdkit(1).
$plugindir/nbdkit-full-plugin.so
The plugin.
Use "nbdkit --dump-config" to find the location of $plugindir.
"nbdkit-full-plugin" first appeared in nbdkit 1.10.
4 releases since Debian 10 (Buster); the text changed 3 times.