02-08-2012
Yes, I know that. You need to change that to the client's IP and your problem is solved. That field for any host's IP or hostname or a range of IPs of hosts which are allowed to mount the share. So change it to client's IP. for more info about exports file see "man exports".
10 More Discussions You Might Find Interesting
1. AIX
Hello Everyone,
I have a pseries machine running AIX 4.3.3 that has an invalid IP in /etc/hosts. During a boot the system hangs because it's trying to mount an NFS share to this invalid IP.
I've tried to boot the system from a mksysb (not sure if the device was defined as rmt0) and AIX CD... (0 Replies)
Discussion started by: jlslhills
0 Replies
2. UNIX for Advanced & Expert Users
this is probably a bit dumb ...but i read somewhere that one of the nfs versions can be mounted on a windows 2003 server ..if yes ..does anyone know how this can be achieved (1 Reply)
Discussion started by: tarunicon
1 Replies
3. Solaris
Hi, How can i mount an NFS share on a solaris machine a filesystem ?
I have enabled nfs on a windows server and the shares has given read/write access to it to all the users. I would like to mount it on around 10 different solaris boxes with different versions of solaris.
Thanks in advance. (2 Replies)
Discussion started by: uxadmin007
2 Replies
4. IP Networking
Hello,
I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;)
Below are the configs
/etc/exports on host
/home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies
5. Web Development
Hi,
I want to mount an NFS Shared folder on Windows XP to vxWorks.
There doesnt seem to be a problem with the sharing.
Now, when i try to mount the directory onto vxWorks (it runs on a Tumbleweed card), using a mount script (.sh), the following is the print i see on Tera Term:
hostAdd... (0 Replies)
Discussion started by: chinmayzen
0 Replies
6. UNIX for Advanced & Expert Users
Folks,
I am trying to solve the following problem. I have a process on machine A running as root that needs to mount and access an NFS partition being exported from machine B.
However, I cannot have 'no_root_squash' option given on B, hence I see NFS requests from machine A end up as 'nobody'... (1 Reply)
Discussion started by: helpmelearn
1 Replies
7. Solaris
Hi,
I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server.
On the NFS Server, in /etc/dfs/, I added following line to dfstab file.
& then ran the following
On the client machine, while running the mount command, I am... (0 Replies)
Discussion started by: SunilB2011
0 Replies
8. SCO
Hi! All,
I am trying to mount a NFS share on my FreeNAS system onto my SCO OpenServer 5.0.6. I get the following error:
mount: cannot mount /: Connection Refused (error 115)
Has anyone been able to do this? (3 Replies)
Discussion started by: trolley
3 Replies
9. Shell Programming and Scripting
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies
10. Solaris
I have a Solaris 10 server, I'm trying to mount a share from a Windows nfs server. If I add this entry (tst-walnut:/test_sap_nfs - /majid nfs - yes rw,soft) to my /etc/vfstab, then I can mount, but when I create a file by root:root, the file owner changes to... (1 Reply)
Discussion started by: Hiroshi
1 Replies
mountd(8) System Manager's Manual mountd(8)
NAME
mountd - Services remote NFS compatible mount requests
SYNOPSIS
mountd [-d] [-i] [-n] [-s] [exportsfile]
FLAGS
Verifies the Internet addresses of hosts that make mount and unmount requests. If a client's address cannot be translated into a host name
by the gethostbyaddr() function and then translated back into the same Internet address by the gethostbyname() function, the request is
rejected.
This option requires the BIND service for Internet address resolution. It offers the highest level of security, especially when
combined with the -i option. Turns on Internet address verification and domain checking. If you are running the BIND service,
mountd verifies that a host making a mount or unmount request is in the server's domain. Allows non-root mount requests to be
served. This should only be specified if there are clients such as PC's that require it. ULTRIX BSD is allowed non-root mount
requests by default. Use the -n flag to allow non-root mount requests. Verifies the Internet address of hosts that make mount and
unmount requests. If a client's address cannot be translated into a host name by the gethostbyaddr() function, the request is
rejected. If you are running the BIND service, the BIND server is used to translate the address. If you are not, the /etc/hosts
file is used.
If the -i option is not used and a client's address cannot be translated, the address is converted to a string of the form
xx.xx.xx.xx. This allows access to exported file systems that do not specify a list of allowed hostnames.
The -i option is automatically enabled when either the -d or the -s option is specified. Turns on Internet address verification and
subdomain checking. If you are running the BIND service, mountd verifies that a host making a mount or unmount request is in the
server's domain or subdomain.
DESCRIPTION
The mountd daemon is the server for NFS protocol mount requests from clients. The mountd daemon responds to requests from remote computer
systems to mount directories. When it receives a SIGHUP signal, mountd rereads the exports file. If you are on an NFS client and want to
have changes to the export options on existing NFS client mounts take effect immediately, issue the showmount -e command and specify the
name of the host that is exporting the directory or file system (where the exports file is located). This ensures that NFS is aware of the
export list and options.
The optional exportsfile argument specifies an alternate location for the exports file. /etc/exports is the default.
Note, NFS Version 2 can export partitions that are greater than 2 gigabytes. However, they appear as 2 gigabyte partitions when viewed
from NFS clients.
FILES
Specifies the command path Contains a list of directories that can be exported Contains a table of local file systems mounted by remote NFS
clients Contains errors logged by the mountd daemon
RELATED INFORMATION
Commands: nfsstat(8), nfsd(8), portmap(8), showmount(8)
Files: exports(4), mountdtab(4) delim off
mountd(8)