NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

jdfoxmicro's avatar
Mar 29, 2018

ReadyNAS - view connected iSCSI clients

Hello,

 

Does anyone know how to view currently connected iSCSI clients in ReadyNAS OS 6?

 

 

3 Replies

Replies have been turned off for this discussion
  • evan2's avatar
    evan2
    NETGEAR Expert

    jdfoxmicro

    run below command in backend.

    cat /sys/kernel/config/target/iscsi/iqn.1994-11.com.netgear:nas-dfang-626x:0488128d:group1/tpgt_1/dynamic_sessions

    Note: /iqn.1994-11.com.netgear:nas-dfang-626x:0488128d:group1 is iSCSI target on your NAS.

    • Thanks for the reply.  I found the file file, and it's 4,096 bytes, but it appears to be just filled with zeros.  cat and tail both output nothing.  The file's date/time stamp is updated every few minutes, so something is happening!

      • evan2's avatar
        evan2
        NETGEAR Expert

        Could do please run command "netstat -anlp | grep 3260" to check which client is connecting to your iSCSI target?

        Below is example on my NAS, 

        root@RN422-Ted:/sys/kernel/config/target/iscsi/iqn.1994-11.com.netgear:rn422-ted:5dd870b2:group1/tpgt_1# netstat -anlp | grep 3260

        tcp 0 0 192.168.1.11:3260 0.0.0.0:* LISTEN -
        tcp 0 0 192.168.1.2:3260 0.0.0.0:* LISTEN -
        tcp 0 0 192.168.1.2:3260 192.168.1.4:49665 ESTABLISHED -

         

        192.168.1.2:3260 is my NAS,

        192.168.1.4:49665 is Client, 

NETGEAR Academy

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

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More