For certain situations where IO speed is important, you may want to create a ramdisk backed backstore for export. In this video, create a 100MB ramdisk in ram as a backstore. Add it to your target using a LUN and export it to your initiator.
- [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.…Verify with ls.…
Here we see our ram1 backstore…
- What is iSCSI?
- Creating iSCSI backstores
- Configuring ACL and firewall credentials
- Configuring targets and initiators
- Partitioning and mounting drives
- Creating iSCSI LUNs