Results 1 to 10 of 10

Thread: Issue with NFS Mount

  1. #1
    Join Date
    Oct 2008
    Posts
    10

    Issue with NFS Mount

    I have mounted an iso in a folder in a machine. I need to export this to other machines through NFS. When I try to mount, I get an error saying, "Permission denied from server"

    my /etc/exports in the source machine reads as
    /mnt/free_disk/prt2/SSCS/2006foundations 10.7.51.0/255.255.255.0(ro,async)

    Help me. Thanks

  2. #2
    Join Date
    Apr 2008
    Posts
    45
    did you installed nfs-kernel-server?
    exportfs command may help

  3. #3
    Join Date
    Apr 2008
    Posts
    49
    are portmap and nfsd running? I believe that just to export you need no special kernel support.

  4. #4
    Join Date
    Oct 2008
    Posts
    10
    nfs daemon and portmap are running. I can share other folders without problem through NFS. this problem arises only when I try to mount a folder in local machine, which has been mounted with an ISO image in the server. Any suggestions? I googled up, but I didn't get any solution.

    In other words can anyone say how to share an iso image in NFS so that it can be mounted in the remote machine?

  5. #5
    Join Date
    Apr 2008
    Posts
    45
    Your methods seems to be correct.
    varify syslog

  6. #6
    Join Date
    Oct 2008
    Posts
    10
    I don't understand. What should I verify? I can mount other files and folders in the main system. I can't mount only the folder which has a mount of an iso.

  7. #7
    Join Date
    Apr 2008
    Posts
    45
    try tail -f /var/log/syslog
    and then try to mount the nfs share.
    and post the message


    usualy you can mount nfs of iso image mounted to local directory by exporting that directory, permission denied means either it is not exported or some configuration error

    anyway try it, it will give some clue.

  8. #8
    Join Date
    Oct 2008
    Posts
    10
    There is no such a log file. May be it is in some other location. The distribution I use is CentOS

  9. #9
    Join Date
    Apr 2008
    Posts
    62
    /var/log/messages

    looks like you are trying to mount something over something else that is read-only. you obviously can't do that.

  10. #10
    Join Date
    Oct 2008
    Posts
    10
    my /etc/exports file
    /mnt/free_disk/prt2/SSCS/2006foundations 10.7.51.0/255.255.255.0(ro,async)

    sudo /usr/sbin/exportfs -av
    exporting 10.7.51.0/255.255.255.0:/mnt/free_disk/prt2/SSCS/2006foundations


    In host machine:
    sudo mount 10.7.51.101:/mnt/free_disk/prt2/SSCS/2006foundations /tmp/folder_mount

    mount: 10.7.51.101:/mnt/free_disk/prt2/SSCS/2006foundations failed, reason given by server: Permission denied


    after the above command, in server:
    tail -v /var/log/messages gave me this

    Oct 18 09:28:01 ramanunjan rpc.mountd: refused mount request from ti2 for /mnt/free_disk/prt2/SSCS/2006foundations (/) not exported

Similar Threads

  1. Replies: 3
    Last Post: 30-01-2011, 07:48 PM
  2. DP35DP: memory issue; DVD issue; Lan issue.
    By Rivan in forum Motherboard Processor & RAM
    Replies: 5
    Last Post: 29-06-2010, 12:50 AM
  3. Mount and Bade game issue on Windows Vista
    By Afznotermi in forum Video Games
    Replies: 3
    Last Post: 30-12-2009, 11:15 AM
  4. iphone car mount
    By dinjeth in forum Portable Devices
    Replies: 3
    Last Post: 01-09-2009, 08:58 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,705,435.63761 seconds with 17 queries