Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-02-2003, 10:02 PM
|
#1
|
LQ Newbie
Registered: Dec 2003
Location: Serbia
Posts: 12
Rep:
|
Problem with sharing CD-ROM over network, NFS
I have small network with 5 machines running Mandrake 9.1 Linux and I have only one CD-ROM device on one of those machines. I want to share CD-ROM device so that it can be accessed from any of those networked machines.
I set sharing of directories using NFS and that works fine. I wonder if I can use NFS for sharing CD-ROM? I tried that but there was problem. I tried something like this: First I mount CD on local machine, say in directory /mnt/cdrom, and then I share that directory over network using NFS (by listing it in /etc/exports). Then on some other machine in network I remote mount that directory (/mnt/cdrom) using NFS. That works for now, I can access files from CD from the remote machine, but the problem is that after that I can't take out CD from CD-ROM drive. When I try to umount CD-ROM from local machine I get message "Device is busy". Even when I remote umount that directory from all machines in network that mounted it previously, I still get the same message "Device is busy" and I cant take CD out of drive, until reboot.
Lazy umount doesn't help either.
It would be nice if someone could throw few words of advice how to solve this problem or any other suggestions how to share CD-ROM over network.
|
|
|
12-02-2003, 10:24 PM
|
#2
|
Member
Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417
Rep:
|
That's right because the rpc.nfsd has a lock on it. I would just put a symlink to the /mnt/cdrom in some other nfs share that the users have mounted.
|
|
|
12-03-2003, 09:05 PM
|
#3
|
LQ Newbie
Registered: Dec 2003
Location: Serbia
Posts: 12
Original Poster
Rep:
|
I tried it but it doesn't work. When I make symlink to /mnt/cdrom in one of the shared folders, link works only from local machine, where CD-ROM is actually mounted. When using that same link from remote machines it points to their local /mnt/cdrom folder where nothing is mounted and therefore shows empty folder. So I cant even access CD data from remote machines using that symlink.
Any other ideas how to solve this problem or share CD drive over network, using NFS or any other method?
|
|
|
12-05-2003, 11:18 AM
|
#4
|
LQ Newbie
Registered: Dec 2003
Location: Serbia
Posts: 12
Original Poster
Rep:
|
Any ideas of sharing CD over linux network?
Maybe NFS is no good for this, maybe SAMBA? Or anything else? There must be some way, in windows it works flawlessly after 5 minutes.
Come on, any ideas?
|
|
|
All times are GMT -5. The time now is 03:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|