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 nbdkit(1), nbdkit-plugin(3), nbdkit-file-plugin(1),
55 nbdkit-partitioning-plugin(1).
56
58 Richard W.M. Jones
59
61 Copyright (C) 2017 Red Hat Inc.
62
64 Redistribution and use in source and binary forms, with or without
65 modification, are permitted provided that the following conditions are
66 met:
67
68 · Redistributions of source code must retain the above copyright
69 notice, this list of conditions and the following disclaimer.
70
71 · Redistributions in binary form must reproduce the above copyright
72 notice, this list of conditions and the following disclaimer in the
73 documentation and/or other materials provided with the
74 distribution.
75
76 · Neither the name of Red Hat nor the names of its contributors may
77 be used to endorse or promote products derived from this software
78 without specific prior written permission.
79
80 THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY
81 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
82 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
83 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE
84 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
85 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
86 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
87 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
88 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
89 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
90 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
91
92
93
94nbdkit-1.12.3 2019-05-22 nbdkit-split-plugin(1)