Sponsored Content
Operating Systems Linux Red Hat How to mount NFS using automounter(autofs)? Post 302801461 by nokia3310 on Thursday 2nd of May 2013 04:10:36 AM
Old 05-02-2013
RedHat How to mount NFS using automounter(autofs)?

I have an nfs at 192.168.1.10:/home/vm1/Desktop/nfs and will like to mount locally to /home/vm1/Desktop/nfs-mount using automounter...need help doing do

What i did


$cat /etc/auto.master
Code:
/home/vm1/Desktop    /etc/auto.nfs

$cat /etc/auto.nfs
Code:
nfs-bind     -fstype=nfs    192.168.1.34:/home/vm1/Desktop/nfs

And yes autofs is running and is reloaded

Code:
[root@vm1 ~]# service autofs status
automount (pid  3534) is running...
[root@vm1 ~]# service autofs reload
Reloading maps

Is that the correct way to do that? If yes then why is it that its not working...nothing got mounted..nothing
 

10 More Discussions You Might Find Interesting

1. Solaris

disabling nfs and autofs in solaris 9

Hi, I want to permanently disable nfs and autofs in solaris 9, (2 Replies)
Discussion started by: manoj.solaris
2 Replies

2. UNIX for Dummies Questions & Answers

mount -o llock -F nfs vs mount -F nfs

Hi, We encountered NFS issue (solaris) especially running on Oracle application. Problem such as forms hang when close button is click, concurrent job shows running status all time. Understand we need to use mount -o llock -F nfs instead of mount -F nfs to eliminate? this problem.. Can... (1 Reply)
Discussion started by: KhawHL
1 Replies

3. UNIX for Advanced & Expert Users

solaris 10 autofs - how to mount /net (hosts)

Hello Everyone, I am working with Solaris 10 autofs feature. On the server (and client) in /etc/auto_master I have this entry: /net -hosts -nosuid,nobrowse On the server, I have shared out /var/tmp, started the nfs server and issued the shareall command. When I issue share I can... (1 Reply)
Discussion started by: anies rahman
1 Replies

4. Solaris

autofs vs nfs

I've a sun server, 3 sun workstations and plan to do backup on certain directory in each workstations monthly. As it's only require to mount as NFS on those workstations once a month. So I plan to configure such requirement using autofs. What are the considerations need to take care in such... (4 Replies)
Discussion started by: KhawHL
4 Replies

5. UNIX for Advanced & Expert Users

Autofs, doesn't mount anything

Hi, I know that this is probably quite a tiresome issue, but I can't get autofs to work. I'm using udev rules to create symbolic links below /dev, that always point to the same devices regardless of which port they're plugged in. So, autofs's config files look like this for me: ... (0 Replies)
Discussion started by: Gunther
0 Replies

6. UNIX for Dummies Questions & Answers

NFS issue with autofs in CentOS 6.3

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)
Discussion started by: bashily
7 Replies

7. Red Hat

NFS, AD, AutoFS

Here's my challenge. I have a RedHat7 machine running a statistical software package. It needs to NFS-mount directories from a Windows 2008R2 machine. The RH7 machine uses MSAD (Microsoft Active Directory) to handle authentication of people connecting via SSH. AD is on a separate 2008R2 machine.... (5 Replies)
Discussion started by: cjhilinski
5 Replies

8. Solaris

Autofs not mount

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)
Discussion started by: Zaiwen Gong
1 Replies

9. Shell Programming and Scripting

Mount NFS Share On NFS Client via bash script.

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. Red Hat

RHEL 7.1 autofs permissions do not match NFS servers

RHEL 7.1 client using autofs to mount a NIS map of home directories being exported by a Solaris 10x86 nfs server. The owner and group are correct on the NFS server, but on the RHEL client, the owner and group end up being nobody nobody. The USERS and GROUPS are NIS maps as well. They are... (2 Replies)
Discussion started by: mrmurdock
2 Replies
automountd(1M)															    automountd(1M)

NAME
automountd - autofs mount/unmount daemon SYNOPSIS
automountd [-Tvn] [-D name=value] automountd is an RPC server that answers file system mount and unmount requests from the autofs file system. It uses local files or name service maps to locate file systems to be mounted. These maps are described with the automount(1M) command. If automount finds any non-trivial entries in either the local or distributed automount maps and if the daemon is not running already, the automountd daemon is automatically invoked by automount(1M). automountd enables the svc:/network/nfs/nlockmgr service (lockd(1M)), and the svc:/network/nfs/status service (statd(1M)), if NFS mounts need to be done. At startup, the automountd daemon is invoked as is invoked as the system/filesystem/autofs:default service. See . The following options are supported: -D name=value Assign value to the indicated automount map substitution variable. These assignments cannot be used to substitute variables in the master map auto_master. -n Turn off browsing for all autofs mount points. This option overrides the -browse autofs map option on the local host. -T Trace. Expand each RPC call and display it on the standard output. -v Verbose. Log status messages to the console. USAGE
See largefile(5) for the description of the behavior of automountd when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes). /etc/auto_master Master map for automounter. /etc/default/autofs Supplies default values for parameters for automount and automountd. See autofs(4). See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ svcs(1), automount(1M), svcadm(1M), autofs(4), attributes(5), largefile(5), smf(5) The automountd service is managed by the service management facility, smf(5), under the service identifier: svc:/system/filesystem/autofs Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using svcs(1). If it is disabled, it is enabled by automount(1M) unless the application/auto_enable property is set to false. 3 Mar 2005 automountd(1M)
All times are GMT -4. The time now is 12:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy