Quote:
Originally Posted by packets
It has now its own entry on autofs. However, I'm not sure regarding the share within a share. I believe you are referring on the settings below. Would there be an issue in my settings?
Code:
[root@karagor etc]# cat auto_data
files - booger:/vol/data
files/secretary/folders - cereal:/vol/data/secretary/folders
+auto_data
|
you have the share inside of a share:
Code:
files - booger:/vol/data
files/secretary/folders - cereal:/vol/data/secretary/folders
files is the share, then again you have
files/secretary/folders there is no need to do that unless they are physically different NFS servers, if that is the case then you still dont want to mount both booger and cereal (your 2 servers) into the same mount point.
you have server booger mounting in ~/files
then you have server cereal also mounting inside ~/files
this is unwise and can cause issues.
a better idea might be to have them mount to different locations, then maybe symlink them to a single location, but even that im not 100% sure is a good idea.
with autofs, the directory ~/files is EMPTY until you access it. Once you access that directory then what ever is shared via booger is going to appear in that directory and to the user look no different and act no different then if it were a local file/directory they would access any normal way.
that means files/secretary/folders will never be seen by any user with autofs as /secretary/folders are not on server booger, but on server cereal.
the /etc/exports from booger will not have that path unless you created it and then you are just creating shares within shares. its a nasty loop to put yourself in.