03-22-2005
You can use a daemon like automounter. We use that in HPUX... There are many generic such daemons which will run and remount NFS filesystems.
You must put an entry in the /etc/fstab or /etc/vfstab or whatever your file is called. (where your mounted FS are located)
Then ensure that the automount program is running. And you need Rpc daemon running as well I think, at least on the client, if not on the host server.
Last edited by Kelam_Magnus; 03-23-2005 at 04:41 PM..
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have a process running, for example a "top".
I send it a signal to stop it
kill -s SIGSTOP 3423
It works, but when I want to resume it by
kill -s SIGCONT 3423
It does not work.
Help me please.....
I have Fedora Core 4.
Thank you (0 Replies)
Discussion started by: Nene
0 Replies
2. What is on Your Mind?
Hi everybody,
I am wondering if there is any tool or website out there which can track who is viewing my resume. It is very frustrating when you send your CV or Cover Letter and you receive no feedback from the company, you don't even know if they have checked it out.
Thanks for your help (1 Reply)
Discussion started by: gearyipswich
1 Replies
3. Solaris
Hi
Im in solaris field and i have one year of experience so can anyone get me a sample resume for level 1 support for solaris so that it will be easy for me to update my profile..:) (1 Reply)
Discussion started by: madanmeer
1 Replies
4. HP-UX
hi every body
lock at this situation and tell me your advice
i tried to install patch in hp-ux v2 i used swinstall -s /path to the patch
every thing was good but during the installation network connection between the server and my labtob
when i connect again to the server i tried to... (2 Replies)
Discussion started by: maxim42
2 Replies
5. Solaris
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
6. Hardware
I would like to get pm-suspend (or any other suspend method) working for a small new desktop computer. It is based on a Zotac GF-8200 ITX motherboard and an AMD Athlon II X@ 240 CPU using ArchLinux x86_64.
The pm-suspend script works, apparently putting the machine into suspend correctly... (0 Replies)
Discussion started by: lagagnon
0 Replies
7. Shell Programming and Scripting
Searched here and google and couldn't find a viable solution. Is there a way to transfer a file with curl and have it automatically attempt to resume it if there's an error, broken pipe, interruption, etc?
curl -C- -T myfile.tar.gz ftp.site.com --user DC_Slick:password That's what I use... (1 Reply)
Discussion started by: DC Slick
1 Replies
8. UNIX for Advanced & Expert Users
Dear Experts,
I am creating a shell script (A) which is menu driven and in turn calls another shell scripts (X) depending on the selection. X has a list of commands which runs batch jobs in auto mode.
Content of X
./sqr.ksh axhri051_sf axhri051_sf.par $1 $2 XHRPPYOV;
./sqr.ksh axbni062... (19 Replies)
Discussion started by: rprasad
19 Replies
autofsd(8) System Manager's Manual autofsd(8)
NAME
autofsd, autofs - Automatically and transparently mounts and unmounts NFS file systems
SYNOPSIS
/usr/sbin/autofsd [-dv] [-D name=value]
OPTIONS
Enables debugging. When debugging is enabled, the daemon does not disassociate itself from the current tty. Messages that trace autofsd
activity are written to standard output. Logs verbose output. Defines an autofsd environment variable by assigning value to the variable.
DESCRIPTION
The autofsd daemon automatically and transparently mounts and unmounts NFS file systems on an as-needed basis. Like the automount daemon,
it provides another alternative to using the /etc/fstab file for mounting NFS file systems on client machines. However, AutoFS is more
efficient than the automount daemon because it requires less communication between the kernel and the user space daemon.
The autofsd daemon also provides higher availability than the automount daemon. Although autofsd must be running for mounts or unmounts to
be performed, if it is killed or becomes unavailable, exisiting auto-mounted NFS file systems continue to be available.
The autofsd daemon can be started from the command line or from the /sbin/rc3.d/nfs script, which reads the /etc/rc.config.common file.
Once started, it remains dormant until a user attempts to access a directory (or any file or directory in the directory hierarchy) that is
associated with an AutoFS map. The daemon then consults the appropriate map and mounts the NFS file system as specified.
AutoFS maps indicate where to find the file system to be mounted and the mount options to use. The names of the maps are passed to the aut-
ofsd daemon through the autofsmount command. For more information about AutoFS maps and the autofsmount command, see autofsmount(8) and
the Network Administration guide. Also, see sys_attrs_autofs(5) for information on tuning AutoFS.
Note
The autofsmount program reads AutoFS maps at startup. If you make any changes to the maps after startup, you must execute the autofsmount
command again to incorporate the changes.
By default, AutoFS uses UDP transport. If the tcp option is specified in a map, AutoFS attempts to use TCP. If TCP is not available, Aut-
oFS then reverts to UDP.
RESTRICTIONS
There is no support in the autofsd daemon that is analogous to the SIGTERM support in the automount command.
If a file system is locally served, the autofsd daemon creates a symbolic link on the system instead of NFS mounting the directory. If
locally serving the directory would result in a circular link, the daemon selects an external server (if available).
SEE ALSO
Commands: autofsmount(8), automount(8), mount(8)
Others: sys_attrs_autofs(5)
Network Administration
autofsd(8)