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 a RAMDISK based iSCSI LUN

Create a RAMDISK based iSCSI LUN

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

Start my 1-month free trial

Create a RAMDISK based iSCSI LUN

- [Instructor] This will be a quick tutorial on creating a memory-backed RAMDISK-based iSCSI LUN. If you want more details, visit chapter two, which goes over each step of setting up a target for Bosly. Make sure you have your rhhost2 VM booted up. Also, make sure your rhhost1 VM is booted, you are logged in, and have a terminal open. We need to find out how much RAM we have for our RAMDISK; to do this, type in free, space, dash, m, and hit Enter. This shows I have about 300 megabytes free. With this in mind, I will create a 100-megabyte RAMDISK. If you have more RAM available, you can make it larger if you wish. Type in clear, and then to start target CLI, type in sudo, space, targetcli, and hit Enter. Type in your password if prompted. We'll wanna make sure that we're in the root, so type in cd, space, slash. Now let's create a RAMDISK-based backstore. Type in slash, backstores, slash, ramdisk, space, create, space, name equals ram1, space, size equals 100 capital MB, and hit Enter.…

Contents