Join Robert McMillen for an in-depth discussion in this video Configure Network File System (NFS) data store, part of Windows Server 2012 R2: Configure File and Storage Solutions.
- Let's talk a little about NFS. NFS is something that Microsoft has created as a link between a Windows server and a UNIX or Linux server. And what happens is when a Windows computer tries to communicate with a Linux or UNIX server for file-sharing, is that it has to go through a completely different set of rules for communicating for security. That could leave you deficient in the area of Sarbanes-Oxley or HIPAA compliance, so Microsoft found a way to make this work that makes it secure and easier for the Windows users to be able to access those shares.
So I thought that's pretty neat and I think you should know about it. So let's start by installing NFS. So we're going to go to our dashboard and we're going to install a particular role. Add Roles and Features. Next. Next. On our server. And we want to expand our File and Storage Services. Expand the next line down, File and ISCSI Services until you find Server for NFS.
Now when you click that, a new box pops up saying go ahead and install these features as well. Yes. Let's do that. Click Next. Click Next. And click Install. Fairly easy. It's quick. You don't have to reboot the server, which is great, and creating the shares is really simple. So let's go ahead and let the feature installation finish and then we'll create our first NFS share. Alright, so now what we're going to do is click on the File and Storage Services, and here click on Shares.
Go to the Tasks menu and click on New Share. From here, we're going to see the NFS Share. Now if you see this option but it's greyed out, it means that you forgot to install the NFS feature that we just installed, so go back and do that and then this will be ready for you to add. Let's go ahead and click Next. So we're going to go ahead and choose our particular server here as the one that is going to be shared through from the Linux server.
Click Next. Alright, now we need a Share name. So let's just call it UnixShare. Alright, and we'll click Next. Now, this is a really important part because you need to understand your Linux or UNIX server and that's going to go beyond the scope of this particular video. So you may not know which type of Kerberos your Linux or UNIX is running. So just for this particular video, we're going to put in No server authentication. Now this is not a secure way to go.
It's not the way I recommend it to go, but just for demonstration purposes this is what we're going to do. We're also going to allow unmapped user access as well. Now we're going to add permissions. So, we can type in the IP address of the Linux or UNIX server here, but instead we're going to click All Machines, and click Add. And, by default, these are the rights that people have. If we want, we can click on Customize Permissions, and we can click Add and Select a principal.
So I'm just going to go ahead and put in users. Check Names. Click OK. And we're going to say give users full control. Maybe it's not something you want to do, but just for demonstration purposes it's fine. Click OK. Now we'll click Next. And we will click Create. And now we're done. So now we have a link back to a Linux or UNIX server where we're sharing those files directly through our Server 2012.
These tutorials will help prepare MCSA and MCSE candidates for the Configuring Advanced Windows Server 2012 Services exam (70-412). The topics covered here map to the "Configure File and Storage Solutions" domain of the exam.
- Disk formatting and file manipulation via the command line
- Configuring NFS, BranchCache, and File Classification Infrastructure (FCI)
- Viewing file access permissions
- Implementing Dynamic Access Control (DAC)
- Configuring iSCSI targets and initiators
- Managing free space on the server
- Configuring tiered storage
- Deduplicating data
- Storing data on Hyper-V
- Extending and shrinking partitions
- Working with DFS
- Configuring RAID storage
- Creating file shares