This post will show you with How to Access or Map iSCSI LUN Volume on Linux Server.
iSCSI Initiator are at the client end utility which we use to authenticated with iSCSI target servers to access the LUNs shared from target server.
We can deploy any kind of Operating systems in those locally mounted Disks, just a single package need to be install to get authenticate with target server.
Before that we should have iSCSI Lun or Volume to be provided from iSCSI Storage target.
Lets assume that we had configured already iSCSI Target Server, if not please go through our other document to install and configure iSCSI Target server.
So we require iscsi-initiator-utils packages to be installed on the client where we are going to access or mount the iSCSI lun or Volume from iSCSI storage server to the client.
You will see the output of IQN number. Select the iqn number which one you need to access or mount.
If you are able to see the new disk device, then you are done with the scanning the new lun device. Just go for creating new partition and mount the volume as per the requirement.
Stay connected with us on social networking sites, Thank you.
Before that we should have iSCSI Lun or Volume to be provided from iSCSI Storage target.
Lets assume that we had configured already iSCSI Target Server, if not please go through our other document to install and configure iSCSI Target server.
So we require iscsi-initiator-utils packages to be installed on the client where we are going to access or mount the iSCSI lun or Volume from iSCSI storage server to the client.
If you are interested in learning, Request you to go through the below recommended tutorial.
DevOps Full Course Tutorial for Beginners - DevOps Free Training Online
Docker Full Course Tutorial for Beginners - Docker Free Training Online
Kubernetes Full Course Tutorial for Beginners - Kubernetes Free Training Online
Ansible Full Course Tutorial for Beginners - Ansible Free Training Online
Openstack Full Course Tutorial for Beginners - Openstack Free Training Online
Docker Full Course Tutorial for Beginners - Docker Free Training Online
Kubernetes Full Course Tutorial for Beginners - Kubernetes Free Training Online
Ansible Full Course Tutorial for Beginners - Ansible Free Training Online
Openstack Full Course Tutorial for Beginners - Openstack Free Training Online
How to Access or Map iSCSI LUN Volume on Linux Client.
Step 1 : Install iscsi-initiator-utils package
[root @selva ~]# yum install iscsi-initiator-utils
Step 2 : Start the iscsi service
[root @selva ~]# /etc/init.d/iscsi start
Step 3 : Discover target, replace with your iSCSI Target server IP Address
[root @selva ~]# iscsiadm -m discovery -t sendtargets -p 192.168.2.1
You will see the output of IQN number. Select the iqn number which one you need to access or mount.
[root @selva ~]# iscsiadm -m node -T iqn.2014-07.com.learnitguide:tgt1 -p 192.168.2.1 -l
Step 4 : # Run dmesg, fdisk -l or log messages to get the device name for the new device. (e.g. /dev/sdb).
[root @selva ~]# dmesg
[root @selva ~]# tail /var/log/messages
[root @selva ~]# fdisk -l
If you are able to see the new disk device, then you are done with the scanning the new lun device. Just go for creating new partition and mount the volume as per the requirement.
Related Content on Linux might be useful to you to improve your Linux Skills.
How to Configure IP Address on Ubuntu using Netplan
How to Access Linux Server from Windows Remotely
Configure SSH Passwordless Login Authentication (SSH-keygen)
How to Create LVM Partition in Linux – LVM Tutorial
Install & Configure Samba Server on Linux (RHEL7 / CentOS7)
How to Access Linux Server from Windows Remotely
Configure SSH Passwordless Login Authentication (SSH-keygen)
How to Create LVM Partition in Linux – LVM Tutorial
Install & Configure Samba Server on Linux (RHEL7 / CentOS7)
Keep practicing and have fun. Leave your comments if any.
Support Us: Share with your friends and groups.Stay connected with us on social networking sites, Thank you.
0 تعليقات