LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-02-2003, 09:02 PM   #1
PR0T0N
LQ Newbie
 
Registered: Dec 2003
Location: Serbia
Posts: 12

Rep: Reputation: 0
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.
 
Old 12-02-2003, 09:24 PM   #2
jcookeman
Member
 
Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417

Rep: Reputation: 33
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.
 
Old 12-03-2003, 08:05 PM   #3
PR0T0N
LQ Newbie
 
Registered: Dec 2003
Location: Serbia
Posts: 12

Original Poster
Rep: Reputation: 0
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?
 
Old 12-05-2003, 10:18 AM   #4
PR0T0N
LQ Newbie
 
Registered: Dec 2003
Location: Serbia
Posts: 12

Original Poster
Rep: Reputation: 0
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem sharing folder via NFS cdavidson Linux - Newbie 4 04-03-2005 08:39 PM
File sharing on a network NFS linux_blnk182 Linux - Networking 2 01-05-2005 06:29 PM
problem sharing internet connection thru crossover network kozonak Linux - Newbie 3 03-09-2004 04:39 AM
Installation from NFS. (laptop without cd-rom) yapp Slackware 4 10-19-2003 05:58 AM
Network Sharing Problem with Mandrake 8.0 Linux SkyWalker659 Linux - Networking 0 01-11-2002 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration