Hello,
I'm trying to set up autofs, and partly it's working fine. On my client
system I get my home directory mounted (through NFS). This works.
bash-2.03$ cd /home
bash-2.03$ ls -l
total 2
drwxr-xr-x 46 stefan stefan 2048 Jul 25 12:36 stefan
bash-2.03$ cd stefan
bash-2.03$ df .
Filesystem 1k-blocks Used Available Use% Mounted on
alpha:/export/home/stefan
8579028 5034757 3099395 62% /home/stefan
Now on my server I'd also like the home directories to be mounted using
NFS. Right now autofs is putting down symbolic links:
[stefan@cgmd77035 /home]$ ls -l
total 0
lrwxrwxrwx 1 root root 16 Jul 25 12:32 stefan ->
/data/home/stefan
I'm also running a webserver on my "server". If I want my homepage to be
serverd up by apache I have to
turn on "follow symbolic links" which I don't want to do. (This is a
redhat system, document root is in
/home/httpd, personal homepages are in ~/.html/).
How can I setup the autofs on my server so it will NFS mount the home
directories (eventhough they're on
the same system)??
I don't know if these are the right groups to post in for this question,
if there are better places to ask
this question please let me know. Thanks!!!
Stefan van der Eijk
[EMAIL PROTECTED]
bash-2.03$ ypcat auto.master
auto.home --timeout 60
bash-2.03$ ypcat auto.home
alpha:/data/home/stefan
alpha:/data/home/ftp
alpha:/data/home/samba
alpha:/data/home/httpd
(cgmd77035 and alpha are the same machine: cgmd77035 is the cablemodem
interface, alpha is the local interface.
The nfsd is running, and the home-dir's are exported).