Access problems with unc paths to folders shared by nfs

Jose Maria 96 Reputation points
2021-06-09T07:46:34.997+00:00

I have a windows 2016, mounting nfs resources from a Linux server, but when I try to access the same resource by uns path or using the exporter it gives me a network error (resource not found)
Is there any way to force the NFS client to use Nfsv3, we are seeing that on the NFS server, it cannot identify which version is used.

C:\Users\Administrador>dir \172.22.197.79\srv\nfsv4\xa_dev
El volumen de la unidad \172.22.197.79\srv no tiene etiqueta.

Directorio de \172.22.197.79\srv\nfsv4\xa_dev

No se encuentra el archivo

C:\Users\Administrador>mount

Local Remoto Propiedades

X: \172.22.197.79\srv\nfsv4\xa_dev UID=65534, GID=650
rsize=524288, wsize=524288
mount=soft, timeout=6.4
retry=3, locking=yes
fileaccess=766, lang=ANSI
casesensitive=yes
seg.=sys
W: \172.22.197.79\srv\nfsv4\xa_dev UID=65534, GID=650
rsize=524288, wsize=524288
mount=soft, timeout=3.2
retry=3, locking=yes
fileaccess=766, lang=ANSI
casesensitive=yes
seg.=sys

C:\Users\Administrador>dir x:\
El volumen de la unidad X no tiene etiqueta.
El número de serie del volumen es: BE03-0121

Directorio de x:\

08/07/2020 15:07 <DIR> transformationServer
23/04/2015 10:14 <DIR> wsserver
20/05/2019 15:29 <DIR> From_editrack
03/06/2020 09:04 <DIR> reckitt
01/10/2018 09:05 <DIR> autob2b
28/11/2014 14:57 <DIR> face
24/07/2014 10:03 <DIR> upcomillas
04/08/2014 11:05 <DIR> hbeds
16/05/2014 08:38 <DIR> consum
16/05/2014 08:32 <DIR> viafirma
04/03/2014 14:35 <DIR> toyota
19/11/2019 12:09 <DIR> autob2bweb
02/06/2020 13:24 <DIR> recurrentebs

any ideas ?

Thank you so much

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,482 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,903 questions
Windows Server Storage
Windows Server Storage
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Storage: The hardware and software system used to retain data for subsequent retrieval.
650 questions
{count} votes

Accepted answer
  1. Jose Maria 96 Reputation points
    2021-06-23T06:07:23.07+00:00

    I have solved the problem, we had to leave the server configured only with the nfsv3 version, although it was configured to be compatible with nfsv3 and nfsv4, windows did not work well when you accessed with unc paths.


3 additional answers

Sort by: Most helpful
  1. JiayaoZhu 3,911 Reputation points
    2021-06-10T05:38:16.963+00:00

    Hi,

    Thanks for posting on our forum!

    1) "how to force the NFS client to use Nfsv3"
    ——After my research, you can enable or disable NFSv3 by modifying the -v3 option. This allows file access for clients using the NFSv3 protocol. By default, NFSv3 is enabled. Not sure if it is what you mean. If you mean you want to force NFS automounts to use NFSv3. Then just follow the guidance in this article:

    https://serverfault.com/questions/219190/can-i-force-nfs-automounts-to-use-nfsv3

    (Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.)

    2) Based on your descriptions, I noticed an error message: "The volume on the \ 172.22.197.79 \ srv drive is unlabeled." This information usually indicates that you did not assign a drive letter for a volume in your remote folder share from your Linux server. So just check if your drive is assigned with a drive letter.

    3) Analyzing logs is out of our Q&A scope, and if you need investigation into your logs, you may need to open a case with our Microsoft Customer Support and Services. In addition, if the issue has been proved as system flaw, the consulting fee would be refund. You may find phone number for your region accordingly from the link below.

    Global Customer Service phone numbers:
    https://support.microsoft.com/en-us/help/13948/global-customer-service-phone-numbers

    I suggest you to check if you have assigned a drive letter before opening a case.

    Thanks for your understanding!

    BR,
    Joan


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Jose Maria 96 Reputation points
    2021-06-11T08:00:30.403+00:00

    167 / 5000
    Resultados de traducción
    Thank you very much for the reply.

    I was really wondering if you can force the client to only use version 3 of nfs.
    The linux server supports v3.

    Thank you so much

    0 comments No comments

  3. JiayaoZhu 3,911 Reputation points
    2021-06-15T02:23:59.643+00:00

    Hello,

    Thanks for your reply!

    It seems that you have made some progress in solving your issue, doesn't it?

    ——I was really wondering if you can force the client to only use version 3 of nfs.
    By default, NFSv3 is enabled, as I said before. I guess here you mean a stricter way to force the clients ONLY to use dfs-v3. From our perspective, the default setting is enough, if you need stricter or more customized policy, then I think you can look for some customized scripts, which is our of Microsoft scope. But I can suggest you to try to find something useful in GIthub.com:

    https://github.com/

    (Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.)

    Thanks for your support! And I would appreciate it if you could help me Accept Answer to support my work! Microsoft wishes you have a nice day! : )

    BR,
    Joan


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.