Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Apr 2009
Unable to mount NFS. Permission Denied error
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
[root@dpmserver1 etc]# cat exports
/Datastores * 192.168.23.55(rw,sync,no_root_squash)
/mnt * 192.168.23.55(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
Folders on localhost mount correctly. portmap & NFS services are running.
Can you post the contents of /etc/exports from the server ?
- Join Date
- Apr 2009
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 ?
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.