Jump to content











Photo
- - - - -

iScsi proxy for ImDisk

imdisk iscsi

  • Please log in to reply
No replies to this topic

#1 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 2756 posts
  • Location:Nantes - France
  •  
    France

Posted 26 July 2019 - 02:03 PM

Hi,

 

Following a recent post around ImDisk and iScsi, here comes an ImDisk proxy enabling one to mount a remote iScsi target to a logical drive.

Binary and source code is here.

Proxy uses an external library : libiscsi.

iScsi url syntax is : iscsi://[<username>[%<password>]@]<host>[:<port>]/<target-iqn>/<lun>[?<argument>[&<argument>]*] .

 

Syntax is as below 

rem launch devio is a separate process
start devio --dll=proxy.dll;dllopen shm:test_proxy iscsi://192.168.1.144/iqn.2008-08.com.starwindsoftware:erwan-pc2-test2/0
timeout 5
rem launch imdisk using the devio proxy thru sharedmemory
imdisk -a -t proxy -o shm -f test_proxy -m x:
pause
rem remove the logical drive which will effectively trigger devio termination as well
imdisk -D -m x:

Screenshots to illustrate the above

 

969N1f0.png

 

H5jD1Lk.png

 

Cheers,

Erwan


  • Olof Lagerkvist likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users