Description of problem:
when I tried to mount lustre FS exported via nfs - mount hang in data wait state.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create device with major or minor number over 256 and export via nfs.
bug exist in both kernel and nfs tools.
first bug in nfs-tools,
nfs-tools can`t be read fsid type 3 from kernel hash - nfsd.fh and grop request
without any error message. for fix this function nfsd_fh in utils/mount should
be updated from lastes version (i test with 1.0.10).
second bug exist in fs/nfsd/export.c - he also drop fsid type 3 from tools.
this fixed with small patch (get from 2.6.16 kernel)
--- export.c.orig 2007-02-01 14:46:17.000000000 +0200
+++ export.c 2007-02-01 14:46:34.000000000 +0200
@@ -132,7 +133,7 @@
dprintk("found fsidtype %d\n", fsidtype);
- if (fsidtype > 2)
+ if (key_len(fsidtype)==0) /* invalid type */
if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0)
after this changed i`m able to export filesystems with fsid type 3.
Created attachment 147125 [details]
fix read fsid type3 in mountd.
hm... it this fix will be included in next RHEL4 update ?
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
Fixed in nfs-utils-1.0.6-82.EL4
The patch in comment #1 was committed as part of U5 for BZ 228868. It should be
in nfs-utils versions >= -78.EL. Closing this bug as a duplicate. Please reopen
if you're still having issues...
*** This bug has been marked as a duplicate of 228868 ***