03-01-2002
Well the home directory at least must be owned by the right uid. The the user on clientsystem had a uid of, say, 123, you really could just chown it to that numeric uid. Everything would work, however this situation bums me out. Therefore I would always ensure that the account exists on serversystem.
You can simply run the adduser program on both clientsys and serversys. Most folks would automate this somewhat. Other people copy passwd, shadow, and group around. Some people use rsync to automate the copy. Keeping 3 files in sync across several systems in a minor problem and there are dozens of solutions.
In the scenario we are describing, seversystem doesn't even need automounter running as I mentioned. If it doesn't need automounter running, it also wouldn't need any map file laying around. In fact, if /home is the location where these directories physically reside, it would be crucial that automounter not try to mount stuff there.
And bear in mind that you can't have it both ways. If you're not running NIS, then no entry in nsswitch.conf can specify NIS, including automount. So you can't use + in any maps. You have to modify the maps to be direct maps or something.
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi All,
Can any one help in Mounting remote filesystems with NFS?
Thanks in advance.
Regards,
Suresh. (4 Replies)
Discussion started by: srvaka1
4 Replies
2. UNIX for Advanced & Expert Users
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
3. UNIX for Dummies Questions & Answers
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
4. UNIX for Dummies Questions & Answers
I have a NAS server that needs to have the share mounted on a unix server. I am not that familiar with NFS mounts....any help on what I have to do on the UNIX box...thanks! (7 Replies)
Discussion started by: andrewd
7 Replies
5. OS X (Apple)
Hello!
Im trying to mount an nfs share. But got a bit of a problem.
The problem im having is that i try to mount
The problem is that the my.server.com/pub/home is owned by root.
I know i can make a mount point my.server.com://pub/home/username - > /pub/home
But that means i have to do... (1 Reply)
Discussion started by: dozy
1 Replies
6. Solaris
Hi all,
I have to mount my home directory in one box, by default everyone's home directory will mount in all unix boxes which we have. But we have unmounted these home directories from some boxes to keep the data as safe. So for automation purpose i need my home directory only in those boxes to... (2 Replies)
Discussion started by: raghu.iv85
2 Replies
7. IP Networking
Hello,
I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;)
Below are the configs
/etc/exports on host
/home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies
8. UNIX for Dummies Questions & Answers
Hi
I have 2 servers, one is running on SunOS SPARC and the other is running on GNU Linux. Since my Linux is very poor I am not sure on how to mount a NFS from SunOS to Gnu Linux. Please help!
FS at Host Server:
root@rocux4 # ls -ld /data/PCFILES/GTPROD/DWHFILES.NEW
drwxrwxrwx 4 nobody ... (6 Replies)
Discussion started by: hedkandi
6 Replies
9. Shell Programming and Scripting
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
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)