Whenever we setup a Cluster in a LAB environment, often the biggest challenges in the whole process is, how to configure the storage server. A user reported that, the configuration steps mentioned on my blog for the FreeNAS server is no more valid for the latest version of the software. With Windows Server 2012, we get the Storage server functionality built into the Windows Operating System. In this post, we are going to build a storage server using Windows Server 2012 R2 evaluation software.
Installing the iSCSI Target Service
To install the iSCSI Target Service, Open the Server Manager, Click on Manage, and select Add Roles and Features. Select Role-based or Feature-based Installation on the Select Installation Type page, choose the list of servers where we want to deploy this service. On the Server Roles page, expand File and Storage Services, expand File and iSCSI Services and select iSCSI Target Server. Click on Install, in the next page to start the iSCSI Target Server installation.
Create the volume using File and Storage Services
I have already added 3 disks to the server. Open Server Manager, go to File and Storage Services and select Storage Pools. Click on the Tasks as highlighted below, and select New Storage Pool.
Specify a name for the storage Pool, in my case I have given a name as Local SAN and select the list of disks you wanted to add into this storage pool. The confirmation page of this Storage Pool creation is shown below. Click on the Create button to start the storage pool creation.
Once the storage pool is created, let’s create a virtual disk from this Storage Pool. Click on the Task button,below Virtual Disk and select New Virtual Disk wizard. In the Storage Pool selection page, select the newly created storage pool. Provide a name for the virtual disk, (optionally) along with a description of the virtual disk. Select the storage layout (simple/Mirror/Parity) and Provisioning type (Thin/Fixed) along with size of the disk. Click on Create to create the virtual disk. Select the checkbox on the result page to start the New volume wizard.
Once the New Volume wizard started, select the newly created disk on the Server and Disk page. Specify the size of the volume, assign drive letter (if any, else use as a mount point), mention the allocation unit size, volume level (if any) and create the volume.
Since the volume is now created, in the next post we are going to configure the iSCSI Target software to share the disks for the other servers.
Happy Learning !!!