"Jerzy Jalocha N" <[EMAIL PROTECTED]> writes:
> Hi, I am trying to set-up the following (simple?) configuration:
> * one server which has a mounted partition (/shared) exported with
> NFS. This holds some files (office, etc) which will be shared by all
> users.
> * a few (4) clients which should autofs this partition as '/shared'.
>
> I am able to manually mount the partition on the clients:
> $ sudo mount 192.168.1.20:/shared /shared
> And I am able to mount with fstab. (That's how it's running now.)
>
> But I am unable to automount. Whatever the combinations of options I
> try ('ls /shared/', or 'ls /shared/subdir', or 'cd /shared : ls'), it
> shows nothing.
>
> I guess, It has to do with the combination of
> mounting/exporting/autofs options, but I don't really know how to
> debug this part.
>
> This is how I've set it up right now:
>
> * server:/etc/fstab
> /dev/sdb1 /shared ext3 rw,sync,suid,nodev,exec,auto,nouser 0 3
>
> * server:/etc/exports
> /shared 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
>
> * client:/etc/auto.master
> shared 192.168.1.20:/shared --ghost --timeout=60
Try:
auto.master:
/shared /etc/auto.shared
/etc/auto.shared:
* -hard,intr 192.168.1.20:/shared/&
Cheers,
Jeff
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs