Closing enbd devices

Dag Sverre Seljebotn <[email protected]>
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
Is there a way to fully close enbd devices? Stopping enbd-client only
seems to stop the device from working, it stays open and can't be reused
with a different signature (the symptoms leading me to that conclusion:
The messages from enbd-client on trying to reuse, and the reports
of /proc/nbdinfo).

Yes, I've read the gotcha on the webpage, but my use case is different:
Using enbd with LTSP to connect remote devices on clients. I have a
daemon script on the clients checking for devices, and a service running
on the server which can register or unregister devices, thus device
assignment is automatic.

While I could hardcode a signature, I had the understanding that more
than one connection to the same client with the same signature is not a
good idea? (It doesn't run the stat services though, so if you say it is
safe then fine). Dynamically assigning signatures that are hard-coded
per device adds unnecesarry complexity to my device registering
protocol.

If I could just close the devices I would be happy (any messages I can
send to /proc/nbdinfo perhaps?). Running 2.4.32pre (thanks a lot for the
-m switch!).

// Dag Sverre
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.