Hi guys:) I am using nbd to share a dvd-drive from one machine to
another. Everything works great except one think: after nbd-server
starts up the drive will not open it's door when i press it's "open"
button. The only way to change the disc is to login as root on the
server and do eject /dev/hdc.
I know that the door locking can be disabled in the kernel, but this is
the "quick and dirty way" to resolve the problem. The door locking in
general is a good thing, because it ensures that the disc will not be
removed when it's mounted. So i thougth that maybe it is possible to
setup the nbd such a way that when the disc is mounted on the remote
side, the drive will lock it's door, but when it's unmounted (on the
client) the drive will unlock the door again?
On Sat, Oct 06, 2007 at 07:06:22PM +0300, Yury Bulka wrote:
> Hi guys:) I am using nbd to share a dvd-drive from one machine to
> another. Everything works great except one think: after nbd-server
> starts up the drive will not open it's door when i press it's "open"
This is after you've connected from a client, right?
> The only way to change the disc is to login as root on the
> server and do eject /dev/hdc.
Theoretically you should also be able to get it to eject if you make
sure that all clients have disconnected (using "nbd-client -d").
<Lo-lan-do> Home is where you have to wash the dishes.
-- #debian-devel, Freenode, 2004-09-22
Get latest updates about Open Source Projects, Conferences and News.