automounter


 
Thread Tools Search this Thread
# 1  
Question

I have this question in my study guide could anyone please help me with the answer and (explicit) explanation.

hostname: HOSTONE
automounter file: /etc/auto.home
entry: scps HOSTTWO:/export/home/scps

commands executed on HOSTONE, mark all commands where the automounter will be invoked.

a)cat /home/scps/anyfile
b)cat /home/sce/scps/anyfile
c)cat /export/home/scps/anyfile
d)cat /home/scps/anydir/anyfile
e)cat /home/anydir/scps/anyfile

Thanks very much.
Almendrita
# 2  
Hammer & Screwdriver automountd

Hey Almendrita!

The right answer is :

A & D

This is because the define configuration in the question,
sets the automounter to be invoked whenever something within /home/scps is referenced.

the other options don't try to access /home/scps and therefore won't trigger the automounter.

Tip :By default the automounter mounts the dir for 10 minutes unless run with -t num_seconds.


Hezki
# 3  
Computer

Thanks a lot. I was confused with the /export/... I was not sure if it was part of the pathname.

Thanks again,
almendrita
# 4  
Java /export/home

hi,

home dirs are quite often , sometime by default are mounted by automountd on the fly...
usually to /export/home . (I always cancel it , cause I hate that feature Smilie)

but this is the location where the fixed data of the home dirs is kept. so if you try to access it( /export/home) , it won't mount anything, just like you enter a normal dir.

in our case, that directory is mapped from the second machine, so you should not worry there's a chance automountd will be invoked for /export on hostONE...
it's totally irrelevant if there's such directory or not.

Hezki
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

5 More Discussions You Might Find Interesting

1. Red Hat

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 /home/vm1/Desktop /etc/auto.nfs $cat /etc/auto.nfs nfs-bind -fstype=nfs ... (3 Replies)
Discussion started by: nokia3310
3 Replies

2. IP Networking

Naming services + Automounter

Hi gurus, I am trying to understand the enviroment which we are using. The fact that I am asking is that this is production enviroment and I cannot change anything to experiment. Following servers are somehow related to each other, please help me figure out if my conclusions are correct. -... (0 Replies)
Discussion started by: wakatana
0 Replies

3. Red Hat

Automounter floods ioctl and futex error messages

Hi! I have a wondering regarding the syscalls automounter floods out when running strace on the process, are the below ioctl & futex messages bad? and is there any way to investigate em deeper? ioctl(3, 0xffffffffc018937c, 0x417a8020) = -1 EAGAIN (Resource temporarily unavailable) ioctl(3,... (5 Replies)
Discussion started by: Esaia
5 Replies

4. AIX

NIS and automounter...

Have an AIX 5.2 box. I had automounter already setup to control /home using /etc/auto_home as an indirect automount map. Then we added NIS. We have it working, but for some reason, the NIS table auto.home seems to override /etc/auto_home entries. Of course, there are some duplicates... (2 Replies)
Discussion started by: Garry_Garrett
2 Replies

5. UNIX for Dummies Questions & Answers

automounter

Hi ALL, Does anyone know how automounting can be disabled in solaris? (I need to mount the home directory on to a sun machine from another machine. So I run something like mount another_machine:/home /home (on my sun) however i get an error saying device busy) I was told automouting... (1 Reply)
Discussion started by: rkap
1 Replies

Featured Tech Videos