1nbdkit-full-plugin(1)               NBDKIT               nbdkit-full-plugin(1)
2
3
4

NAME

6       nbdkit-full-plugin - nbdkit plugin which is always full
7

SYNOPSIS

9        nbdkit full size=SIZE
10

DESCRIPTION

12       "nbdkit-full-plugin" is a plugin for nbdkit(1).  Reads from this
13       virtual disk return zeroes.  All writes and similar operations like
14       zero and trim fail with "ENOSPC" (No space left on device) error.
15
16       In other words this behaves like a sparse (thin-provisioned) virtual
17       disk which has run out of space on the host.
18
19   Equivalent nbdkit-error-filter command
20       Although this is a standalone plugin, it is equivalent to using
21       nbdkit-error-filter(1):
22
23        nbdkit --filter=error null size=SIZE \
24                              error-pwrite=ENOSPC error-pwrite-rate=100% \
25                              error-trim=ENOSPC error-trim-rate=100% \
26                              error-zero=ENOSPC error-zero-rate=100%
27
28       nbdkit-error-filter can be more flexible because you can place it on
29       top of other plugins and you can control when to inject errors.
30

PARAMETERS

32       size=SIZE
33           Specify the virtual size of the disk image.
34
35           This parameter is required.
36

SEE ALSO

38       nbdkit(1), nbdkit-plugin(3), nbdkit-error-filter(1),
39       nbdkit-null-plugin(1), nbdkit-pattern-plugin(1),
40       nbdkit-random-plugin(1).  nbdkit-zero-plugin(1).
41

AUTHORS

43       Richard W.M. Jones
44
46       Copyright (C) 2017-2018 Red Hat Inc.
47

LICENSE

49       Redistribution and use in source and binary forms, with or without
50       modification, are permitted provided that the following conditions are
51       met:
52
53       ·   Redistributions of source code must retain the above copyright
54           notice, this list of conditions and the following disclaimer.
55
56       ·   Redistributions in binary form must reproduce the above copyright
57           notice, this list of conditions and the following disclaimer in the
58           documentation and/or other materials provided with the
59           distribution.
60
61       ·   Neither the name of Red Hat nor the names of its contributors may
62           be used to endorse or promote products derived from this software
63           without specific prior written permission.
64
65       THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY
66       EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
67       IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
68       PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE
69       LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
70       CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
71       SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
72       BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
73       WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
74       OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
75       ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
76
77
78
79nbdkit-1.12.3                     2019-05-22             nbdkit-full-plugin(1)
Impressum