linux - How to access a CD/DVD drive over the network? - Super User
Looks like i found a way to do it with linux. would this cause any errors with the SMB that OMV uses or already has set up?
Jeff Ward -
I feel like a Samba / NFS setup is kind of a big hammer for this little nail. I found a blog post on this topic which shows the use of a tool called nbd -- network block device. To use it, setup the server and client.
(The tutorial is written for Ubuntu with a CD device at /dev/cdrom
, so you may need to adjust for your setup.)
On the server side (with the CDROM):
(You may get a warning about no configured exports - ignore it, we'll set one up below.)
Edit the /etc/nbd-server/config
file:
Then: sudo /etc/init.d/nbd-server restart
On the client side (access the server's CDROM):
Now map the block device (where 192.168.1.100
is the ip address of the server):
Now you can mount /dev/nbd0
as if it was a CDROM on the client:
Or grab an ISO: