跳到主要内容

在 SVM 上启用 64 位 NFSv3 标识符

要支持 FlexGroup 卷高文件计数和避免文件标识冲突,应在必须创建 FlexGroup 卷的 SVM 上启用 64 位文件标识。

  1. 登录到高级权限级别:set -privilege advanced
  2. SVM 修改为使用 64 位 NFSv3 FSID 和文件标识:vserver nfs modify -vserver svm_name -v3-64bit-identifiers enabled

    示例

    cluster1::*> vserver nfs modify -vserver vs0 -v3-64bit-identifiers enabled

    Warning: You are attempting to increase the number of bits used for NFSv3
    FSIDs and File IDs from 32 to 64 on Vserver "vs0". This could
    result in older client software no longer working with the volumes
    owned by Vserver "vs0".
    Do you want to continue? {y|n}: y

    Warning: Based on the changes you are making to the NFS server on Vserver
    "vs0", it is highly recommended that you remount all NFSv3 clients
    connected to it after the command completes.
    Do you want to continue? {y|n}: y

完成之后

必须重新装载所有客户端。这是必须执行的操作,因为尝试 NFS 操作时,文件系统标识会改变,并且客户端可能会收到过时的文件句柄消息。