#885412 nbd-server: please provide a tool to list status of exports

Package:
nbd-server
Source:
nbd
Description:
Network Block Device protocol - server
Submitter:
Adam Borowski
Date:
2017-12-26 20:54:03 UTC
Severity:
wishlist
#885412#5
Date:
2017-12-26 20:45:55 UTC
From:
To:
Package: nbd-server
Version: 1:3.15.2-3
Severity: wishlist

Hi!
Once a single server has enough exports, it might get messy knowing what
files are currently used and which are not.  In theory, one could grep
/var/log/daemons.log, but that would be error prone.  There's also
ss/netstat but that has no IP-to-export match.

Thus, it'd be nice to have a tool that produces a report such as:
kholdan.srv     2001:470:64f4::5
kholdan.swap    2001:470:64f4::5
lorien.srv      -
lorien.swap     -
scratch         -
sirius.srv      2001:470:64f4::9
sirius.swap     2001:470:64f4::9

If there already is a way to query a running server, please consider this
bug a request for documentation pointer instead.


Meow!