1832678 Members
2802 Online
110043 Solutions
New Discussion

editing automount

 
Michael Cline_1
Occasional Advisor

editing automount

I am a sys admin now working on a system that we did not set up, configure, etc. We would like to edit what is being auto mounted and change the oracle mounts from one server to another (we are moving data from one server to another and want to edit the mounting info to reflect the new server name). Normally we would edit the auto.XXX info, but this does not seem to be where it is pulling this info from. Any idea where else the auto mount info might be kept?
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: editing automount

Is it automount or hard/soft NFS mounts?

You should check the /etc/fstab and see if they are being mounted from there at system boot time. If this is oracle data, I'm not sure automount is a good idea.
Pete Randall
Outstanding Contributor

Re: editing automount

Michael,

Check the AUTO_MASTER parameter in /etc/rc.config.d/nfsconf. That should tell you where the config file is.


Pete

Pete
Neil Wilson_2
Valued Contributor

Re: editing automount

automap uses

/etc/auto.master and /etc/auto.home

/etc/auto.master defines one or more mount points to be managed by the automounter.

/etc/auto.home is an indirect map file.

these might be good areas to start looking at

Neil.
Stuart Abramson
Trusted Contributor

Re: editing automount

"auto.XXX" is not the default location.

The default location, pointed out above, is listed in /etc/rc.config.d/nfsconf in:

AUTO_MASTER="/etc/auto_master"

$ cd /etc/
$ cat auto_master
/- /etc/auto.direct -soft
$ cat auto.direct
/sysadm cel1543-dm03:/sssd_unix_tools
/stormgt cel1543-dm01:/stormgt

You also need to know whether you are using the old "automounter" or the new "autofs".
RAC_1
Honored Contributor

Re: editing automount

What does /etc/nsswitch.conf say fr automount?? If you are using files, you need to look at /etc/auto_master and any direct/indirect/special maps mentioned in t/etc/auto_master file.

Anil
There is no substitute to HARDWORK