Windows Server 2012 has the option to not only share the storage with Windows Clients but with UNIX like servers too. In this tutorial we will install and configure the Windows Server 2012 NFS server.
Steps to install NFS server
- Open Administrator PowerShell window
- Import-Module Servermanager
- Add-WindowFeature FS-NFS-Server,RSAT-NFS
Steps to configure an NFS Share
- Create a folder in a disk. ex. new-item -name foldername -itemtype directory
- Share folder via NFS. ex new-nfsshare -name sharename -path d:foldername -permission readwrite
- If you need to enable root access. set-nfsshare -name sharename -AllowRootAccess $True
Not working for me in 2012 essentials.
Can you help me to share a folder with nfs in essentials,please?
I can´t find any information.
Thanks in advance and sorry for my english.
Add-WindowsFeature FS-NFS-Server,RSAT-NFS
Add-WindowFeature : El término ‘Add-WindowFeature’ no se reconoce como nombre de un cmdlet, función, archivo de script
o programa ejecutable. Compruebe si escribió correctamente el nombre o, si incluyó una ruta de acceso, compruebe que
dicha ruta es correcta e inténtelo de nuevo.
En línea: 1 Carácter: 1
+ Add-WindowFeature FS-NFS-Server,RSAT-NFS
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Add-WindowFeature:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Te falta una letra (s) en el comando. Trata: Add-WindowsFeature FS-NFS-Server,RSAT-NFS
Thanks for your quick answer,now i have this:
PS C:Windowssystem32> Import-Module Servermanager
PS C:Windowssystem32> Add-WindowsFeature FS-NFS-Server,RSAT-NFS
Add-WindowsFeature : ArgumentNotValid: el nombre del rol, del servicio de rol o de la característica no es válido:
‘FS-NFS-Server,RSAT-NFS’. No se encontró el nombre.
En línea: 1 Carácter: 1
+ Add-WindowsFeature FS-NFS-Server,RSAT-NFS
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (FS-NFS-Server,RSAT-NFS:String) [Install-WindowsFeature], Exception
+ FullyQualifiedErrorId : NameDoesNotExist,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand
Success Restart Needed Exit Code Feature Result
——- ————– ——— ————–
False No InvalidArgs {}
Thanks again. o gracias de nuevo.¿Puedo escribir en castellano?
Try Get-WindowsFeature | where {$_.name -like “*NFS”} to see if your server have the feature. Not sure if essentials have the feature.
Nothing,it try a search but don´t report anything,return me to command line.
In Add/Remove Functions I only have NFS client, I can´t find NFS server,maybe you´re right and Essentials don´t have this feature.
Thanks.
Try
FS-NFS-Service
and
RSAT-NFS-Admin
Hi,I thought i posted the solution here,sorry.
I found all the information in this post
http://blogs.technet.com/b/filecab/archive/2012/10/08/server-for-network-file-system-first-share-end-to-end.aspx
Thanks brantz, FS-NFS-Service that was the correct command.
Thanks to all you for your help.