LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   DamnSmallLinux (https://www.linuxquestions.org/questions/damnsmalllinux-42/)
-   -   How to Configure the Damn Small NFS client (https://www.linuxquestions.org/questions/damnsmalllinux-42/how-to-configure-the-damn-small-nfs-client-619737/)

HellesAngel 02-08-2008 02:28 PM

How to Configure the Damn Small NFS client
 
My server is running SuSE Linux 10.0 and the NFS shared directories are visible and accessible from all other SuSE computers. The problem is I can't see these shares from DSL. I downloaded DSL a week ago and have it installed on a very old laptop, it's a fairly plain install but I've changed the following to try to get access to the NFS shares.

/etc/fstab: Added the line, copied from SuSE directly
Quote:

192.168.0.34:/home/share /home/share nfs defaults 0 0
/etc/rc5.d/S99bootlocal: Added the line at the end of the file
Quote:

/etc/init.d/nfs-common start
But still no share. I've done a lot of Googling and come up with nothing, what am I missing? Everything else with the install seems fine.

Thanks in advance.

jasonwilliams 03-06-2008 02:14 PM

Be sure to start portmap first:

/etc/init.d/portmap start

before starting nfs-common. It should work then.

HellesAngel 08-13-2009 02:18 PM

Many thanks
 
Returning to this problem some months later I stumbled across my own question and the answer provided works.

Many thanks.

HellesAngel 08-28-2009 04:10 AM

It seems I spoke too soon... The NFS share is visible in that ls shows its contents but copying to or from it from the DSL client hardly works.

To get to this stage I have installed DSL 4.4.10, modified /etc/init.d/S99bootlocal to include the lines:
Quote:

5 pump -i eth0
6 /etc/init.d/ssh start
7 /etc/init.d/portmap start
8 /etc/init.d/nfs-common start
The share is mounted with mount -t nfs server:/path/to/server/share /mnt/dsl/share

I see during startup that this all works without producing error messages, and as I said the share is visible but when I try to copy files from the server share to the DSL local disk the first 16Kb copies OK, then the copy freezes.

I've Googled a bit but found nothing, any clues anyone?

HellesAngel 08-28-2009 04:22 AM

Ah, ask and ye shall find... I checked other related posts and found this one:
http://www.linuxquestions.org/questi...-client-61223/
with the answer to mount the share:
Quote:

mount -t nfs server:/path/to/server/share /mnt/dsl/share -o rsize=8192,wsize=8192,timeo=14


All times are GMT -5. The time now is 08:06 AM.