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 "file=FILENAME" parameter. These
15 files are logically concatenated into a single disk image.
16
17 Differences from nbdkit-file-plugin
18 Normally to serve a single file you should use nbdkit-file-plugin(1).
19 This plugin differs from nbdkit-file-plugin as follows:
20
21 · nbdkit-file-plugin is faster and more efficient. It has a fully
22 parallel implementation, and does not have to deal with the
23 complexity of locating the correct file to serve or splitting
24 requests across files.
25
26 · nbdkit-file-plugin allows you to resize the underlying file
27 dynamically. The underlying files must not be resized when using
28 the split plugin.
29
30 · nbdkit-file-plugin can handle block devices, but the split plugin
31 can only handle plain files.
32
33 · nbdkit-file-plugin handles writes of blocks of zeroes efficiently,
34 but the split plugin cannot.
35
36 · nbdkit-file-plugin can "punch holes" in the backing file in
37 response to a trim request from the client, but the split plugin
38 does not support this.
39
41 file=FILENAME
42 One or more files to open. They are logically concatenated in the
43 order they appear on the command line.
44
45 This parameter must appear at least once.
46
48 nbdkit(1), nbdkit-plugin(3), nbdkit-file-plugin(1).
49
51 Richard W.M. Jones
52
54 Copyright (C) 2017 Red Hat Inc.
55
57 Redistribution and use in source and binary forms, with or without
58 modification, are permitted provided that the following conditions are
59 met:
60
61 · Redistributions of source code must retain the above copyright
62 notice, this list of conditions and the following disclaimer.
63
64 · Redistributions in binary form must reproduce the above copyright
65 notice, this list of conditions and the following disclaimer in the
66 documentation and/or other materials provided with the
67 distribution.
68
69 · Neither the name of Red Hat nor the names of its contributors may
70 be used to endorse or promote products derived from this software
71 without specific prior written permission.
72
73 THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY
74 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
75 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
76 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE
77 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
78 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
79 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
80 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
81 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
82 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
83 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
84
85
86
87nbdkit 2017-12-02 nbdkit-split-plugin(1)