Skip to main content Link Menu Expand (external link) Document Search Copy Copied

File Server in Windows

Table of contents
  1. Introduction
  2. Building NFS File Server in Windows Server 2016
    1. Preparation for work
    2. Adding physical hard storage in VMware fusion
    3. Registration added hard storage to Windows Server
    4. Installation NFS Server in Server Manager
    5. Configration Server for NFS in Windows Server
    6. Installation NFS Client on Client Computer
    7. Setting up Client for NFS in Client Computer
    8. Testing
  3. Building iSCSI File Server in Windows Server 2016
    1. Testing

Introduction

###

Building NFS File Server in Windows Server 2016

Preparation for work

  1. File Server
    - Adding 100G physical storage
    - OS : Windows Server 2016
    - IP : 192.168.111.10
    - Turn off all firewall in OS

  2. Client Server
    - OS : Windows Enterprise 10
    - IP : 192.168.111.20
    - Turn off all firewall in OS

Adding physical hard storage in VMware fusion

  1. The machine has to turn off before beginning.

  2. NFS Server > Settings > Added Device
    1

  3. Select ‘New Hard Disk’ in Settings > Added Device and then, click ‘Add’. 2

  4. Put ‘100’ into blank box for disk size. and then, click ‘Apply’.
    3

  5. Close window

Registration added hard storage to Windows Server

  1. Turn on The Server machine(Windows Server 2016) in WMware.

  2. 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. 6

  3. Select ‘GPT(GUID Partition Table)’ and click ‘OK’ in ‘Initialize Disk’ pop-up window. 7

  4. Check the new disk drive that was added from Vmware and right-click on the new disk drive section then, click ‘New Simple Volome’.
    8

  5. Click ‘Next’ on the New Simple Volume Wizard pop-up window.
    9

  6. Put disk size you want into blank box on ‘Specify Volume Size’ section and then click ‘Next’
    10

  7. 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. 11

  8. 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’.
    12
    If you want to know more about ‘Format’. Click here

  9. Check the all configurations you did in this window. and then, click ‘Finish’.
    13

  10. Close ‘Disk Management’ window.

Installation NFS Server in Server Manager

  1. press ‘Window key’ on the keyboard and put ‘Server manager’ then click ‘Server Manager’ on the list for running. 16

  2. At the Server Manager window click on ‘Manage’. then, click ‘Add Roles and Features’. 11

  3. 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’. 12

  4. Select ‘Role-vased or feature-based installation’. and click ‘Next’.
    18-1

  5. 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’.
    19

  6. 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. 20

  7. Click ‘Next’ after checking the installation information on the new pop-up window.
    21

  8. Click ‘Next’ on the returned window. 22

  9. 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.
    23

  10. Click ‘Install’ at ‘confirm installation selections’
    24

  11. Wait for a while for feature installation and click ‘Close’ after succeed it. 25

  12. Click ‘File and Storage Service’ on sidebar in Server Manager.
    52

  13. 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. 53

  14. Ckeck the server status changed to ‘online’.
    54

Configration Server for NFS in Windows Server

  1. 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’
    35

  2. Click ‘File and Storage Services’ on the sidebar. 36

  3. Select ‘To create a file share, start the New Share Wizard’ after clicking ‘Shares’ on the second sidebar. 37

  4. 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.

38

  1. 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.
    39

  2. Put ‘Shared Name’ you want(ex> NFS-Text) into blank on the box on the most top.
    40

  3. 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.
    41

  4. 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. 42

  5. Check the information that was configured on the list. and then, click ‘Next. 43

  6. Check the information about permissions at the ‘Specify permissions to control access’ and then click ‘Next’ after done.
    44

  7. Check the configure information about Server, Client on the window at the ‘Confirm selection’ section. and then, click ‘Create’ after done. 45

  8. Check the task monitoring information on the list and then, click ‘Close’ after done.
    46

  9. Check the task information that was configurated on the ‘Shares’list. 47

Installation NFS Client on Client Computer

  1. Turn on the client machine(Windows 10 Enterprise) in WMware.

  2. Press [Window Key] + R for running ‘Run’ dialog type application. 26

  3. Put ‘cmd’ into the blank box and press the ‘Enter key’ or click ‘OK’ to run the ‘CMD’ application. 27

  4. Put ‘ipconfig’ into the prompt and ‘Enter key’ to show IP configured. and check IP address.
    28

  5. put ‘ping 192.168.111.10’ and ‘Enter key’ for ping test with ‘NFS Server’
    29
    - 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. this

  6. close ‘CMD’ Application

  7. Press [Window Key] and put ‘features on’. If you can see ‘Turn windows features on or off’ click it on the list. 30

  8. Select ‘Client for NFS’ under ‘Service for NFS’ on the list at the ‘Windows Features’ pop-up window. and click ‘OK’.
    31

  9. wait for a while until appying is done. and then, click ‘Close’ 32

Setting up Client for NFS in Client Computer

  1. Press ‘Window key’ + E for openning ‘File explorer’
    33

  2. 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. 34

  3. Choose the letter of the drive, and put ‘\[server ip][share name]’ into the blank box next to ‘Folder’. and click ‘finish’ after done. 51-1
    - It is configuration without security. you can make more secure configuration through ‘Active Directory’.

  4. If it succeeded in connecting. you can see like below status in ‘File explorer’.
    55

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.
    56

Building iSCSI File Server in Windows Server 2016

Testing