Thanks for your reply…
First of all you describe your environment in a more clear way.
“automount remote disks”
What do you mean by this?
I am mounting a set of disks which are behind an NFS Gateway. They are not tied any particular OS, and are accessible from Windows and Unix clients. When I log into a Solaris box, my /home is on this remote disk, and if I map a network drive in Windows, it’s also on this disk.
Are you mounting disk partitions from another machine?
(?) With autofs the server makes the disks available to clients, so no I think is the answer to this.
If so, how? Is that remote machine a non-Linux machine? Windo$?
It’s an NFS Server, I don’t know whether it is Windows/Linux/Unix
How did you mount it?
I am using autofs. This is my auto.master file:
# Sample auto.master file
# This is an automounter map and it has the following format
# key -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
# NOTE: mounts done from a hosts map will be mounted with the
# "nosuid" and "nodev" options unless the "suid" and "dev"
# options are explicitly given.
/net -hosts uid=1000,gid=1000
# Include central master map if it can be found using
# nsswitch sources.
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# /net /etc/auto.net --timeout 60
When I log in it automatically mounts everything in /etc/hosts, the remote disks are mounted under /net.
The service is running:
Checking for service automount running
The disks are mounted, I checked the /net directory.
Or, is it another Linux machine?
No, it’s not another Linux machine.
Are you using NFS or SAMBA or something else?
I think you need to hack the user id in someway to get read/write access…