how to configure automounting in HPUX


 
Thread Tools Search this Thread
Operating Systems HP-UX how to configure automounting in HPUX
# 1  
Old 05-03-2007
how to configure automounting in HPUX

Hi,
could any one help me by giving the steps to configure automount on HPUX? i have tried as below but it is not working. Pls tell me where i went wrong?

automount configuration:

1. vi /etc/auto_master
/sunil /etc/auto.sunil

vi /etc/auto.sunil
tedata -rw,rsize=4096,wsize=4096,timeo=800 dwd01:/vol/reposd/data

2. vi /etc/rc.config.d/nfsconf
set the below to 1.
NFS_CLIENT=1
AUTOMOUNT=1
AUTOFS=1

3. /sbin/init.d/nfs.client start


when i am changing to mount point sunil,
cd /sunil/tedata
it is giving the below message
sh: /sunil: The specified path name is not a directory.


pls tell me where i went wrong. thanks in advance.

-Sunilkumar V
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

NFS mounts not automounting on boot

I have several Solaris 11.2 zones. when I reboot them I have to go in and do mountall to mount the NFS mounts. any ideas where to troubleshoot why they are not automounting? (2 Replies)
Discussion started by: os2mac
2 Replies

2. Solaris

vfstab entries not automounting

Please see my vfstab entries below.. #device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # fd - /dev/fd fd - no - /proc - /proc proc - no ... (3 Replies)
Discussion started by: Tuxidow
3 Replies

3. HP-UX

pwage-hpux-T for Trusted HPUX servers

I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email. original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies

4. Filesystems, Disks and Memory

automounting cifs folder

Hello, I have searched the forum but I can't find what I need. I have to mount an NTFS folder onto 2 redhat OS based servers, from an auto table set on an AIX 4.3.3 NIS server. I have the auto.xxx table set with some other UNIX share folders, for example : toto unixsrv:/fold1/& I'd... (0 Replies)
Discussion started by: davchris
0 Replies

5. Shell Programming and Scripting

hpux vi

Hello. I cant figure out how can i move entire row up , so it pasted on the one above at the end , or to do that for one character. In notepads,word, or some other text editors we would do that with backspace button. Example. Content of my text file is this : I am trying to do that. And... (2 Replies)
Discussion started by: tonijel
2 Replies

6. Shell Programming and Scripting

Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX.

I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies

7. UNIX for Advanced & Expert Users

Problem: Automounting Home directory for nis & nfs configuration doesn't work

Hi all, First of all, i am so sorry about my bad level in English writing. I have some problem in linux and i hope the experts of this forum to help me if they have enough time to reply to me. I have a scenario of configuring NIS and NFS in Redhat Linux environment such that user can login... (0 Replies)
Discussion started by: pioneer
0 Replies

8. HP-UX

HPUX any help

:( i got couple of weeks ago a : HP Visualize workstation , model B100. everithing is ok in the box the only problem is that i 'am not familiar with this operational sys, and i try to uninstall and see if i can get on it windows net server 64 bit. or any other 64 bit operational sys that i'll... (1 Reply)
Discussion started by: newbird
1 Replies
Login or Register to Ask a Question
SYSTEMD.AUTOMOUNT(5)						 systemd.automount					      SYSTEMD.AUTOMOUNT(5)

NAME
systemd.automount - Automount unit configuration SYNOPSIS
automount.automount DESCRIPTION
A unit configuration file whose name ends in ".automount" encodes information about a file system automount point controlled and supervised by systemd. This man page lists the configuration options specific to this unit type. See systemd.unit(5) for the common options of all unit configuration files. The common configuration items are configured in the generic [Unit] and [Install] sections. The automount specific configuration options are configured in the [Automount] section. Automount units must be named after the automount directories they control. Example: the automount point /home/lennart must be configured in a unit file home-lennart.automount. For details about the escaping logic used to convert a file system path to a unit name see systemd.unit(5). Note that automount units cannot be templated, nor is it possible to add multiple names to an automount unit by creating additional symlinks to its unit file. For each automount unit file a matching mount unit file (see systemd.mount(5) for details) must exist which is activated when the automount path is accessed. Example: if an automount unit home-lennart.automount is active and the user accesses /home/lennart the mount unit home-lennart.mount will be activated. Automount units may be used to implement on-demand mounting as well as parallelized mounting of file systems. IMPLICIT DEPENDENCIES
The following dependencies are implicitly added: o If an automount unit is beneath another mount unit in the file system hierarchy, both a requirement and an ordering dependency between both units are created automatically. o An implicit Before= dependency is created between an automount unit and the mount unit it activates. DEFAULT DEPENDENCIES
The following dependencies are added unless DefaultDependencies=no is set: o Automount units acquire automatic Before= and Conflicts= on umount.target in order to be stopped during shutdown. FSTAB
Automount units may either be configured via unit files, or via /etc/fstab (see fstab(5) for details). For details how systemd parses /etc/fstab see systemd.mount(5). If an automount point is configured in both /etc/fstab and a unit file, the configuration in the latter takes precedence. OPTIONS
Automount files must include an [Automount] section, which carries information about the file system automount points it supervises. The options specific to the [Automount] section of automount units are the following: Where= Takes an absolute path of a directory of the automount point. If the automount point does not exist at time that the automount point is installed, it is created. This string must be reflected in the unit filename. (See above.) This option is mandatory. DirectoryMode= Directories of automount points (and any parent directories) are automatically created if needed. This option specifies the file system access mode used when creating these directories. Takes an access mode in octal notation. Defaults to 0755. TimeoutIdleSec= Configures an idle timeout. Once the mount has been idle for the specified time, systemd will attempt to unmount. Takes a unit-less value in seconds, or a time span value such as "5min 20s". Pass 0 to disable the timeout logic. The timeout is disabled by default. SEE ALSO
systemd(1), systemctl(1), systemd.unit(5), systemd.mount(5), mount(8), automount(8), systemd.directives(7) systemd 237 SYSTEMD.AUTOMOUNT(5)