Find the answer to your Linux question:
Results 1 to 4 of 4
I am running a BUFFALO TERA NAS with NFS. I created the NFS share on this device. (192.168.23.55) Share name: Datastores...Full NFS path:/mnt/array1/Datastores I want to mount this NFS share ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    2

    Unable to mount NFS. Permission Denied error


    I am running a BUFFALO TERA NAS with NFS. I created the NFS share on this device. (192.168.23.55) Share name: Datastores...Full NFS path:/mnt/array1/Datastores
    I want to mount this NFS share on my NFS client (192.168.23.99)
    I put command on NFS client ...mount -t nfs 192.168.23.55:/Datastores/iso /vmimages/iso
    It returns error..........
    mount: 192.168.23.55:/Datastores/iso failed, reason given by server: Permission denied

    My etc/fstab, exports, hosts are as follows:
    [root@dpmserver1 etc]# cat fstab
    UUID=89ecffc3-2cee-46c6-b14c-5d1fec5bf36d / ext3 defaults 1 1
    UUID=764ed2f6-5d02-41ab-b55c-50cd46c433c5 /boot ext3 defaults 1 2
    none /dev/pts devpts gid=5,mode=620 0 0
    none /proc proc defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    UUID=73d80599-47c3-407c-a2a0-2e15f2e290b0 /var/log ext3 defaults 1 2
    UUID=ffcc1b40-7fb2-4a6e-a7cd-9808a0ab410d swap swap defaults 0 0
    /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
    /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
    192.168.23.55:/DataStores/iso /vmimages/iso nfs rsize=1024,wsize=1024,noauto 0 0
    192.168.23.55:/mnt/array1/Datastores/iso /vmimages/iso nfs rsize=1024,wsize=1024,noauto 0 0
    /vmimages/iso dpmserver1.academy.local

    [root@dpmserver1 etc]# cat exports
    /Datastores/iso 192.168.23.55(rw,sync,no_root_squash)
    /Datastores * 192.168.23.55(rw,sync,no_root_squash)
    /mnt * 192.168.23.55(rw,sync,no_root_squash)
    /mnt/array1/Datastores/iso 192.168.23.55(rw,sync,no_root_squash)
    /tmp *(rw,sync,no_root_squash)

    [root@dpmserver1 etc]# cat hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    192.168.23.99 dpmserver1.academy.local dpmserver1
    [root@dpmserver1 etc]#

    Folders on localhost mount correctly. portmap & NFS services are running.

  2. #2
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,559
    Can you post the contents of /etc/exports from the server ?
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    The Fifth Continent

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Posts
    2
    Hi,
    how can i post the exports file from the server ? the NFS server is a NAS. the above lines are from the NFS client whcih is VMWare ESX server.
    Are the lines in fstab, exports, hosts file correct ?

  4. #4
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,559
    Completely missed the exports in your posts

    The exports file should be on the nfs server which is sharing out the nfs directories. It's purpose is to let the server know which clients can connect to which shares and if they can read and write and so on.

    I assume that 192.168.23.55 is the NAS device. Somewhere you should have a server running the nfs server portmapper etc services. This is the computer where your exports file goes.

    The IP address in your exports is currently the NAS (assuming my assumption is assumed correctly ) so you are saying that the only device that can access the share is the device the share is on. The IP address(es) should be the computers you want to access the share from.
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    The Fifth Continent

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •