NBD-CLIENT(8) NBD-CLIENT(8) (NAME) nbd-client - nbd-server(1) (SYNOPSIS) nbd-client host [ port ] nbd-device [ -connections num ] [ -sdp ] [ -swap ] [ -persist ] [ -nofork ] [ -nonetlink ] [ -systemd-mark ] [ -readonly ] [ -preinit ] [ -block-size block size ] [ -size bytes ] [ -timeout seconds ] [ -name name ] [ -certfile certfile ] [ -keyfile keyfile ] [ -cacertfile cacertfile ] [ -tlshostname hostname ] [ -priority gnutls-priority-string ] nbd-client -unix path nbd-device [ -connections num ] [ -sdp ] [ -swap ] [ -persist ] [ -nofork ] [ -nonetlink ] [ -systemd-mark ] [ -readonly ] [ -preinit ] [ -block-size block size ] [ -size bytes ] [ -timeout seconds ] [ -name name ] nbd-client nbd-device nbd-client -d nbd-device nbd-client -c nbd-device nbd-client -l host [ port ] nbd-client [ -netlink ] -l host (DESCRIPTION) nbd-client nbd-server . (NBD) . NBD (major mode) . . (OPTIONS) : -block-size block size -b "block size". . -connections num -C num . . . host IP nbd-server . .. NBD IPv6 . -timeout seconds -t "seconds". ioctl NBD_SET_TIMEOUT -- .. . port TCP nbd-server . IANA NBD . nbd "oldstyle" . . nbd . nbd-device ( /dev) nbd-client . export nbd-client nbdtab . nbdtab(5) . -check -c nbd . nbd-client (PID) nbd-client . ( nbd ) nbd-client . nbd-client . -disconnect -d nbd . -list -l (exports) . IPv6 IPv4 export . nbd- server . ( "allowlist") . -nonetlink -L . nbd-client netlink NBD . ioctl() . nbd-client libnl-genl . nbd-client ioctl ( ). nbd-client netlink . -identifier ident -i . nbd-client netlink ( . ) /sys/block/nbdN/backend . netlink (idempotent) . nbd-client libnl-genl . nbd-client ioctl ( ). nbd-client netlink . -persist -p nbd-client nbd . -preinit -P nbd-client . NBD . -B TLS . -readonly -R nbd-client - . -size bytes -B bytes . . preinit (-P) . -sdp -S (SDP) IP. nbd-server(5) . -swap -s NBD swap . mlockall() oom-killer (deadlocks) . . -systemd-mark -m systemd argv[0] '@' . nbd-client . nbd-client initrd systemd systemd . -nofork -n NBD . . nbd-client (fork) . . -no-optgo -g NBD_OPT_GO NBD_OPT_EXPORT_NAME . NBD : . NBD_OPT_EXPORT_NAME export ( ) . NBD_OPT_GO . ( nbd-server) . NBD_OPT_GO nbd- client NBD_OPT_EXPORT_NAME . . . nbdtab . -name -N export . nbd-client export "" . -unix -u path TCP. . -certfile file -F TLS . -keyfile file -K . -cacertfile file -A CA TLS . -tlshostname hostname -H TLS. . -priority gnutls priority string -y GnuTLS. TLS GnuTLS . NORMAL:-VERS-TLS-ALL:+VERS-TLS1.2 . TLS (TLS SUPPORT) TLS NBD_OPT_STARTTLS TLS . TLS ( ) nbd-client (socketpair) / . swap NBD : swap nbd . NBD_CMD_WRITE . ( swap) . (deadlock) . PF_MEMALLOC nbd TCP . . PF_MEMALLOC nbd / . TLS PF_MEMALLOC . TLS -swap nbd-client . (EXAMPLES) nbd-client: o "server.domain.com" "/dev/nbd0": nbd-client server.domain.com 2000 /dev/nbd0 o "swapserver.domain.com" "/dev/nbd1" swap: nbd-client swapserver.domain.com 2001 /dev/nbd1 -swap o ( ): nbd-client -d /dev/nbd1 (SEE ALSO) nbd-server(1), nbdtab(5) (AUTHORS) NBD NBD Pavel Machek (pavel@ucw.cz) . Paul Clements (Paul.Clements@steeleye.com) Wouter Verhelst (wouter@debian.org) . Wouter Verhelst () / ( ). / (GPL) . $Date$ NBD-CLIENT(8)