[重要安全性通知] 发现假冒 Qfinder Pro 网站。了解详情 >

How do I renew the credentials for a datastore connection between ESXi and a QNAP NAS?


最后修订日期: 2022-06-24

To renew the credentials, follow the steps below.

Part 1: Enable ESXi Shell

  1. Log into a vCenter Server system using vSphere Client. 

  2. In the Inventory panel, select the host.

  3. Click the Configure tab, and then select System > System.

  4. For each of the following services, click Edit Startup Policy, select Start and stop manually, and then click Start to enable the service.

  • ESXi Shell

  • SSH

  • Direct Console UI 

Note: If you want the service to start whenever you restart the host, select Start and stop with host.

Step 2: Delete existing krb5 NFS credentials

  1. Log into the target ESXi server using an SSH client, such as PuTTY.

  2. Go to the following directory:
    /tmp/nfsgssd_krb5cc

3. Locate the existing credentials file using the klist command, and then delete the credentials file using the rm command.

Step 3: Renew krb5 NFS credentials

1. On the NAS, ensure that the NAS has joined the domain.

2. Disable and then re-enable the NFSv4 service.

3. In ESXi, remount the NAS NFS shared folders using the Kerberos option krb5 or krb5i.

When the mount operation has finished, a new Kerberos credential is created on the ESXi server at /tmp/nfsgssd_krb5cc

4. Using the klist command, verify that the Kerberos credentials file exists and is valid.

这篇文章有帮助吗?

谢谢您,我们已经收到您的意见。

请告诉我们如何改进这篇文章:

如果您想提供其他意见,请于下方输入。

选择规格

      显示更多 隐藏更多
      open menu
      back to top