qemu-nbd
QEMU Disk Network Block Device Server
- Provided by: qemu-utils (Version: 2.0.0+dfsg-2ubuntu1.46)
- Source: qemu
- Report a bug
QEMU Disk Network Block Device Server
usage: qemu-nbd [OPTION]... filename
Export QEMU disk image using NBD protocol.
is a disk image filename
port to listen on (default B<1024>)
offset into the image
interface to bind to (default B<0.0.0.0>)
Use a unix socket with path I<path>
Set image format as I<format>
export read-only
only expose partition I<num>
use I<filename> as an external snapshot, create a temporary
file with backing_file=I<filename>, redirect the write to
the temporary one
load an internal snapshot inside I<filename> and export it
as an read-only device, I<snapshot_param> format is
'snapshot.id=[ID],snapshot.name=[NAME]' or '[ID_OR_NAME]'
set cache mode to be used with the file. See the documentation of
the emulator's C<-drive cache=...> option for allowed values.
choose asynchronous I/O mode between B<threads> (the default)
and B<native> (Linux only).
toggles whether I<discard> (also known as I<trim> or I<unmap>)
requests are ignored or passed to the filesystem. The default is no
(B<--discard=ignore>).
connect I<filename> to NBD device I<dev>
disconnect the specified device
device can be shared by I<num> clients (default B<1>)
force block driver for format I<fmt> instead of auto-detecting
don't exit on the last connection
display extra debugging information
display this help and exit
output version information and exit
Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws>. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.