Each file system on the server needs an NFS export (share), and an NFS mount on the client side.
Having them in one tree is called a hierarchical mount.
If your client has /net (the default name for a -hosts map), it should support the hierarchical mounts:
Then you only need to update your server's /etc/exports with your 7 file systems.
hello all,
I have a problem that just seem to show up. I was using autofs to mount home directory. It was working for about two week and now is just tsop working. I rebooted the erver and still not working. I can manually mount the directory but unable to mount via autofs. From the client I... (0 Replies)
Hi Guys,
Autofs works fine on AIX 5.2, but the same thing is not getting mounted automatically on AIX 5.3..
Is there ant difference for autofs confiiguration between 5.2 and 5.3
Thanks & Regards
Manu (0 Replies)
Hi Friends,
I am trying to configure autofs on rhel5.3 64bit to automount the nfs shares. It was working fine when i configured it first. After some days i can see its not working.
i can see the below sepcified error on the log file.
automount: rmdir_path: lstat of /NFS/test failed... (2 Replies)
I am trying to automount one of my NFS share to my client machine but it is not mounting
here is the scenario :
My server machine ip : 192.168.1.100
My client machine ip is : 192.168.1.102
on client machine i have configured the /etc/auto.master file :
/share(My mount point) ... (0 Replies)
I am running CentOS 6.3 as a VM on a host which has the same installation. I configured my NFS server and I am guessing it works. I say guessing because I can mount the desired folder with mount command on my client machine. So, when I run:
mount -t nfs -o vers=3 vm2.domain.com:/nethome /nethit... (7 Replies)
This is unfortunately for a Tru64 5.1 PK4 system.
I have Autofs running and it seems to read and mount the NIS maps, however, on a couple of maps, eventhough is says (rw), the user home directory of /home is (ro). See cut and paste Below. This prevents the automounting of Users home... (4 Replies)
Hi all,
Please help! After my solaris 10 is rebooted, I found my autofs seems not mounting the file systems.
I restart autofs service :
#svcadm -v restart svc:/system/filesystem/autofs:default
Action restart set for svc:/system/filesystem/autofs:default.
But still... (1 Reply)
Hi all,
I'm having trouble getting autofs working on a new install of Scientific Linux 7.2.
I have the files /etc/auto.master, /etc/auto/homes and /etc/auto.misc and /auto.direct setup, and they are copies of files on a working SL 6 machine. I can include the contents of the files at the end... (0 Replies)
Discussion started by: HuntWilliamR
0 Replies
LEARN ABOUT LINUX
mount.nfs
MOUNT.NFS(8) System Manager's Manual MOUNT.NFS(8)NAME
mount.nfs, mount.nfs4 - mount a Network File System
SYNOPSIS
mount.nfs remotetarget dir [-rvVwfnsh ] [-o options]
DESCRIPTION
mount.nfs is a part of nfs(5) utilities package, which provides NFS client functionality.
mount.nfs is meant to be used by the mount(8) command for mounting NFS shares. This subcommand, however, can also be used as a standalone
command with limited functionality.
remotetarget is a server share usually in the form of servername:/path/to/share. dir is the directory on which the file system is to be
mounted.
Under Linux 2.6.32 and later kernel versions, mount.nfs can mount all NFS file system versions. Under earlier Linux kernel versions,
mount.nfs4 must be used for mounting NFSv4 file systems while mount.nfs must be used for NFSv3 and v2.
OPTIONS -r Mount file system readonly.
-v Be verbose.
-V Print version.
-w Mount file system read-write.
-f Fake mount. Don't actually call the mount system call.
-n Do not update /etc/mtab. By default, an entry is created in /etc/mtab for every mounted file system. Use this option to skip making
an entry.
-s Tolerate sloppy mount options rather than fail.
-h Print help message.
nfsoptions
Refer to nfs(5) or mount(8) manual pages.
NOTE
For further information please refer nfs(5) and mount(8) manual pages.
FILES
/etc/fstab file system table
/etc/mtab table of mounted file systems
SEE ALSO nfs(5), mount(8),
AUTHOR
Amit Gud <agud@redhat.com>
5 Jun 2006 MOUNT.NFS(8)