[Ważna informacja Zabezpieczenia] Wykryto fałszywe strony Qfinder Pro. Dowiedz się więcej >

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


Data ostatniej modyfikacji: 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.

Czy artykuł ten był przydatny?

Dziękujemy za przekazanie opinii.

Poinformuj nas proszę, w jaki sposób możemy ulepszyć ten artykuł:

Bardziej szczegółowe opinie można wpisać poniżej.

Wybierz specyfikację

      Więcej Mniej
      Ta strona dostępna jest w też krajach/regionach:
      open menu
      back to top