From the course: Linux System Engineer: iSCSI Storage Area Networks

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Create an LVM based iSCSI LUN

Create an LVM based iSCSI LUN

From the course: Linux System Engineer: iSCSI Storage Area Networks

Start my 1-month free trial

Create an LVM based iSCSI LUN

- [Instructor] This will be a quick tutorial on creating an LVM-based iSCSI LUN. If you want more details on each step, visit chapter two. You may also want to watch the course titled RHCE Cert Prep: Advanced Disk Systems and System Backup in the course library as it covers in depth how to manage LVM volumes. Make sure your rhhost2 VM is booted. Also make sure your rhhost1 VM is booted, you're logged in, and have a terminal open. Let's verify that we have a partition that we can use by typing in lsblk. I see my /dev/sdb2 partition which we set up in a previous video. I will use this for my LVM logical volume. Type in clear, and then type in sudo, space, pvcreate, space, /dev/sdb2 and hit Enter. Type in your password if prompted. Then create a volume group by typing in sudo, space, vgcreate, space, vgiscsi, space, /dev/sdb2 and hit Enter. Lastly, we'll create the logical volume by typing in sudo, space, lvcreate, space, -n lviscsi, space, -l 100%VG, space, vgiscsi. And hit Enter. This…

Contents