Hello!
Frithjof Anders wrote:
> Sorry, I do not see the problem. Maybe I do misunderstand, what you want. But I
> had the same problem, to mount a tree of directories from a machine, without
> the user guessing + plus the mechnanis should work for any host whithout
> changing the automounter maps. Here is my solution within the existing autofs.
>
> 1) I reorganized all my nfs servers to have mount points like
> /hostname/data1
> /hostname/data2
>
> 2) I created an automounter moint point /imports
> and a map auto.imports
> * &:/&
>
> That was all. A simple universal map, whcih needs no change, if you buy a new
> machine. We make local temp space for calcuation intensive programs availible
> that way to all hosts of the cluster.
That works indeed fine, if you have _ONLY_ Linux NFS servers in
your net. Unfortunately we have some servers still running Solaris
or IRIX. These machines also have more than one single /-filesystem.
With the approach above you can't access the additional filesystems
on the Solaris/IRIX boxes. So I have to wait what will happen first:
1. I can convince our people to replace IRIX 6.5/Solaris with MIPS/Sparc Linux
on our Origin 2000 Server and Sparc systems. (Relatively unlikely :-( )
2. Those Servers aren't used any more, since our new Dual P-II PCs run
every of our applications at least twice as fast under Linux.
(More likely)
3. HPA finishes autofs v4.x which may (will?) support this difficult stuff.
(Don't know how likely this is ... hint hint hint ;-)
> cd /imports/hostname will mount the whole tree of the other machine and
> thanks to how LINUX handels exports, I even can dynamicaly mount and
> unmount directories on the server, which are propagated to the clients.
Indeed this works fine. As long as you don't need to access data
on a None-Linux NFS server... :-(
Regards, Peter
--
Peter Funk, Oldenburger Str.86, 27777 Ganderkesee, Tel: 04222 9502 70, Fax: -60