qm-nbdstop
Stop NBD export of a QEMU VM disk
TLDR
Stop embedded nbd server
SYNOPSIS
qm-nbdstop VMID
PARAMETERS
VMID
The unique identifier of the virtual machine whose NBD server you want to stop.
DESCRIPTION
The `qm-nbdstop` command is a utility used within Proxmox VE (or QEMU environments) to terminate a Network Block Device (NBD) server process that was previously started using `qm-nbd`.
This is typically used to export a virtual machine disk image via NBD. The command takes the VMID (Virtual Machine ID) as an argument, and identifies and terminates the associated NBD server. Correct termination of the NBD server is crucial for ensuring data integrity and preventing resource leaks. Without it, the exported disk might become corrupted and inaccessible.
Note that this tool is Proxmox VE specific and might not be available in a plain QEMU setup. It simplifies the process of managing NBD exports within the Proxmox VE environment.
USAGE NOTES
Before executing `qm-nbdstop`, ensure that all clients connected to the NBD server have disconnected properly. Failure to do so may result in data corruption.
This command is often used after backing up or migrating a VM using the `qm-nbd` command.
SEE ALSO
qm-nbd(1), qemu-nbd(8)