Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: stefan24 on October 19, 2004, 11:01:19 AM

Title: NFS mounts very slow
Post by: stefan24 on October 19, 2004, 11:01:19 AM
Hi!

I'm using my NetWare 6.5 server also as NFS server for my SME 6.01. When mounting NFS shares from my SME, the mount process lasts over 15 minutes. When I try the same from an old Suse box or other Unix systems (the latter tested only once), the mount process is finished within 1-2 seconds.

I remember, that I once installed a contrib (but which one??), that speeded up the process for my SME, but since I installed a new SME, I cannot get the speed anymore.

BTW: After mounting the transfer speed is normal.

My NetWare server is capable of using NFS 2 and 3.

The nfs log from my NetWare server says:

19.10.2004 10.28.00 : Info    : 192.168.194.5 mounted /data/web using Mount version 3.
Title: NFS mounts very slow
Post by: Damian on November 07, 2004, 04:11:28 PM
Hi Stefan,

Try mounting the share udp only. I have to do this to mount my SME 6.0 from my SuSE 9.1 laptop. The relevant line in the SuSE /etc/fstab:

 192.168.xx.xx:/home/e-smith/files/ibays  /share  nfs   rw,noauto,user,udp 0 0

This forces udp when tcp is known not to be available. I know it's not the same issue but it's worth a try.

Damian
Title: NFS mounts very slow
Post by: stefan24 on November 09, 2004, 08:53:43 PM
Quote from: "Damian"

Try mounting the share udp only.


That did not work (better). I tried some other options in the fstab file like "tcp,nfsvers=3,hard,wsize=4096,rsize=4096 "
and variants of this and also your "udp", but mounting is always slow.
But it seems, that it could be something on the NetWare side, since a Debian (VDR) box is also slow when mounting from the NetWare server.

hm, I will investigate some more time in that.

Thanks anyway

Stefan
Title: NFS mounts very slow
Post by: Knuddi on November 09, 2004, 09:40:27 PM
I have tried to mount two SME server together and the mount process also here takes forever. It could be something with the NFS settings from what I read several places via google search - I haven't found the magic parameter though...
Title: NFS mounts very slow
Post by: hmuhammad on December 04, 2004, 01:03:47 AM
Based on what I read here...
   http://www.linuxquestions.org/questions/history/255654

...I started portmap on the client (also a SME server) and used these parms in /etc/fstab ...

192.168.1.20:/server2backup /mnt/backup nfs rw,noauto,user,udp,hard,intr,sync 0 0

...time to mount went from infinity to infinitesimal

CAVEAT

...still testing post mounting behaviour.

Hasan
Title: NFS mounts very slow
Post by: arrowsmith on December 09, 2004, 02:23:23 AM
I had the same problem before, i think i fixed it by either low level formatting the hdd or just made the fstab back to original, rebooted , then re-wrote the mount with slightly different parms.
check man mount to see the options.
Title: NFS mounts very slow
Post by: stefan24 on November 02, 2005, 03:40:52 PM
Finally, I found the solution:

just use the parameter "nolock" when mounting the NFS volumes.

No more 10-15 minutes to wait for completion of the mount process, but 1 second!
Title: NFS mounts very slow
Post by: CharlieBrady on November 02, 2005, 05:02:31 PM
Quote from: "stefan24"
Finally, I found the solution:

just use the parameter "nolock" when mounting the NFS volumes.


I'd call that a workaround rather than a solution. It's quite possible some application you use might expect locking to work. Does your NFS server not provide a locking daemon?