LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NFS share issues (https://www.linuxquestions.org/questions/linux-networking-3/nfs-share-issues-158890/)

takisd 03-17-2004 07:12 AM

NFS share issues
 
Hi
(big newbie here)

i'm using SuSE 9 and trying to set up my NFS shares. i have another SuSE 9 box and win2k machine. i have set up a share on my primary suse9 box to a directory in /var/lib/...... so i can share updates i get for one machine with the other.

i have been attempting to also share a directory within my home directory (or the whole home/myname directory would be good) with the other suse box. the problem is it only works sometimes. when starting (or restarting) the nfs server the process seems to hang for quite some time (on boot also when starting nfs server). it then occasionally succeeds - otherwise dumps. when attempting to import from the second suse box, starting nfs also ocassionally produces some errors - RPC time out - most of the time. it will often
import the /var/lib/... share ok but rarely (though once or twice) the /home/myname/mydir share.

is this a problem with sharing home directories or am i missing something else?? my /etc/exports file is below as well as the /etc/fstab from the other suse box.

also, just as a general 'best practice' type thing, if you can't share homes, where would the best share directory be within the file system - ie. would you put this in something like /usr/local/my-shared-dir since every other dir is a system dir.

(its also kind of funny that using samba i have no issues sharing anything with the win2k box - i know, i authenticate as the user, but still...)

any suggestions would be appreciated:

Takis


/etc/exports
-------------
/home *(ro,root_squash,sync)
/home/takisd/software *(ro,root_squash,sync)
/var/lib/YaST2/you/mnt/ *(ro,root_squash,sync)

/etc/fstab (from second suse box - nfs section only)
---------------
192.168.0.3:/home/takisd/software /mnt/software nfs defaults 0 0
192.168.0.3:/var/lib/YaST2/you/mnt /mnt/suse-updates nfs defaults 0 0
192.168.0.3:/home /mnt/nixon/home nfs defaults 0 0


All times are GMT -5. The time now is 07:48 AM.