Define an iscsi target name The following example creates a target with id 1 (the iqn is 19 iqn.2001-04.com.example:storage.disk2.amiens.sys1.xyz) and adds a 20 logical unit (backed by /dev/hdc1) with lun 1. # tgtadm --lld iscsi --op new --mode target --tid 1 -T iqn.2001-04.com.example:storage.disk2.amiens.sys1.xyz To view the current configuration, enter: # tgtadm --lld iscsi --op show --mode target Sample output: Target 1: iqn.2001-04.com.example:storage.disk1.amiens.sys1.xyz System information: Driver: iscsi Status: running I_T nexus information: LUN information: LUN: 0 Type: controller SCSI ID: deadbeaf1:0 SCSI SN: beaf10 Size: 0 Online: No Poweron/Reset: Yes Removable media: No Backing store: No backing store Account information: ACL information: Add a logical unit to the target (/dev/sdb1): # tgtadm --lld iscsi --op new --mode logicalunit...
Welcome to your go-to blog for all things DevOps and cloud technologies! Dive into comprehensive guides on Red Hat certifications (RHCSA, RHCE, RHCSS, RHCVA, RHCDS, RHCA), along with essential tools like OpenStack, OpenShift, and Rancher. Learn how to streamline workflows, master Cloud Storage, and optimize virtualization with VMware. Enhance your networking skills with CCNA and explore cutting-edge practices in Linux, automation, cloud computing, and DevOps pipelines.