1nbdkit-split-plugin(1) NBDKIT nbdkit-split-plugin(1)
2
3
4
6 nbdkit-split-plugin - nbdkit plugin to concatenate split files into one
7 disk
8
10 nbdkit split [file=]file1 [[file=]file2 [file=]file3 ...]
11
13 "nbdkit-split-plugin" is a file plugin for nbdkit(1). One or more
14 filenames may be given using the "FILENAME" parameter. These files are
15 logically concatenated into a single disk image.
16
17 If you want to add a virtual partition table, see
18 nbdkit-partitioning-plugin(1).
19
20 Differences from nbdkit-file-plugin
21 Normally to serve a single file you should use nbdkit-file-plugin(1).
22 This plugin differs from nbdkit-file-plugin as follows:
23
24 · nbdkit-file-plugin is faster and more efficient. It has a fully
25 parallel implementation, and does not have to deal with the
26 complexity of locating the correct file to serve or splitting
27 requests across files.
28
29 · nbdkit-file-plugin allows you to resize the underlying file
30 dynamically. The underlying files must not be resized when using
31 the split plugin.
32
33 · nbdkit-file-plugin can handle block devices, but the split plugin
34 can only handle plain files.
35
36 · nbdkit-file-plugin handles writes of blocks of zeroes efficiently,
37 but the split plugin cannot.
38
39 · nbdkit-file-plugin can "punch holes" in the backing file in
40 response to a trim request from the client, but the split plugin
41 does not support this.
42
44 [file=]FILENAME
45 One or more files to open. They are logically concatenated in the
46 order they appear on the command line.
47
48 This parameter must appear at least once.
49
50 "file=" is a magic config key and may be omitted in most cases.
51 See "Magic parameters" in nbdkit(1).
52
54 $plugindir/nbdkit-split-plugin.so
55 The plugin.
56
57 Use "nbdkit --dump-config" to find the location of $plugindir.
58
60 "nbdkit-split-plugin" first appeared in nbdkit 1.2.
61
63 nbdkit(1), nbdkit-plugin(3), nbdkit-file-plugin(1),
64 nbdkit-partitioning-plugin(1).
65
67 Richard W.M. Jones
68
70 Copyright (C) 2017 Red Hat Inc.
71
73 Redistribution and use in source and binary forms, with or without
74 modification, are permitted provided that the following conditions are
75 met:
76
77 · Redistributions of source code must retain the above copyright
78 notice, this list of conditions and the following disclaimer.
79
80 · Redistributions in binary form must reproduce the above copyright
81 notice, this list of conditions and the following disclaimer in the
82 documentation and/or other materials provided with the
83 distribution.
84
85 · Neither the name of Red Hat nor the names of its contributors may
86 be used to endorse or promote products derived from this software
87 without specific prior written permission.
88
89 THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY
90 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
91 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
92 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE
93 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
94 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
95 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
96 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
97 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
98 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
99 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
100
101
102
103nbdkit-1.24.2 2021-03-02 nbdkit-split-plugin(1)