On 11/19/2013 6:57 AM, 钱泽森 wrote:
> After much tries. problem sovled.:-) It's a authentication problem.
> according to nfs mannual page:
> In addition to combining these sideband protocols with the main NFS
> protocol, NFS version 4 introduces more advanced
> forms of access control, authentication, and in-transit data
> protection. The NFS version 4 specification mandates
> NFSv4 ACLs, RPCGSS authentication, and RPCGSS security flavors that
> provide per-RPC integrity checking and encryption.
> Because NFS version 4 combines the function of the sideband protocols
> into the main NFS protocol, the new security fea‐
> tures apply to all NFS version 4 operations including mounting, file
> locking, and so on. RPCGSS authentication can
> also be used with NFS versions 2 and 3, but does not protect their
> sideband protocols.
>
> and this
> patch:
https://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.4-rc2/2.6.4-rc2-mm1/broken-out/nfs-simplify-config-options.patch
>
> nfsv4 need DES and MD5.but in official kernel, the dependency missed,
> nor writes"you should say yes to support nfsv4", so I turn it
> down.(bad habbit).
>
> The patch is for 2.6.4, and I wonder why the dependency mistake still
> existed. Anyway, probleam solved.