General discussion

  • Creator
    Topic
  • #2285296

    Sharing a CD-ROM over the network

    Locked

    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!

All Comments

  • Author
    Replies
    • #3290959

      Reply To: Sharing a CD-ROM over the network

      by vdanen ·

      In reply to Sharing a CD-ROM over the network

      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).

    • #3303401

      Reply To: Sharing a CD-ROM over the network

      by jdclyde ·

      In reply to Sharing a CD-ROM over the network

      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.

    • #3297783

      Reply To: Sharing a CD-ROM over the network

      by ivan the terrible ·

      In reply to Sharing a CD-ROM over the network

      This question was closed by the author

Viewing 2 reply threads