HomeMicrosoftHow to Connect iSCSI Target Server 2022

How to Connect iSCSI Target Server 2022

Windows Server 2022 includes a built-in tool called the iSCSI Initiator for connecting to an iSCSI target server. In this guide, we’ll walk through the process of enabling and configuring the iSCSI initiator to connect to an iSCSI target.

To read more about it, please click here iSCSI Target Server Overview

To read more about it, please click here iSCSI Target Server Overview

Step 1: Launch iSCSI Initiator

  1. Open Server Manager:
    • In the Server Manager, go to the Tools menu and select iSCSI Initiator.
  2. Start the iSCSI Service:

You may receive a notification indicating that the Microsoft iSCSI service is not running. Click Yes to start the service and ensure that it will start automatically on system restart.

Server Manager

As you can see, Microsoft iSCSI indicates that the Microsoft iSCSI service is not running. The iSCSI service must be started if the iSCSI initiator is to function correctly. Click the Yes button to enable the service, and it will ensure that it starts automatically every time Windows is restarted.

iSCSI service is no running

Step 2: Configure iSCSI Initiator

  1. iSCSI Initiator Properties:
    • Once the iSCSI service is running, you need to configure the initiator. Open the iSCSI Initiator Properties window, then select the Discovery tab.
  2. Discover Portal:
    • Click the Discover Portal button. Enter the IP address of the iSCSI target (the default port is 3260), then click the Advanced button.
  3. Configure Advanced Settings:
    • Ensure that the Local Adapter is set to Microsoft iSCSI Initiator and the Initiator IP is the target server’s IP. Click OK twice to save and close the windows.
  4. Connect to the Target:
    • Return to the Targets tab of the iSCSI Initiator Properties window. Select the discovered target and click Connect.
  5. Connection Successful:
    • Once connected, you should see the target listed as connected.
Connect iSCSI initiator properties discovery

In the discovery target portal, type the IP address (the default port is 3260). Click on the Advanced button.

Discovery target portal iSCSI

Make sure the Local Adapter settings are Microsoft iSCSI Initiator, and the Initiator is Target IPs. Click ok twice

Discover target portal iSCSI advanced

Select the iSCSI initiator, and then select the Connect button.

connect iSCSI Target Server

The iSCSI initiator should discover the iSCSI target, and then click OK.

Connect to target name iSCSI

Now the iSCSI target is connected.

Connect to target name iSCSI

Step 3: Enable iSCSI Initiator using PowerShell

Alternatively, you can enable the iSCSI initiator service using PowerShell:

  1. Start the iSCSI Service:
    • Open PowerShell and run the following command to start the iSCSI service:

powershell
Copy code
Start-Service msiscsi

  1. Set Service to Start Automatically:
    • Change the startup type of the service to automatic:

powershell
Copy code
Set-Service msiscsi -StartupType “Automatic”

Server manager tools

Click on Disk Management from the left panel. Right-click on the disk whose size equals that of your LUN, and then select Online.

Disk management disk online

Again, right-click on the disk, and then select Initialize Disk.

Disk management initialize disk

Click OK, and the disk status will become online.

Initialize disk

Step 4: Initialize and Configure the Disk

  1. Open Disk Management:
    • Go to Tools in the Server Manager and select Computer Management, or type compmgmt.msc in the Run dialog to open the Computer Management console.
  2. Bring Disk Online:
    • In Disk Management, right-click on the disk that corresponds to your LUN, and select Online.
  3. Initialize the Disk:
    • Right-click on the disk again and choose Initialize Disk. Select the partition style (usually MBR or GPT) and click OK.
  4. Create a New Volume:
    • Right-click on the unallocated space of the disk, and select New Simple Volume.
  5. Complete Volume Wizard:
    • Follow the wizard:
      • Choose the volume size, click Next.
      • Assign a drive letter, click Next.
      • Format the partition, provide a label, and click Finish.
  6. New Volume Created:

Once complete, the new volume will be available in Windows Explorer with the assigned drive letter.

Disk management create partition

Click next

Welcome to new simple volume

Click next

New simple volume size

Assign the drive letter, and then click next.

New simple volume assign letter

Type a volume label and click next.

New simple volume format partition

Click Finish

New simple volume wizard

Now Windows has an additional volume with the drive letter as extra storage.

Computer management

Conclusion

By following these steps, you have successfully connected your Windows Server 2022 to an iSCSI target server and configured a new volume using the built-in iSCSI initiator. You now have additional storage accessible in your system.

Jamil
Jamilhttp://jamiltech.com
A Professional Technology Blog Writer | An energetic professional with more than 20+ years of rich experience in Technology, Planning, Designing, Installation, and Networking.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments

Aluminium recycling tracking on How to Add Hyper-V Server Altaro VM Backup
تيشرتات اوفر سايز 2025 on How to Add NAS Backup Repository Veeam
화곡동출장마사지 on How to Backup and Restore IIS Configuration
what is cryptocurrency and bitcoin on How to Backup and Restore IIS Configuration
경기광주출장안마 on How to Backup and Restore IIS Configuration
영등포출장마사지 on How to Backup and Restore IIS Configuration
Twalsu light mirror for vanity on How to Backup and Restore IIS Configuration
fitspresso analysis on How to Reset Microsoft 365 Password
historical landmarks tours for history buffs on How to Add Hyper-V Server Altaro VM Backup
9780443186882 PDF download on How to Migrate Active Directory 2012 to 2022
Shaik Mohammad Jaheer on How to Enable Night Light on Windows 11