6.7. Creating a Memory Copy RAM disk storage object
Memory Copy RAM disks (ramdisk) provide RAM disks with full SCSI emulation and separate memory mappings using memory copy for initiators. This provides capability for multi-sessions and is particularly useful for fast and volatile mass storage for production purposes.
Prerequisites
-
Installed and running
targetcli. For more information, see Installing targetcli.
Procedure
Navigate to the
ramdisk/from thebackstores/directory:/> backstores/ramdisk/Create a 1GB RAM disk backstore:
/backstores/ramdisk> create name=rd_backend size=1GB Created ramdisk rd_backend with size 1GB.
Verification
Verify the created
ramdiskstorage object:/backstores/ramdisk> ls