LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   can't see iSCSI with lsblk (https://www.linuxquestions.org/questions/linux-general-1/cant-see-iscsi-with-lsblk-4175735059/)

mierdatuti 03-19-2024 04:26 AM

can't see iSCSI with lsblk
 
I've configured a freeNas with iSCSI and two nodes connecting to that device. Everithing it's ok but after reboot I can't see with lsblk:

Code:

lsblk
NAME          MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda            8:0    0  35G  0 disk
├─sda1          8:1    0    1G  0 part /boot
└─sda2          8:2    0  34G  0 part
  ├─rhel-root 253:0    0 30,5G  0 lvm  /
  └─rhel-swap 253:1    0  3,5G  0 lvm  [SWAP]
sr0            11:0    1  4,2G  0 rom

iscsiadm -m discovery -t st -p 192.168.1.171
192.168.1.171:3260,1 iqn.2005-10.org.freenas.ctl:controlm

More info:

Code:

iscsiadm -m session -P 3
iSCSI Transport Class version 2.0-870
version 6.2.0.874-22
Target: iqn.2005-10.org.freenas.ctl:controlm (non-flash)
        Current Portal: 192.168.1.171:3260,1
        Persistent Portal: 192.168.1.171:3260,1
                **********
                Interface:
                **********
                Iface Name: ens36
                Iface Transport: tcp
                Iface Initiatorname: iqn.1994-05.com.redhat:1539a5acd564
                Iface IPaddress: 192.168.1.151
                Iface HWaddress: <empty>
                Iface Netdev: <empty>
                SID: 1
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: LOGGED_IN
                Internal iscsid Session State: NO CHANGE
                *********
                Timeouts:
                *********
                Recovery Timeout: 120
                Target Reset Timeout: 30
                LUN Reset Timeout: 30
                Abort Timeout: 15
                *****
                CHAP:
                *****
                username: <empty>
                password: ********
                username_in: <empty>
                password_in: ********
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 262144
                MaxXmitDataSegmentLength: 131072
                FirstBurstLength: 131072
                MaxBurstLength: 16776192
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 33 State: running
                scsi33 Channel 00 Id 0 Lun: 0
                        Attached scsi disk sdb          State: running

Thanks


All times are GMT -5. The time now is 08:41 AM.