General discussion

Locked

Sharing a CD-ROM over the network

By Ivan the Terrible ·
I've been trying to share a CD-ROM from one RedHat 7.1 server to another 7.1 server.

My process was to firstly mount the CD-ROM drive.

Next to edit the /etc/exports and add /mnt/cdrom "IP Address"(ro,no_root_squash)

Then run exportfs -ra and restart nfs.

Went to remote machine and created a folder called "nfs" and attempted to manually mount with "mount "IP Address":/mnt/cdrom /nfs

And I receive this message: "mount: IP Address:/nfs failed, reason given by server: Permission denied

I'm using NIS and this is working fine on both machines. The folder permission on "nfs" is 777 and the CD-ROM /mnt/cdrom is 555.

Where am I going wrong? I've looked at lots of atricles and examples and none are really helping!

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by vdanen In reply to Sharing a CD-ROM over the ...

Are you married to using NFS? Is samba a possibility perhaps?
NFS can be... flakey... sometimes. Then again, so can samba,
but if it's an option, you can make a share pointing to your
cdrom directory. It might not matter as much to samba as it
does to NFS that it's a CD-ROM. I'd give samba a try. You can
mount samba shares via fstab as well (man mount should give
you the options to use and syntax).

Collapse -

by jdclyde In reply to Sharing a CD-ROM over the ...

In the system you are sharing out you need to give permissions to the incoming system.

Add in the /etc/hosts.allow file the IP address and the Computer name.
Example:
10.1.1.101:jd

This is the same as if a user has permission to run applications, but didn't provide the correct password/user name to login first.

Good luck.

Collapse -

by Ivan the Terrible In reply to Sharing a CD-ROM over the ...

This question was closed by the author

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Forums