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

Q: Failed to mount the shared folder of NAS using NFS v4 because of No such file or directory?


Data ostatniej modyfikacji: 2022-06-24

Q: Failed to mount the shared folder of NAS using NFS v4 because of No such file or directory?

 

Scenario: When I tried to mount the shared folder of NAS using NFS v4, it failed and showed the error message, “No such file or directory”. 

root@tsd:/# mount.nfs4 10.64.72.30:/share/Public /mnt/public

mount.nfs4: mounting 10.64.72.30:/share/Public failed, reason given by server: No such file or directory


A: There's a little bit difference between NFS v3 and v4 when you mount the NAS shared folder from the clients. You can refer to the examples below to find the differences.
NFS v3
root@tsd:/# mount.nfs 10.64.72.30:/share/Public /mnt/public
    or
root@tsd:/# mount -t nfs 10.64.72.30:
/share/Public /mnt/public
NFS v4
root@tsd:/# mount.nfs4 10.64.72.30:/Public /mnt/public
    or
root@tsd:/# mount -t nfs4 10.64.72.30:
/Public /mnt/public

Czy artykuł ten był przydatny?

29% ludzi uważa, że to pomaga.
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