On Saturday 17 May 2003 13:23, Constant Brouerius van Nidek wrote:
My I step in? ;-). I am just setting up my homenetwork on SuSe 8.1 and meet the same problems. When I enter into my SuSe box from a slackware box I am able to look into all directories ( / *(rw) )but /home and /drdos (after that is mounted) are empty. After I have added "/home *(rw)" and "/drdos *(rw)" in the exports file I don't see any change. These directories are as before empty and cannot be entered. Something else missing? The syntax of my client computer is as the syntax of Turd. Or should that be adjusted too?
sounds like you're halfway there. Your /etc/exports file on the server (host) side should look something like this: / *(rw) /home *(rw) /drdos *(rw) and the /etc/fstab on the client(s) should contain something like: server:/ /network nfs defaults 0 0 server:/home /network/home nfs defaults 0 0 server:/drdos /network/drdos nfs defaults 0 0 remember each file must have a blank like at the end, and nfs can get picky about extraneous whitespace in /etc/exports That will put the exported filesystems in the same relative place on the clients (i.e. as if /network was the server's root fs) This is not necessarily a good thing - if for some reason the server's root export fails to mount, for example, then the other mounts will also fail. It would be better to put them in, e.g. /network/root /network/home and /network/drdos to avoid these issues. Also, unless there is good reason to then the root fs (server:/) shouldn't be exported, especially rw, but at least you don't have no_root_squash set as that is extremely unsafe. Also, you should at least use your local network as access list (e.g.) /home 192.168.15.0/24(rw) so that you can be more certain where connections are coming from. Lastly, if you are nfs mounting user home directories, you need the no_all_squash export option so that users have proper privelidges on their files. See man exports and man mount (and refs there) for plenty more info. Dylan -- Sweet moderation Heart of this nation Desert us not We are between the wars - Billy Bragg