File Server in Windows
Table of contents
Introduction
###
Building NFS File Server in Windows Server 2016
Preparation for work
File Server
- Adding 100G physical storage
- OS : Windows Server 2016
- IP : 192.168.111.10
- Turn off all firewall in OSClient Server
- OS : Windows Enterprise 10
- IP : 192.168.111.20
- Turn off all firewall in OS
Adding physical hard storage in VMware fusion
The machine has to turn off before beginning.
NFS Server > Settings > Added Device
Select ‘New Hard Disk’ in Settings > Added Device and then, click ‘Add’.
Put ‘100’ into blank box for disk size. and then, click ‘Apply’.
Close window
Registration added hard storage to Windows Server
Turn on The Server machine(Windows Server 2016) in WMware.
Press ‘Window key’ and put ‘Disk management’ or ‘create and format’ and then, press ‘Enter key’ or click the icon on the list for running application.
Select ‘GPT(GUID Partition Table)’ and click ‘OK’ in ‘Initialize Disk’ pop-up window.
Check the new disk drive that was added from Vmware and right-click on the new disk drive section then, click ‘New Simple Volome’.
Click ‘Next’ on the New Simple Volume Wizard pop-up window.
Put disk size you want into blank box on ‘Specify Volume Size’ section and then click ‘Next’
In the ‘Assign Drive Letter or Path’ section, select ‘Assign the following drive letter’ and then choose the letter for the new drive volume. You can also choose other options, such as making the volume a folder under an existing volume, or a volume without a name. click ‘Next’ after done selection.
In the ‘Format Partition’, select ‘Format this volume with the following settings’. and put a new ‘Volume label’ name(ex>NFS-Server-Test), and let the rest of them as the default setting. then, click ‘Next’.
If you want to know more about ‘Format’. Click hereCheck the all configurations you did in this window. and then, click ‘Finish’.
Close ‘Disk Management’ window.
Installation NFS Server in Server Manager
press ‘Window key’ on the keyboard and put ‘Server manager’ then click ‘Server Manager’ on the list for running.
At the Server Manager window click on ‘Manage’. then, click ‘Add Roles and Features’.
At the ‘Add Roles and Features Wizard’on the pop-up window, check the things you need to do before proceeding in the ‘Before you begin’ section, then click ‘Next’.
Select ‘Role-vased or feature-based installation’. and click ‘Next’.
At ‘Select destination server’ Section, Select ‘Select a server from the server pool’. and select the server you want to install roles and features after checking the information (Name, IP Address, Operating System) on the ‘Server Pool’ list. and then, click ‘Next’.
At ‘Remove server roles’, select ‘Server for NFS in ‘File and Storage Services > File and iSCSI Services’ on the Roles list. and then, click blank check box on the left.
Click ‘Next’ after checking the installation information on the new pop-up window.
Click ‘Next’ on the returned window.
Click ‘Next’ at ‘Select features’ - You don’t need any selection here due to you already installed the feature you want in the before step.
Click ‘Install’ at ‘confirm installation selections’
Wait for a while for feature installation and click ‘Close’ after succeed it.
Click ‘File and Storage Service’ on sidebar in Server Manager.
You can see the server status on the list. right-click on the server selected. and then, find and click ‘Start Performance counter’ for running.
Ckeck the server status changed to ‘online’.
Configration Server for NFS in Windows Server
Press ‘Window Key’ and put ‘server manager’ into blank search box. and then, press ‘Enter key’ or Click ‘Server manager’ icon on the list for running ‘Server Manager’
Click ‘File and Storage Services’ on the sidebar.
Select ‘To create a file share, start the New Share Wizard’ after clicking ‘Shares’ on the second sidebar.
Select ‘NFS Share - Quick’ on the ‘File share profile’ list at the ‘Select the profile for this share’ Section in the ‘New Share Wizard’ pop-up window. and click ‘Next’ after done.
Check the Server that you want to share and select ‘Share location’ and then, choose The drive you want to share through the NFS Server. Also, you can make a ‘custom path’ through one other option.
Put ‘Shared Name’ you want(ex> NFS-Text) into blank on the box on the most top.
Check box ‘No server authentication(AUTH_SYS)’, ‘Enable unmapped user access’ and select ‘Allow unmapped user access by UID/GID’ at ‘Specify authentication methods’ section. and click ‘Next’ after done.
Click ‘Add’ Specify the share permissions’ section. and it’ll open the ‘Add Permissions new pop-up window. and then, put the client computer’s IP address that you want to connect with the file server into the blank box under ‘Host’. and next, select ‘Read/Write’ under ‘Share permissions’ through a click. click ‘Add’ after done.
Check the information that was configured on the list. and then, click ‘Next.
Check the information about permissions at the ‘Specify permissions to control access’ and then click ‘Next’ after done.
Check the configure information about Server, Client on the window at the ‘Confirm selection’ section. and then, click ‘Create’ after done.
Check the task monitoring information on the list and then, click ‘Close’ after done.
Check the task information that was configurated on the ‘Shares’list.
Installation NFS Client on Client Computer
Turn on the client machine(Windows 10 Enterprise) in WMware.
Press [Window Key] + R for running ‘Run’ dialog type application.
Put ‘cmd’ into the blank box and press the ‘Enter key’ or click ‘OK’ to run the ‘CMD’ application.
Put ‘ipconfig’ into the prompt and ‘Enter key’ to show IP configured. and check IP address.
put ‘ping 192.168.111.10’ and ‘Enter key’ for ping test with ‘NFS Server’
- If you did not succeed in the ping test with the right IP configuration. probably, It caused a firewall. check the firewall status again. or If you want work to include running a firewall, click this. thisclose ‘CMD’ Application
Press [Window Key] and put ‘features on’. If you can see ‘Turn windows features on or off’ click it on the list.
Select ‘Client for NFS’ under ‘Service for NFS’ on the list at the ‘Windows Features’ pop-up window. and click ‘OK’.
wait for a while until appying is done. and then, click ‘Close’
Setting up Client for NFS in Client Computer
Press ‘Window key’ + E for openning ‘File explorer’
Find and click ‘This PC’ on the sidebar. select the ‘Computer’ tab at the top of the window and click the ‘Map network Drive’ icon on the function list.
Choose the letter of the drive, and put ‘\[server ip][share name]’ into the blank box next to ‘Folder’. and click ‘finish’ after done.
- It is configuration without security. you can make more secure configuration through ‘Active Directory’.If it succeeded in connecting. you can see like below status in ‘File explorer’.
Testing
- Make any file in NFS Drive on Client’s computer. and then, if it succeeded it. you can check the status like this on Client computer and Server.