How to share CD Roms


Trying to remote mount a CD from one 2.3 machine to another 2.3 machine?

If your experience is something like this
Vold mounts it automatically on the local machine and when I type share it shows up as a shared filesystem. On the remote machine I do a


        mount -o ro remote_sys:/cdrom  /cdrom
The cdrom mounts but I only get an empty directory structure in the local /cdrom mount point. nfsd is running on the remote machine and vold on both. Did I leave something out?

To share the CD-ROM if vold is managing it, you should probably let vold share it -- see the rmmount.conf man page. Another problems is that if nothing is in /etc/dfs/sharetab then using the share command doesn't do anything. So, put something in sharetab (such as exporting /usr/tmp). This is because you have to run the right daemon(s) to be an NFS server.

I know -- this doesn't seem right, but that's the way it seems to work (the system tries to run less daemons if they're not needed). Of course, you could manually start up the NFS daemon(s) needed.


Back to the tips page.