Connecting to remote block storage

- [Instructor] In order to set up an initiator,…I'll switch over to the client…and install the open iSCSI package…with apt install open-iscsi.…This gives us the tools we need to set up the initiator…and mount the remote storage for use on the system.…Now I can use the iSCSI administration tool called iscsiadm…to take a look at what targets I have available…on my host machine.…I'll write iscsiadm -m discovery -t st -p 10.0.2.10.…

The -m option here sets the mode and -t sets the target.…ST here instructs the host…to send a list of available targets to the initiator…and -p is the address of the portal or the host.…In the response I see the portal,…the address of the host and the port,…in this case the default of 3260,…then comes the target designation…which we defined on the server.…If there were more than one target on the server,…we'd see an entry for them here as well.…The discovery mode gives us the names of the targets…we can connect to.…

So with the same iscsiadm command but a different mode,…we can connect.…

Resume Transcript Auto-Scroll

Author

Released

3/7/2018

Having a solid understanding of file storage is crucial for any system administrator, and essential for professionals working towards the Linux Foundation Certified Engineer (LFCE) certification. In this course, explore different ways to make storage available on a network. Instructor Scott Simpson explains how to provide Server Message Block (SMB) or Common Internet File System (CIFS) shares to clients using Samba, how to configure a Network File System (NFS) server and client, and how to configure and connect to remote block storage using iSCSI. After covering these concepts, you'll be ready to take on the network filesystems and file services section of the LFCE exam.