Hi Verner,
Hi list and P.,
- I've got some interesting (I hope...) debug info. - first, a manual mount of nfsserver:/export, it goes like this and it works perfectly fine:
--- linux-3fm3:/ # mount -t nfs 172.16.11.229:/volume1/EXPORT /mnt/syn -o rw linux-3fm3:/ # cd /mnt/syn linux-3fm3:/mnt/syn # l
This doesn't yet tell too much. You only mounted the top level directory, and that as root.
As far as I can see, this look really good. I then carry on (using my regular vk account in another konsole) with 'ln -s /extern/vk myfiles' This succeeds in that I get no errors - but also no activity at all in either logfile(s).
That is normal. You can create any link to a non-existent file without error messages.
I then try to list the contents of directory 'myfiles', in SuSE I type 'l':
In the client, nothing happens at all. Well, the symlink is displayed in RED colour, it appears to be broken. But...there was NO ERROR when I established it.
In the SYNOLOGY server however, I see this in the /var/log/messages:
--- Apr 13 21:26:28 mountd[3256]: can't stat exported dir /volume1/EXPORT/vk -o rw: No such file or directory ---
Well...eh...that's not so difficult to understand in that the 'vk' subdir indeed does not exist.
OK, now we're getting somewhere. Of course those do have to exist on the NFS server, just like it would be the case for a complete NFS HOME setup. So what I (thought I) understood you wanted is /home/<user> on the local disk and /home<user>/Documents coming via NFS. For this, the directory on the other end has to exist, and have the proper permissions. I.e., on the server you will have to create the /volume1/EXPORT/<user> directories, chown each to <user> (or the appropriate user ID if the users are not known on the server) and probably chmod 700 them so only the user can read it. If the NFS server has access to the userlist (/etc/passwd or similar) that step can be automated, but it's definitely needed for my described setup to work.
This is where I'm stuck. I don't understand what's going on.
Well, I do, but I guess I missunderstood what you want. You want the users to be able to create arbitrary directories on the NFS server, is it that? That of course would be (from the permissions point) quite similar to how /tmp is set up, and you don't need autofs for that but just one general (fixed) mount for the root of the NFS... Pit -- Dr. Peter "Pit" Suetterlin http://www.astro.su.se/~pit Institute for Solar Physics Tel.: +34 922 405 590 (Spain) P.Suetterlin@royac.iac.es +46 8 5537 8507 (Sweden) Peter.Suetterlin@astro.su.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org