lynn said the following on 04/19/2012 06:29 PM:
I've always mounter at /mnt/server/home/ and had a symlink from /home/anton/ to /mnt/server/home/anton/
But in my case, it would have to be the other way around. I would mount /home2/MARINA/staff from the server to /mnt/home2/MARINA/staff and symlink from the latter to /home2/MARINA/home2/lynn
That would need a conventional NFS mount to symlink from no?
Mo, other way round. You symlink *TO* where the NFS is mounted. This example is from the second case I described where I have a minimal template in place on a machine running fedora and a very small disk, and the 'real' stuff on a server. My laptop, when its docked, has similar links $ ls -l /home/anton/ [snip] drwxrwxr-x. 3 anton user 4096 Oct 12 2011 bin lrwxrwxrwx. 1 anton user 22 Sep 15 2011 Documents -> /mnt/server/anton/Documents/ lrwxrwxrwx. 1 anton user 22 Sep 15 2011 Downloads -> /mnt/server/anton/Downloads/ drwxrwxr-x. 4 anton user 4096 Oct 12 2011 lib lrwxrwxrwx. 1 anton user 17 Sep 14 2011 Media -> /mnt/server/anton/Media lrwxrwxrwx. 1 anton user 15 Sep 14 2011 PDF -> /mnt/server/anton/PDF drwxr-xr-x. 2 anton user 4096 Sep 14 2011 Templates You could set this up as a test using your local 'lynn2' account Please note that I don't have a '/mnt/server/<machine>/home/' in there. The automounter could handle additional levels of indirection if needed, but all the 'homes' (well actually subtrees) are on the one server. I suggest you don't try playing with automounter indirection! The automounter mounts server:/home/anton on localhost:/mnt/server/anton You probably want to mount server:/home2/MARINA/staff/ on localhost:/mnt/server/staff/ You want to have localhost:/mnt/server/staff/ already created as a directory - which is how I have it on the fedora machine. I don't know about ubuntu. Now set up a symlink _from_ localhost:/home2/MARINA/staff/lynn/ _to_ /mnt/server/staff/lynn/ I don't know why you have that 'MARINA' in there and its possible there is confusion with /home/ and /home2/ is all of this. It is to avoid that confusion that I *NEVER* mount directly under /home and why I have a basic template and mount the 'roving shares' explicitly. Once I have that all worked and prove it works I can change my symlinks "up one level'. you've managed to do things in an awkward way that gives you no room for flexibility and experimentation. You have what is sometimes termed "Big bang" deliver. It either works or it doesn't and you've got no room to play with because you've done an all or nothing commit in the way you overlay the 'real' home. By mounting on /mnt/server/ I can play with ways of symlinking or using 'mount --bind' or 'mount --rbind'. I've got room to try different approaches. -- "...Then anyone who leaves behind him a written manual, and likewise anyone who receives it, in the belief that such writing will be clear and certain, must be exceedingly simple-minded..." -- Plato, _Phaedrus_ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org