After you have logged into the target with your initiator, partition the exported raw device, format it, and manually mount it. Then, create an /etc/fstab entry for it so it is mounted automatically at boot. Use the UUID address for the resource so it never changes.
- Now that we have our drive exported from rhhost1,…and accessible in rhhost2, we will put a partition…on it, format it, and mount it by a UUID number.…In order to do this, make sure your rhhost2…vm is booted and you're logged in.…Also make sure your rhhost1 vm is running as well.…Let's also verify that we still…have access to the iscsi drive.…In the terminal, type "sudo lsblk --scsi" and hit enter.…If you see the iscsi device you can proceed.…If you do not see it, you'll want to go back…to the previous video, and follow the steps…in logging into the target.…
My device is /dev/sdb, but if yours is…different, take note of that now.…The device name is only important temporarily.…As you may recall in chapter one,…it's not recommended that you use…device major minor numbers, or device names…such as /dev/sdb when mounting iscsi devices.…These names can change depending on different factors.…We will address our drives by UUID later.…Let's begin by adding a partition…to our drive, and formatting it.…Type in "clear" and then type in…
- What is iSCSI?
- Creating iSCSI backstores
- Configuring ACL and firewall credentials
- Configuring targets and initiators
- Partitioning and mounting drives
- Creating iSCSI LUNs