NFS Server for WS2022 is not working afer migrating to a different drive letter

cn flag

One should mean that this is a prette strait forward task.

I am using Windows Server 2022 and installed the "Server Role" "NFS Server". I shared the D:\ drive as "dev_files" by using the Explorer Properties dialog window on that drive. After that I was able to use this share on several UNIX based machines. Same directory is also shared via CIFS with the same name.

Later I decided to change the drive letter, so I removed the share config and changed the drive letter to K:\ . Afterwards I configured the drive exactly the same as before. No error during configuration. Now the share can't be accessed from an Ubuntu and ans Solaris machine although everything should be configured fine.

When I remove the share and rename it with e.g. "dev_files2" then the new share works. It seems, that the old name "dev_files" is somehow broken and is remembered somewhere in the OS.

I tried to do multiple reboots.

I tried to restart the NFS service.

I also removed the hidden "._nfs" directory.

It seems that the old share name can't be used any more with the new K:\ drive.

Tried to find alternative methods to list and clear available NFS shares but had no luck. I found Get-NfsShare but this PS command seems to be not available on my system.

Hope one can help!

I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.