I have a problem using NFS with SLES 9. I can access our NAS server
and mount the share. It's used for maildir and pub directories of the
users. Everything works and the data are readable and writable.
But I can't lock the files and therefore no quotas are available.


The kernel shows the following error:


May 14 14:23:38 vrwtb2 kernel: lockd/statd: failed to create /var/lib/
nfs/sm/nas01: err=-2
May 14 14:23:38 vrwtb2 kernel: lockd: failed to monitor nas01


I have installed the following nfs rpms from SuSE


yast2-nfs-client-2.9.11-23.2
nfs-utils-1.0.6-103.28
yast2-nfs-server-2.9.9-23.2


rpcinfo -p shows:


  program vers proto   port     100000    2   tcp    111  portmapper 
100000    2   udp    111  portmapper     100024    1   udp  32768  status 
100021    1   udp  32768  nlockmgr     100021    3   udp  32768  nlockmgr 
100021    4   udp  32768  nlockmgr     100024    1   tcp  32770  status 
100021    1   tcp  32770  nlockmgr     100021    3   tcp  32770  nlockmgr 
100021    4   tcp  32770  nlockmgr



Before SLES9 we used SLES8 and everything worked fine. The permissions
are the same on both operating systems.


total 20
drwxr-xr-x   4 root root 4096 May 14 13:55 .
drwxr-xr-x  18 root root 4096 Jul 18  2006 ..
-rw-r--r--   1 root root    0 Aug 24  2006 etab
-rw-r--r--   1 root root    0 Aug 24  2006 rmtab
drwx------   2 root root 4096 Feb  3  2006 sm
drwx------   2 root root 4096 Feb  3  2006 sm.bak
-rw-r--r--   1 root root    4 Jul 18  2006 state
-rw-r--r--   1 root root    0 Aug 24  2006 xtab





I use Kernel 2.6.5-7.282-bigsmp



On this part of the kernel sources the error occure (clntproc.c).


nlmclnt_lock(struct nlm_rqst *req, struct file_lock *fl)
{         struct nlm_host *host = req->a_host;         struct nlm_res  *resp =
&req->a_res;         int             status;


        if (nsm_monitor(host) < 0) {                 printk(KERN_NOTICE "lockd:
failed to monitor %s\n", 
host->h_name);                 return -ENOLCK;         }


        do {                 if ((status = nlmclnt_call(req, NLMPROC_LOCK)) >=
0) {                         if (resp->status !=
NLM_LCK_BLOCKED)                                 break; 
status = nlmclnt_block(host, fl, &resp-


>status);

                }                 if (status < 0)                         
return
status;         } while (resp->status == NLM_LCK_BLOCKED && req-





Any ideas?











----------------------------------------------------------------------------------------------------------------------------------------------

FIDUCIA IT AG
Fiduciastraße 20
76227 Karlsruhe

Sitz der Gesellschaft: Karlsruhe
AG Mannheim HRB 100059

Vorsitzender des Aufsichtsrats: Erwin Kuhn
Vorsitzender des Vorstands: Michael Krings
Vorstand: Klaus-Peter Bruns, Hans-Peter Straberger, Eckhardt Werner

Umsatzsteuer-ID.Nr. DE143582320, http://www.fiducia.de
----------------------------------------------------------------------------------------------------------------------------------------------


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to