---
name: "gnbd_serv"
section: "8"
platform: "linux"
package: "gnbd-server"
version: "2.20081102-1+lenny1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/gnbd_serv"
---

# gnbd\_serv(8)

gnbd server daemon

## NAME

gnbd\_serv - gnbd server daemon

## SYNOPSIS

**gnbd\_serv** \[*OPTION*\]...

## DESCRIPTION

gnbd\_serv manages gnbd devices exported by gnbd\_export and connections from gnbd\_import. It serves up data from the local disks to the connected gnbd clients.

## OPTIONS

- **-h**

  Help.

  Print the usage information.

- **-k**

  Kill.

  Kill the gnbd\_serv daemon.  This command will not kill the daemon if any devices are currently being exported.  The exported devices must first be removed.

- **-K**

  Force Kill.

  Kill the gnbd\_serv daemon regardless of whether or not there are currently exported devices.  This command will try to shut down all of the gnbd\_serv processes for the currently active connections before shutting down the primary gnbd\_serv process. However, if these processes are in uninterruptible sleep, the primary gnbd\_serv process may shut down while a there is still an active gnbd connection.

- **-n**

  No Cluster.

  This command keeps gnbd\_serv from trying to contact the cluster manager. **NOTE:** With this option, it is not possible to export uncached devices.

- **-p** *port*

  Port.

  Specify the port for the gnbd server to listen for external connections on. By default, the server listens for requests on port 14567. If this port is changed, gnbd\_import must also use the **-p** option.

- **-q**

  Quiet mode.

  Only print out errors or questions.

- **-V**

  Version information.

  Print out version information.

- **-v**

  Verbose output.

  Print additional messages during the operation of gnbd\_serv.

## SEE ALSO

[gnbd\_export(8)](/gnbd_export/8.md), [gnbd\_import(8)](/gnbd_import/8.md)

## BUGS

Occasionally, gnbd\_serv -k will not clean up the gnbd\_clusterd processes. Once gnbd\_serv has stopped running, this process can simply be killed.
