nbdkit-nfs-plugin(1)
β¨ nbdkit-nfs-plugin π
okay bestie, so this is a page from the nbdkit manual, and it's all about nbdkit-nfs-plugin β the plugin that lets you vibe with a disk image living on a Network File Server. NFS girlies, this one's for you π«Ά
πΈ NAME πΈ
nbdkit-nfs-plugin β use disk image on Network File Server
π SYNOPSIS π
nbdkit nfs [uri=]URI [readonly=true]
nbdkit nfs --dump-plugin
π DESCRIPTION π
so nbdkit-nfs-plugin is a plugin for nbdkit(1) and what it does is mount a disk image that lives on a Network File Server (NFS) and then expose it for read and write over the NBD protocol. it uses libnfs under the hood. iconic behaviour tbh β¨
the only required parameter is the RFC-2224 NFS URI. here's a lil example for you:
nbdkit nfs 'nfs://server/mnt/disk.img?version=4'
β οΈ real talk: when you use this plugin, you may have to run nbdkit as root if the NFS server requires the NFS client to be using a privileged port β that's the so-called "secure" option in /etc/exports. no cap, check your exports file first π
π¦ PARAMETERS π¦
readonly=trueβ open the NFS file read-only. simple as that π[uri=]URIβ the RFC 2224-compliant URI of the NFS server, mountpoint and filename. you can add other query parameters to control features like timeouts and reconnections. for the deets, go look athttps://github.com/sahlberg/libnfsπ
also, the uri= prefix may be omitted in most cases. see "Magic parameters" in nbdkit(1). iykyk β¨
π DUMP PLUGIN OUTPUT π
nbdkit nfs --dump-plugin
this shows you:
libnfs_multithreading=yesβ this is printed if this version was compiled with libnfs multithreading support (https://github.com/sahlberg/libnfs/blob/master/README.multithreading). and bestie, this has better performance. slay π
π₯ DEBUGGING π₯
want libnfs debugging? say less. you can either use the nbdkit debugging flag -D nfs.debug=9 or add debug=9 to the end of the URI. two paths, same destiny:
nbdkit -f -v nfs 'nfs://...' -D nfs.debug=9
nbdkit -f -v nfs 'nfs://...&debug=9'
π FILES π
$plugindir/nbdkit-nfs-plugin.soβ the plugin. that's the one. π
use nbdkit --dump-config to find the location of $plugindir. go find it bestie, it's out there somewhere π§
β VERSION β
nbdkit-nfs-plugin first appeared in nbdkit 1.44. baby plugin, but she's growing π±
π SEE ALSO π
nbdkit(1), nbdkit-plugin(3), nbdkit-curl-plugin(1), nbdkit-file-plugin(1), nbdkit-ssh-plugin(1), exports(5), nfs(5), https://github.com/sahlberg/libnfs.
π AUTHORS π
Richard W.M. Jones
πΈ COPYRIGHT πΈ
Copyright Red Hat
π LICENSE π
okay so redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met β periodt:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. β
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. β
- Neither the name of Red Hat nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. β
π THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
and that's the whole page, bestie!! πβ¨ this lil slice of the nbdkit manual is from nbdkit-1.48.1, dated 2026-08-29, and it's the nbdkit-nfs-plugin(1) page π go mount something iconic π¦π
π¦ where this page comes from
- fedora 44: nbdkit-nfs-plugin 1.48.1-1.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms