NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
e_John
May 01, 2014Aspirant
iSCSI not connecting upon wake-up
Hi all. I am running ReadyNAS 2120 with the latest OS, and connecting iSCSI to Windows Server 2008R2, as the E: drive on the server. I have the ReadyNAS schedule to go down several times each week...
mangrove
May 05, 2014Apprentice
To refresh the target and connect all iSCSI targets, use:
To disconnect all iSCSI targets, use:
Powershell not needed.
iscsicli refreshtargetportal your.ip.or.host.name.here 3260
for /f %%i in ('iscsicli ListTargets ^| find "iqn"') do iscsicli QLoginTarget %%i
To disconnect all iSCSI targets, use:
for /f "tokens=3 delims=: " %%i in ('iscsicli SessionList ^| find "Session Id"') do iscsicli LogoutTarget %%i
Powershell not needed.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!