I love RAM DISK and have been using it for quite some time on my Windows 10. But I didn’t know that I can set it up as well on Windows Server, thanks to Mounia Rachidi for sharing. Would definitely try some day.
Here is a step-by-step Walkthrough:
- Add iSCSI Target Server role on Windows Server.
- Adjust the firewall rules to allow iSCSI service to go through.
- Add a registry value AllowLoopBack = 1 to HKLM\Software\Microsoft\iSCSI TargetĀ to make sure the iSCSI Target allows the LoopBack mode
- Create a virtual disk as a RAMDisk
New-IscsiVirtualDisk -Path "ramdisk:testRAM.vhdx" -Size 1GB
- Create a target iSCSI
New-IscsiServerTarget -TargetName targetRAM -InitiatorIds @("IPAddress:X.X.X.")
- Launch the iSCSI Initiator for the Server Manager console.
- Connect to the iSCSI target created in Step 5.
Sounds like a very interesting idea to set up a RAMDisk through iSCSI target.
Like all the other articles on this subject, you leave out critical info. In “Create a target iSCSI” you’ve got “New-IscsiServerTarget -TargetName targetRAM -InitiatorIds @(“IPAddress:X.X.X.”)”
What must those X.X.X values be in @(“IPAddress:X.X.X.”) ? WHAT IP address must you use?