is there an API or command line interface for RAM Disk?

Initiator (iSCSI, FCoE, AoE, iSER and NVMe over Fabrics), iSCSI accelerator and RAM disk

Moderators: anton (staff), art (staff), Anatoly (staff), Max (staff)

Post Reply
Ken_SF
Posts: 1
Joined: Fri Aug 07, 2020 9:15 pm

Fri Aug 07, 2020 9:19 pm

I am evaluating StarWind's RAMdisk and wonder if there is an API or command line interface?

I would like to be able to create a RAMDisk, stop a RAMDisk (eject it or close it) programmatically or with a script. I would also like the ability to save the RAMDisk in a binary format of somekind and restore a previously saved RAMDisk.

I program in both c++ and Powerbasic.

Thanks in advance.

Ken
yaroslav (staff)
Staff
Posts: 3084
Joined: Mon Nov 18, 2019 11:11 am

Mon Aug 10, 2020 3:49 pm

Hi, I think that this KB might be useful https://knowledgebase.starwindsoftware. ... -disk-sdk/.
Consider also creating RAM disk in StarWind VSAN https://www.starwindsoftware.com/help/R ... evice.html. There should be CreateRam.ps1 in C:\Program Files\StarWind Software\StarWind\StarWindX\Samples\powershell that helps you to create a RAM disk in PowerShell.
Jonas
Posts: 2
Joined: Tue Oct 13, 2020 6:11 am

Tue Oct 13, 2020 6:16 am

the ramdisk sdk seems to help a lot - but i can't find any information about how i can get the sdk.

Yaroslav, can you please help me here?
yaroslav (staff)
Staff
Posts: 3084
Joined: Mon Nov 18, 2019 11:11 am

Tue Oct 13, 2020 7:48 am

Hey, https://tmplink.starwind.com/StarRAMSDK-20170208.zip. Here is where you can get SDK.
Jonas
Posts: 2
Joined: Tue Oct 13, 2020 6:11 am

Tue Oct 13, 2020 8:23 am

yaroslav (staff) wrote:Hey, https://tmplink.starwind.com/StarRAMSDK-20170208.zip. Here is where you can get SDK.

thanks a lot.
I did not realize that i'd net admin rights though. :(

Is there any way I can get around that?
yaroslav (staff)
Staff
Posts: 3084
Joined: Mon Nov 18, 2019 11:11 am

Fri Oct 16, 2020 10:03 am

See if you can make use of this forum thread https://superuser.com/questions/1074149 ... in-account.
Post Reply