ISCSI storage Creation on Netapp ONETAP

From Notes_Wiki
Revision as of 12:54, 12 September 2025 by Akshay (talk | contribs) (Created page with "Home > Storage server > NetApp OneTap > iSCSI storage Creation on Netapp ONETAP = Configuring iSCSI Storage in NetApp ONTAP = Before getting started, you need to create a Storage Virtual Machine (SVM). This can be either: * A dedicated SVM for iSCSI storage, or * A single SVM configured to support multiple protocols. For detailed steps on creating an SVM, please refer to the article: Creating SVM in NetApp Storage == iSCSI Configuratio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > Storage server > NetApp OneTap > iSCSI storage Creation on Netapp ONETAP

Configuring iSCSI Storage in NetApp ONTAP

Before getting started, you need to create a Storage Virtual Machine (SVM). This can be either:

  • A dedicated SVM for iSCSI storage, or
  • A single SVM configured to support multiple protocols.

For detailed steps on creating an SVM, please refer to the article: Creating SVM in NetApp Storage

iSCSI Configuration Steps

1. Once the SVM is created with iSCSI enabled, navigate to Storage → LUNs and click +Add.

2. In the Add LUNs window:

  • Provide a name for the LUN.
  • Specify the number of LUNs required.
  • Enter the capacity per LUN.

3. Select the Host Operating System and LUN format based on your client OS.

4. Provide the IQN ID of the client machine and click Save.

Finding the IQN on Client Machines

On Ubuntu

 
sudo apt-get update 
sudo apt-get install open-iscsi 
sudo systemctl start open-iscsi 
sudo systemctl enable open-iscsi 
sudo cat /etc/iscsi/initiatorname.iscsi 

1. Locate the line starting with InitiatorName.

2. The value beginning with iqn.xxx.xxxx.xxxxx.xxxx is the IQN ID.

On CentOS / Rocky

 
sudo dnf install iscsi-initiator-utils 
sudo systemctl start iscsid 
sudo systemctl enable iscsid 
sudo cat /etc/iscsi/initiatorname.iscsi 

1. Locate the line starting with InitiatorName.

2. The value beginning with iqn.xxx.xxxx.xxxxx.xxxx is the IQN ID.

On Windows

1. Press Win + R, type iscsicpl, and press Enter.

2. If prompted to start the iSCSI service, click Yes.

3. In the iSCSI Initiator Properties window → General tab, look for Initiator Name.

4. This value (e.g., iqn.1991-05.com.microsoft:hostname) is the IQN for your Windows machine.

Connecting to the iSCSI Target (Linux Clients)

After adding the client’s IQN ID on the NetApp side, run the following commands to mount the LUNs/Storage.

On Ubuntu / Rocky

1. Discover the target:

 
sudo iscsiadm -m discovery -t sendtargets -p <Target_IP> 

2. Log in to the iSCSI target:

 sudo iscsiadm -m node -T <Target_Name> -p <Target_IP> --login 

3. Make the login persistent across reboots (optional):

 sudo iscsiadm -m node -T <Target_Name> -p <Target_IP> --op update -n node.startup -v automatic 

Home > Storage server > NetApp OneTap > iSCSI storage Creation on Netapp ONETAP