LinuxQuestions.org
Visit Jeremy's Blog.
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 03-12-2007, 03:48 PM   #1
destiny200
LQ Newbie
 
Registered: Nov 2005
Location: Minneapolis
Distribution: SUSE 10.0
Posts: 12

Rep: Reputation: 0
network mountable dvd drive?


Is it posible to make the dvd drive in my server mountable from networked clients.

Running SUSE 10.0 with NFS.

Thanks
 
Old 03-12-2007, 05:22 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
It really needs to be mounted to start with from the machine and then share the mount poiint on samba, nfs, or others.

If you have the room on the drive, you can make an ISO of the dvd and mount the ISO and share the mount point of the ISO. Now you not need to keep the DVD drive tied up.

Brian
 
Old 03-12-2007, 07:12 PM   #3
destiny200
LQ Newbie
 
Registered: Nov 2005
Location: Minneapolis
Distribution: SUSE 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
My manuals come on CD's. I would like to have dedicated CD Drives in the server to read from on the network. Is there a way of doing that?
 
Old 03-12-2007, 07:29 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
I see no problem. You just share the mount point the drive is mounted too. Are you having an error or problem doing this?

Brian
 
Old 03-12-2007, 08:03 PM   #5
destiny200
LQ Newbie
 
Registered: Nov 2005
Location: Minneapolis
Distribution: SUSE 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
In YAST if I try to export media:/hdc it tells me the directory does not exist.
Create it?
 
Old 03-13-2007, 04:50 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
Never used YAST in Suse but the export you mention does not make since. To me one would export /media/hdc or what ever the optical drive is mounted too. The : does not make since to me. What do you have in your /etc/exports file?

What is the mount point of the optical drive. That can be determined from the /etc/fstab file.

Brian
 
Old 03-13-2007, 09:39 PM   #7
destiny200
LQ Newbie
 
Registered: Nov 2005
Location: Minneapolis
Distribution: SUSE 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
Exported as /media/dvd on server
server remote file system mount point
Client is 10.8.8.6 /media/dvd /dvd

error on client= Unable to mount the NFS entries from /etc/fstab

/etc/fstab=

/dev/hda3 / reiserfs acl,user_xattr 1 1
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda2 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/cdrom /media/cdrom subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
none /subdomain subdomainfs noauto 0 0
10.8.8.6:/server /server nfs defaults 0 0
10.8.8.6:/media/dvd /dvd nfs defaults 0 0


It looks like the system is expecting an NFS file system.
What do you think.
Steven
 
Old 03-13-2007, 09:52 PM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You have /media/dvd exported but your fstab has /media/cdrom. Shouldn't they be the same?
 
Old 03-14-2007, 07:53 AM   #9
destiny200
LQ Newbie
 
Registered: Nov 2005
Location: Minneapolis
Distribution: SUSE 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
My laptop has a cdrom drive thats why there is /dev/cdrom

/dev/cdrom /media/cdrom subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0

My server ip is 10.8.8.6

10.8.8.6:/server /server nfs defaults 0 0
10.8.8.6:/media/dvd /dvd nfs defaults 0 0
 
Old 03-14-2007, 05:11 PM   #10
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
Your fstab command looks like mine for the most part. I just have addition options.

So I assume /dvd directory exist on the client machine to mount the share too?
Also is there a firewall on the nfs server. If so then have you allowed all the needed ports for the nfs connection. If there is a firewall I would disable the firewall and flush all iptables. Then try connecting.

Brian
 
Old 03-14-2007, 10:25 PM   #11
destiny200
LQ Newbie
 
Registered: Nov 2005
Location: Minneapolis
Distribution: SUSE 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
Brian thank you for your time and input.

The /dvd is on the client
The server eth0 is external to the firewall and connects to the cable modem.
Eth1 is internal and used as the network with all ports open and unprotected.

client machine
Internal Zone
Interfaces
Intel EtherExpress PRO/100 SP Mobile Combo Adapter
Open Services, Ports, and Protocols
Internal zone is unprotected. All ports are open.
The firewall on the client is off.

I am beginning to wonder if this is possible. Are you able to do this with a different distro?
 
Old 03-15-2007, 02:58 PM   #12
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
I don't know what you are using as a firewall tool on the server but if iptables based then post the output of ' /sbin/iptables -L '.

To me it seems something is being blocked. Just to rule it out I would do the following. Disconnect from the cable modem. Disable the firewall. Then run these commands to enable masquerade mode. Then try connecting.

http://www.ibiblio.org/pub/linux/doc...ple-HOWTO.html
Assuming external internet card is eth0, and external IP is 123.12.23.43 and the internal network card is eth1, then:

$> modprobe ipt_MASQUERADE # If this fails, try continuing anyway
$> iptables -F; iptables -t nat -F; iptables -t mangle -F
$> iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 123.12.23.43
$> echo 1 > /proc/sys/net/ipv4/ip_forward

Now try nfs to server.
Brian
 
Old 03-20-2007, 05:45 PM   #13
destiny200
LQ Newbie
 
Registered: Nov 2005
Location: Minneapolis
Distribution: SUSE 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
Sorry it took me so long to get back to this.
The server is the router and has ip forwarding and ip masquerade working.
I have no problems mounting the subdirectory /server from the client machines.
I tried this for an fstab in the client (laptop)

/dev/hda3 / reiserfs acl,user_xattr 1 1
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda2 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/cdrom /media/cdrom subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
none /subdomain subdomainfs noauto 0 0
10.8.8.6:/server /server nfs defaults 0 0
10.8.8.6:/media/dvd /dvd subfs, noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0

When I try to mount /dvd i get no items no files no folders.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
which DVD player can play DVD from hard drive *and* support DVD Menu ? tho_x_tran Linux - Software 16 11-16-2006 02:00 PM
sata drive detected, but not mountable edgjerp Linux - Hardware 3 05-23-2006 01:22 AM
Flash Drive no longer mountable after formatting daleman Linux - Hardware 2 04-14-2005 12:35 AM
dvd-rom drive won't play movies and dvd burner won't record calble Linux - Hardware 1 08-09-2004 07:35 AM
Finding mountable items (zip drive, etc) Sammy Jenkis Linux - Newbie 2 09-05-2003 01:00 PM

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

All times are GMT -5. The time now is 12:34 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