Share via


NFS Error

Question

Tuesday, July 9, 2019 1:50 PM

I have a windows server 2012 R2 that is used as a file server. I run DFS on it, and I have installed NFS server at some point in the past. I recently looked at adding a NFS share to the server, but when I open Shares under File and Storage Services to create the share I see a red banner stating servername: Error occurred during enumneration of NFS Shares: A general error occurred that is not covered by a more specific error code. If I ignore that and try and create an NFS share in the share wizard, I see an NFS share create error at the end of the process when I click create.

Any ideas where I can look for this ? I see nothing in the system events logs.

Regards

Tony

All replies (8)

Tuesday, July 9, 2019 2:52 PM

Hello Tony,

Are you sure the Server for NFS role is still installed on the server?

PowerShell:

Get-WindowsFeature *NFS*

Server Manager:

You might want to try reinstalling it:

Get-WindowsFeature -Name "FS-NFS-Service" | Uninstall-WindowsFeature

Reboot and then re-install the Server for NFS role:

Install-WindowsFeature -Name "FS-NFS-Service"

Best regards,
Leon

Blog: https://thesystemcenterblog.com LinkedIn:


Tuesday, July 9, 2019 3:03 PM

Hi Leon,

I forgot to say I had already tried removing the NFS server feature, rebooting, then readding, and rebooting.

I ran your command, output is

PS C:\Users\admin> Get-WindowsFeature *NFS*

Display Name                                            Name                       Install State
                                                                   
        [X] Server for NFS                              FS-NFS-Service                 Installed
[ ] Client for NFS                                      NFS-Client                     Available
            [X] Services for Network File System Man... RSAT-NFS-Admin                 Installed

Ge

Get-NfsShare : A general error occurred that is not covered by a more specific error code.
At line:1 char:1

  • Get-NfsShare

    + CategoryInfo          : NotSpecified: (MSFT_NfsShare:root/Microsoft/Windows/NFS/MSFT_NfsShare) [Get-NfsShare], C
   imException
    + FullyQualifiedErrorId : MI RESULT 1,Get-NfsShare

t-NfsShare also reports

Regards

Tony


Tuesday, July 9, 2019 3:46 PM

Do you have any old NFS shares that your server might not be able to show or that might be corrupted?

You can check in the Windows registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ServerForNFS\CurrentVersion\Exports\

Blog: https://thesystemcenterblog.com LinkedIn:


Tuesday, July 9, 2019 4:24 PM

I checked your registry item, and that key only shows a default entry.

Thanks


Tuesday, July 9, 2019 4:38 PM

Might try checking for any corruptions:

SFC /Scannow
DISM /Online /Cleanup-Image /RestoreHealth

Blog: https://thesystemcenterblog.com LinkedIn:


Tuesday, July 9, 2019 5:50 PM

Hi Leon,

I did a detailed look at the event viewer logs and I found an item for the ServerNFS portmapper failing to start as the resource was unavailable. I then found a reference on Google to another service using port 111 which apparently serverNFS uses, found that, (Arcserve RPC), disabled that service and now NFS seems to be fine after a restart. I need to sort out this conflicting service and check if it's needed.

Thanks for your help

Tony


Tuesday, July 9, 2019 5:58 PM

Great stuff!

Blog: https://thesystemcenterblog.com LinkedIn:


Thursday, July 11, 2019 9:42 AM

Hi,

 

Just want to confirm the current situation. Please let us know if you need further assistance.

 

If your question was answered appropriately. This includes any reply that was post by yourself or others. In doing so, it will benefit all community members who are facing similar issues. Your contribution is highly appreciated.

 

Thanks for your support and understanding.

 

Have a nice day!

 

Best regards,

 

Michael

Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]